Skip to main content

Set storage efficiency mode during volume creation

Contributors netapp-lenida netapp-ahibbard

Beginning with ONTAP 9.10.1, you can set the storage efficiency mode when creating a new AFF volume. Using the parameter -storage-efficiency-mode, you can specify whether the volume uses either the efficient mode or the default performance mode. The two modes provide a choice between file compression (default), which is the default mode when new AFF volumes are created, or temperature-sensitive storage efficiency (efficient), which enables temperature-sensitive storage efficiency. The -storage-efficiency-mode parameter 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 choices 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