Set storage efficiency mode during volume creation
Beginning with ONTAP 9.10.1, you can set the storage efficiency mode when creating a new AFF volume.
You can control the storage efficiency mode on a new AFF volume using the parameter -storage-efficiency-mode
. The volume can be configured to use either the efficiency mode or the default performance mode. The two modes provide a choice between file compression or temperature-sensitive storage efficiency. File compression is the default mode when new AFF volumes are created. Temperature-sensitive storage efficiency enables temperature-sensitive storage efficiency. Note the parameter -storage-efficiency-mode
is not supported on non-AFF volumes or on data protection volumes.
You can perform this task using ONTAP System Manager or the ONTAP CLI.
Beginning with ONTAP 9.10.1, you can use System Manager to enable higher storage efficiency using the temperature-sensitive storage efficiency feature. Performance-based storage efficiency is enabled by default.
-
Click Storage > Volumes.
-
Locate the volume on which you want to enable or disable storage efficiency, and click .
-
Click Edit > Volumes, and scroll to Storage Efficiency.
-
Select Enable Higher Storage Efficiency.
To set temperature-sensitive storage efficiency mode when creating a new volume, you can use the -storage-efficiency-mode
parameter with the value efficient
.
-
Create a new volume with efficiency mode enabled:
volume create -vserver <vserver name> -volume <volume name> -aggregate <aggregate name> -size <volume size> -storage-efficiency-mode efficient
volume create -vserver vs1 -volume aff_vol1 -aggregate aff_aggr1 -storage-efficiency-mode efficient -size 10g
Performance mode is set by default when you create new AFF volumes with storage efficiency. Although not required, you can optionally use the default
value with the -storage-efficiency-mode
parameter when you create a new AFF volume.
-
Create a new volume using the performance storage efficiency mode, 'default':
volume create -vserver <vserver name> -volume <volume name> -aggregate <aggregate name> -size <volume size> -storage-efficiency-mode default
volume create -vserver vs1 -volume aff_vol1 -aggregate aff_aggr1 -storage-efficiency-mode default -size 10g