Maintaining the Accuracy of Disk Quota Reporting

Rebuild the quota database with the quotacheck command to fix inaccuracies in disk quota reports.

Uncontrolled system shutdowns can lead to inaccuracies in disk quota reports. You can rebuild the quota database to fix these inaccuracies.

For more information, see the quotacheck(8) manual page.

  1. Disable disk quotas for the file system.
    sudo quotaoff -guv /mnt
  2. Unmount the file system.
    sudo umount /mnt
  3. Rebuild the quota databases.
    sudo quotacheck -guv /mnt
  4. Mount the file system.
    sudo mount /mnt
  5. Enable disk quotas for the file system.
    sudo quotaon -guv /mnt