Updated on Oct 10, 2022
When working with cPanel, sometimes problems may occur. One of those problems may be the user quota files causing all user accounts to have unlimited disk space available or 0% disk space in use. That can be quite confusing because users don’t get an accurate representation of the disk space currently in use. In this post, we will help you fix quota issues with cPanel, both manually and automated.
Table of Contents:
The cPanel Quota refers to the disk quota allocated to various accounts. It’s the limit of the amount of data that can be contained in a specific directory of one’s account. You can set and modify the quota for the cPanel account by using the cPanel interface. The cPanel quota is usually displayed in Megabytes (MB).
The most common reasons for cPanel quota problems are:
Keep in mind that this method is a little advanced, and you need to proceed with caution. If you are not sure that you will do everything properly, better ask a tech-savvy person to do it or contact the FastComet technical support team via a support ticket.
In order for this fix to be possible, you will need to have root access and use SSH Command-line (cPanel Terminal). Here are the steps:
ll /dev/root
xvda
:ln -s /dev/xvda /dev/root
/scripts/fixquotas
After this command is applied, your quotas should be fixed.
cd /home/username
du -h or try du -hs
/etc/passwd
and /etc/shadow
to make sure there is no weirdness where the username shows up multiple times.find -user username | more
/scripts/fixquotas
We’ve covered the common ways accounts report invalid disk quotas with cPanel. If the Quick Fix doesn’t work, then you’ll need to do some digging through our Advanced Fix. Once again, if you need help, feel free to contact our technical support experts.
We hope you find this article useful. Discover more about FastCloud - the top-rated Hosting Solutions for personal and small business websites in four consecutive years by the HostAdvice Community!