KNOWNHOST KNOWLEDGE BASE

Hosting Question? Find the Solution - Browse our Guides, Articles, and How-To's

WHM is showing incorrect disk usage details and I can’t change the quota via WHM

Category: cPanel
Tags: # # # # #

The problem happens when the disk quota file get corrupted on server. As a result we need to fix the quota file; to do that you can run the following command while logged into the server as root,

/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 the server via SSH using the command,

shutdown -r now

Conclusion

Now that we’ve gone over WHM is showing incorrect disk usage details, I can’t change the quota via WHM covering the problem’s solution, i.e., fixing corrupted quota files using an available script.

KnownHost offers 365 days a year, 24 hours a day, all 7 days of the week best in class technical support. A dedicated team ready to help you with requests should you need our assistance. You’re not using KnownHost for the best webhosting experience? Well, why not? Check with our Sales team to see what can KnownHost do for you in improving your webhosting experience.