Because quota resizing is faster than quota initialization, you should use resizing whenever possible. However, resizing only works for certain types of changes to the quotas file. (If resizing will not work, a warning message is sent.)
For example, you changed the size of an existing quota.
You can determine from the quota report whether your storage system is tracking disk usage for a particular user, group, or qtree. If you see a quota in the quota report, it means that the storage system is tracking the disk space and the number of files owned by the quota target.
#Quota Target type disk files thold sdisk sfile #------------ ---- ---- ----- ----- ----- ----- * user@/vol/vol2 50M 15K * group@/vol/vol2 750M 85K * tree@/vol/vol2 - - jdoe user@/vol/vol2/ 100M 75K kbuck user@/vol/vol2/ 100M 75K
#Quota Target type disk files thold sdisk sfile #------------ ---- ---- ----- ----- ----- ----- * user@/vol/vol2 50M 25K * group@/vol/vol2 750M 85K * tree@/vol/vol2 - - jdoe user@/vol/vol2/ 100M 75K bambi user@/vol/vol2/ 100M 75K
All of these changes can be made effective using the quota resize command; a full quota reinitialization is not necessary.
#Quota Target type disk files thold sdisk sfile #------------ ---- ---- ----- ----- ----- ----- * user@/vol/vol2 50M 25K * group@/vol/vol2 750M 85K jdoe user@/vol/vol2/ 100M 75K bambi user@/vol/vol2/ 100M 75K /vol/vol2/proj1 tree 500M 100K
In this case, using the quota resize command does not cause the newly added entry to be effective, because there is no default entry for tree quotas already in effect. A full quota initialization is required.