Skip to main content

Commands to manage quota rules and quota policies

Contributors netapp-ahibbard netapp-mwallis netapp-dbagwell netapp-aherbin

The volume quota policy rule commands enable you to configure quota rules, and the volume quota policy commands and some vserver commands enable you to configure quota policies. Depending on what you need to do, use the following commands to manage quota rules and quota policies:

Note You can run the following commands only on FlexVol volumes.

Commands for managing quota rules

If you want to…​ Use this command…​

Create a new quota rule

volume quota policy rule create

Delete an existing quota rule

volume quota policy rule delete

Modify an existing quota rule

volume quota policy rule modify

Display information about configured quota rules

volume quota policy rule show

Commands for managing quota policies

If you want to…​ Use this command…​

Duplicate a quota policy and the quota rules it contains

volume quota policy copy

Create a new, blank quota policy

volume quota policy create

Delete an existing quota policy that is not currently assigned to a storage virtual machine (SVM)

volume quota policy delete

Rename a quota policy

volume quota policy rename

Display information about quota policies

volume quota policy show

Assign a quota policy to an SVM

vserver modify -quota-policy policy_name

Display the name of the quota policy assigned to an SVM

vserver show

See the ONTAP command reference for each command for more information.