Subscribe

ONTAP Recipes: Assign a LUN or file to an adaptive QoS policy

[ Edited ]

Did you know that…

 

You can easily assign a LUN or file to an adaptive quality-of-service (QoS) policy?

 

Complete the following step in the NetApp ONTAP CLI: 

 

  • During LUN creation, assign an adaptive QoS policy:
    lun create -volume vol1 -lun lun1 -size 1TB -ostype windows -qos-adaptive-policy-group extreme
  •  For existing LUNs, you can modify or assign an adaptive QoS policy:
     lun modify -volume vol1 -lun lun1 -qos-adaptive-policy-group performance
  • For existing files, you can modify or assign an adaptive QoS policy:
    file modify -vserver vs0 -volume vol1 -file file1 -qos-adaptive-policy-group value

 

There are three default adaptive QoS policies in ONTAP as well as the ability to create custom policies:

::> qos adaptive-policy-group show

                           Expected    Peak

Name        Vserver Wklds  IOPS        IOPS

----        ------- -----  --------    ----

extreme     cluster 0      6144IOPS/TB 12288IOPS/TB

performance cluster 0      2048IOPS/TB 4096IOPS/TB

value       cluster 0      128IOPS/TB  512IOPS/TB

 

Note: When a LUN or file is assigned to an adaptive QoS policy, the IOPS allocated is set based on the size and the amount of space used.

 

For a 1TB LUN assigned to the performance policy, the floor and ceiling start at 2,048 IOPS. As more space is used in the LUN the ceiling increases automatically to a maximum of 4,096 IOPS.

 

For a small LUN, a fixed absolute minimum number of IOPS is allocated. For example, if a 20GB LUN is assigned to the performance policy, the floor and ceiling are set to 500 IOPS.

 

The three default adaptive QoS policies provide the following absolute minimum number of IOPS:

  • Extreme: 1,000 IOPS
  • Performance: 500 IOPS
  • Value: 75 IOPS

 

For more information about ONTAP, visit the ONTAP 9 Documentation Center