How to configure quotas?
Applies to
- ONTAP 9
- Quota
Description
Quotas can be configured to allow specific users, groups or qtrees a specific disk limit or number of files limit.
It is recommended to have a tracking quota on volumes with more specific quotas. This allows to add and remove rules without disabling/enabling quota afterwards as resize
suffices.
If no volume quota is set for the volume, resize
and on
fail:
::> vol quota resize -vserver vs1 -volume
volume
(volume quota resize)
Error: command failed: No valid quota rules found in quota policy default for
volume volume in Vserver vs1.
::> vol quota on -vserver vs1 -volume
volume
(volume quota on)
Error: command failed: No valid quota rules found in quota policy default for
volume volume in Vserver vs1.
For these commands to work, the Vserver must have at least one policy, and the policy has to have a rule that applies to the volume.