Disk usage problem: WHM is showing incorrect disk usage and cpanel also

The problem happens when the disk quota file get corrupted on server. You can run the following command while logged into the server as root.

/scripts/fixquotas


If the above doest solve the issue try to run the following.

 

/scripts/fixquotas --force

 

It may give errors like the following, if the problem is not solved completely.

---
Resetting quota for abcde to 500 M
edquota: Quota write failed (id 32230): Invalid argument
Resetting quota for xyz to 500 M
edquota: Quota write failed (id 32010): Invalid argument
---

In that case, a quick reboot of the server will help to solve the problem. You may restart server via Power Panel.

  • 38 Users Found This Useful
Was this answer helpful?

Related Articles

Run OPTIMIZE TABLE to defragment tables for better performance

For this suggestion:Run OPTIMIZE TABLE to defragment tables for better performanceRun this...

How to clear Error Log of a cPanel Account.

User the below code to clear Error Log:Replace User with Username:Code:for i in `find...

What is php.ini ?

The php.ini file and changing PHP Settings The php.ini file is a special file for PHP and...

How to fix ini_set() has been disabled for security reasons

1. Create php.ini file inside your public_html folder, OR the folder in which you have...

How to fix Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone:

1: Create .htaccess file inside your public_html folder, OR the folder in which you have...