Skip to main content

Fixing wrong disk usage displayed

Comments

8 comments

  • Infopro
    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
  • EHR
    @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
  • danrussell
    Hi :), Can you please paste the contents of /etc/fstab file? I suspect that the quota is not enabled on /home partition.
    0
  • EHR
    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 2
    0
  • EHR
    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 remount
    mount -oremount /home
    then running the fixing quotas script
    /scripts/fixquotas
    0
  • cPanelMichael
    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
  • EHR
    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
  • cPanelMichael
    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.