Deleting quotas
About quota deletion
You can remove quota restrictions for a quota target in two ways:
- Delete the /etc/quotas entry pertaining to the quota target.
If you have a default or default tracking quota entry for the target type you deleted, you can use the quota resize command to update your quotas. Otherwise, you must reinitialize quotas.
- Change the /etc/quotas entry so that there is no restriction on the amount of disk space or the number of files owned by the quota target. After the change, Data ONTAP continues to keep track of the disk space and the number of files owned by the quota target but stops imposing the restrictions on the quota target. The procedure for removing quota restrictions in this way is the same as that for resizing an existing quota.
You can use the quota resize command after making this kind of modification to the quotas file.
Deleting a quota by removing restrictions
To delete a quota by removing the resource restrictions for the specified target, complete the following steps.
Step
|
Action
|
|
1
|
Open the /etc/quotas file and edit the quotas file entry for the specified target so that the quota entry becomes a tracking quota.
Example
Your quota file contains the following entry for the jdoe user:
jdoe user@/vol/cad/ 100M 75K
To remove the restrictions on jdoe, edit the entry as follows:
jdoe user@/vol/cad/ - -
|
|
2
|
Enter the following command to update quotas:
quota resize vol_name
|
Deleting a quota by removing the quota file entry
To delete a quota by removing the quota file entry for the specified target, complete the following steps.
Step
|
Action
|
|
1
|
Open the /etc/quotas file and remove the entry for the quota you want to delete.
|
|
2
|
If...
|
Then...
|
|
You have a default or default tracking quotas in place for users, groups and qtrees
|
Enter the following command to update quotas:
quota resize vol_name
|
|
Otherwise
|
Enter the following commands to reinitialize quotas:
quota off vol_name
quota on vol_name
|
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01085_B0
File: 8quot16.htm
Last updated: 01-Dec-2005 16:51:45