You activate quotas to turn quotas on and read the quotas file. You activate quotas using the quota on command, for one volume at a time.
Before you begin
If the quotas file contains user quotas that use Windows IDs as targets, CIFS must be running when you activate quotas.
- Enter the following command:quota on [-w] vol_name
The -w option causes the command to return only after the entire quotas file has been scanned (synchronous mode). This is useful when activating quotas from a script.
The following example activates quotas on a volume named vol2:quota on vol2
Quota reinitialization is started for the specified volume. Quota reinitialization can take some time, during which storage system data is available, but quotas are not enforced for the specified volume.
When quota initialization is complete, quotas are on for the specified volume. This procedure does not modify or initialize quotas for any other volume.
After you finish
If a quota initialization is still running when the storage system is upgraded, Data ONTAP terminates the quota initialization, which must be manually restarted from the beginning. For this reason, you should allow any running quota initialization to complete before upgrading your storage system.