Skip to main content

Set storage efficiency mode during volume creation

Contributors netapp-lenida dmp-netapp netapp-aherbin netapp-ahibbard

Beginning with ONTAP 9.10.1, you can set the storage efficiency mode when creating a new AFF volume.

About this task

You can control the storage efficiency mode on a new AFF volume using the parameter -storage-efficiency-mode. You can choose between two options to set the storage efficiency mode: default or efficient. The storage efficiency mode you choose depends on whether you want greater performance or higher storage efficiency on the volume. Note the parameter -storage-efficiency-mode is not supported on non-AFF volumes or on data protection volumes.

Steps

You can perform this task using ONTAP System Manager or the ONTAP CLI.

System Manager

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.

  1. Click Storage > Volumes.

  2. Locate the volume on which you want to enable or disable storage efficiency, and click Menu options icon.

  3. Click Edit > Volumes, and scroll to Storage Efficiency.

  4. Select Enable Higher Storage Efficiency.

CLI
Create a new volume using efficient mode

To set temperature-sensitive storage efficiency mode when creating a new volume, you can use the -storage-efficiency-mode parameter with the value efficient.

  1. 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
Create a new volume using performance mode

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.

  1. 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