Are you asking how to recalculate a quota tree? If so you can use the following command to recalculate the quota usage.
WARNING - Quota recalculations WILL disrupt operations to the file system until the operation finishes which could take hours depending on the amount of data. CIFS clients are disconnected during these events and NFS clients receive a message that the server is not responding.
replace DataMover, volumepath, and QtreeName with the appropriate values.
If you are not seeing the numbers you would expect in the quota report. You may want to check if you are set to file or block for the calculation before attempting the recalc command.
kensagle
59 Posts
1191
0
Posted July 6th, 2010 06:00
Are you asking how to recalculate a quota tree? If so you can use the following command to recalculate the quota usage.
WARNING - Quota recalculations WILL disrupt operations to the file system until the operation finishes which could take hours depending on the amount of data. CIFS clients are disconnected during these events and NFS clients receive a message that the server is not responding.
.server_config DataMover -v "file quota /volumepath check path=/QtreeName"
replace DataMover, volumepath, and QtreeName with the appropriate values.
If you are not seeing the numbers you would expect in the quota report. You may want to check if you are set to file or block for the calculation before attempting the recalc command.
To check the policy run the following:
server_param server_x -facility quota -info policy
Sagle