How to recalculate quotas
In our Bluequartz servers sometimes we had a few problems with the user's quotas. Yes it happened that, sometimes, some users had reported in the disk usage feature of the control panel a quota that was not real. We don't really know why and how this can happen, but what we did are the following commands, run as root:
First turn off quota
/sbin/quotaoff -ug /home/Then backup and reset the quota database
mv /home/aquota.user /home/aquota.user.bckmv /home/aquota.group /home/aquota.group.bck
Then run quotacheck to get the quota back in sync
/sbin/quotacheck /home/ -vugmFinally turn back on quota
/sbin/quotaon -ug /home/And restore the values in the CODB database
/usr/sausalito/sbin/disk_restorequotas.plHope this helps!