Introduction
This article provides the steps to rebuild the file system quotas without using the fixquotas
script.
Procedure
Please note that the following instructions are provided for informational purposes and should only be performed by a qualified system administrator.
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Turn off quotas.
quotaoff -avug
- Run the
quotacheck
command to check and repair the quota files.quotacheck -avugmc
- Turn on quotas.
quotaon -avug
- Run the
resetquotas
script to sync the users' quota information./usr/local/cpanel/scripts/resetquotas