Fixing wrong disk usage displayed
Within latest few hours didn't find a fix for this issue; most of the time ends with 'open ticket' which doesn't provide a quick solution.
Disk usage check [server side, /home/$username/]
Disk usage reported by cPanel :
Then fixing quotas:
Refreshing the cPanel interface, still shows 28.31 MB usage. Disabling disk quota caching (Home > Server configuration >Tweak Settings), waiting 10-15min, refreshing the page (& hard refresh) still same crap: 28.31 MB. Is there any working solution to fix this ? Having it posted here (public) it would help more googlers instead opening a support ticket and keep info private. -- LE: Disk space usage report from cPanel:
WHM v 11.48.2 (3)
# du -sh
1.9G .
Disk usage reported by cPanel :
Disk Space Usage 28.31 MB / 3.91 GB | MySQL Disk Space 28.23 MBThen fixing quotas:
[~]# /scripts/fixquotas
Installing Default Quota Databases......Done
journaled quota support: kernel supports, user space tools supports (available)
.
.
[..]
Updating Quota Files......
[..]
....Done
Quotas have been enabled and updated.
Refreshing the cPanel interface, still shows 28.31 MB usage. Disabling disk quota caching (Home > Server configuration >Tweak Settings), waiting 10-15min, refreshing the page (& hard refresh) still same crap: 28.31 MB. Is there any working solution to fix this ? Having it posted here (public) it would help more googlers instead opening a support ticket and keep info private. -- LE: Disk space usage report from cPanel:
1,874.74 MB total disk space used.
4,000.00 MB quota limit (0.09 MB used).WHM v 11.48.2 (3)
-
Before you go to all that trouble to open a ticket, what do you see under Disk Usage in your cPanel? Not from the side menu, the icon, in your cPanel, titled Disk Usage. 0 -
@Infopro, I've already provided that info: ,874.74 MB total disk space used. 4,000.00 MB quota limit (0.09 MB used).
If you really want the full report, here we go:Files in home directory. 0.09 MB Files in hidden subdirectories. 3.42 MB etc/ 0.05 MB logs/ 22.09 MB mail/ 412.74 MB public_ftp/ 0.00 MB public_html/ 1,410.63 MB ssl/ 0.02 MB tmp/ 1.83 MB MySQL 27.53 MB PostgreSQL 0.00 MB Mailing Lists 0.00 MB Email Archives 0.00 MB * Contained in the mail directory. 1,878.40 MB total disk space used. 4,000.00 MB quota limit (0.09 MB used).
... and do you feel better now being so sarcastic ? I already have 3 requests open (which never happened in those 10yrs since using cPanel) and the fixes provided by support ticket won't help someone else facing the same issue. If someone would post the right solution, I wouldn't open this thread.0 -
Hi :), Can you please paste the contents of /etc/fstab file? I suspect that the quota is not enabled on /home partition. 0 -
Hey danrussell Note that few days ago there wasn't such a problem on this server but there are only 2 things that might lead to this: 1. after a cold reboot due to CWAF modsec rule error which freezes the server and no ssh connection could be done 2. I've probably used /scripts/fixeverything by mistake while having 3 sessions on different servers and I might run the command on this server instead on other one. /etc/fstab: /dev/mapper/ssd-root / ext4 usrjquota=quota.user,jqfmt=vfsv0 1 1 UUID=dd50ad96-bfae-4e2f-9892-5c7f59b67328 /boot ext4 defaults 1 2 /dev/mapper/ssd-swap swap swap defaults 0 0 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 /usr/tmpDSK /tmp ext3 defaults,noauto 0 0 /dev/mapper/raid1-home /home ext4 defaults 1 20 -
As from cPanel's tech recommendations quotas should be (re)enabled by editing the /etc/fstab line /dev/mapper/raid1-home /home ext4 defaults 1 2
to/dev/mapper/raid1-home /home ext4 usrjquota=quota.user,jqfmt=vfsv0 1 2
then remountmount -oremount /home
then running the fixing quotas script/scripts/fixquotas0 -
As from cPanel's tech recommendations quotas should be (re)enabled by editing the /etc/fstab line
Hello, Could you confirm if this resolved the issue with your disk space report in cPanel? Thank you.0 -
Hey @cPanelMichael If it wouldn't fix it, I wouldn't post the solution here :) ..so I confirm the issue was solved following the steps above. 0 -
I am happy to see the issue is now resolved. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
8 comments