Wrong cPanel account usage disk
Hello there,
This is Edgar, I'm newer in cPanel Forums, hope you all are ok!
I'm opening this ticket because I'm having problems with one cPanel server.
After upgrade I noticed all usage disks were 0 MB, so I ran the following commands and fix that issue:
With those commands the 0 MB space get fixed, but now I have a trouble with 1 account (as far as I know). When I do:
I got 8.9 GB. But when I login to cPanel the usage disk is: 15.49 GB, also WHM and WHMCS disk space for this account is 15.49 GB. Any idea? What can I do to solve this? Thanks in advance.
mount -o remount /home
repquota -a
/scripts/initquotas
/scripts/fixquotasWith those commands the 0 MB space get fixed, but now I have a trouble with 1 account (as far as I know). When I do:
du -sh /home/usernameI got 8.9 GB. But when I login to cPanel the usage disk is: 15.49 GB, also WHM and WHMCS disk space for this account is 15.49 GB. Any idea? What can I do to solve this? Thanks in advance.
-
After 3 hours trying to fix this, I found the solution. Few days ago I moved a backup from this account to /root/old_backups, but the file owner was the user. I changed it to root by doing chown root:root backup.tar.gz, and that's it! Thanks in advance. 0 -
Glad you got it figured :) 0 -
The disk check will give you the disk space usage for ANY files owned by the user - I'm happy to see you were able to find the backup file :) 0
Please sign in to leave a comment.
Comments
3 comments