Web Hosting Talk







View Full Version : CPanel and space used issue.


bert
07-18-2001, 08:53 PM
I have several accounts where Cpanel shows a lot more space being used than the actual.

For example, one of the accounts shows this from Cpanel:
Disk Usage 139.20 Megabytes

When I check it directly from the shell, the server shows this:
root@serverXX [~]# du -sh /home/user
46M /home/user

That is a hell of a difference from 46 Megs to 139.20 Megs. I have checked the files myself and he indeed has only about 15 to 50 Megs there not 139 Megs !!!

This is happening with three other accounts.

Any ideas ??? Your help is really appreciated !


:flamethr: Cpanel/WHM
Either love it or hate it :)

bdraco
07-18-2001, 09:11 PM
Cpanel determines disk usage based on quotas. You can try repquota -av to see where the space is being used . The user might own files that are not in /home.

Its also possible that the quota database is out of sync and you might want to update it by running
/sbin/quotacheck -av

bert
07-18-2001, 09:42 PM
Originally posted by bdraco
Cpanel determines disk usage based on quotas. You can try repquota -av to see where the space is being used . The user might own files that are not in /home.

Its also possible that the quota database is out of sync and you might want to update it by running
/sbin/quotacheck -av

Unbelievable. After hours of frustration /sbin/quotacheck -av fixed it all !!!

Thank you so much bdraco. I really appreciate your help. :)