In the following article you will learn how to fix the problem when your disk space usage showing 0 MB on your cPanel VPS
Sometimes can happen that cPanel is simply not showing any disk usage even with quoatas turned on. In most cases running “/scripts/fixquotas” should fix the problem but sometimes it won’t help at all and will throw you an error “quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option“.
To make cPanel calculate disk usage you need to execute following commands:
touch /home/quota.user touch /home/quota.group chmod 600 /home/quota.user chmod 600 /home/quota.group quotacheck -acugvm
You should see the results as:
quotacheck: Your kernel probably supports journaled quota but you are not using it. Consider switching to journaled quota to avoid running quotacheck after an unclean shutdown. quotacheck: Scanning /dev/sda [/] done quotacheck: Cannot stat old user quota file: No such file or directory quotacheck: Old group file not found. Usage will not be substracted. quotacheck: Checked 22164 directories and 750401 files quotacheck: Old file not found.
By now it should work already but just to make sure execute quotas one more time: