Before i get to the question, I'm running on: CENTOS 6.4 i686 virtuozzo – vps WHM 11.38.2 (build 2)
Three weeks ago I noticed that the disk usage reported by WHM for some of my users was much different than what I saw when I used a du -sh. For one of my biggest users WHM reported 23MB when DU said he had over 6 gigs in the account. There were several accounts like this. I also noticed that all of my account quotas had been reset to UNLIMITED.
I ran the fixquotas script (and several others) and that solved the quotas but the disc space issue remained.
I reported this to my VPS provider. They said that there had been a "bug" in cpanel and for the last three weeks they have tried various things to try to fix it. The numbers have come up (in that one example account) to 1100MB but as I said the account still has over 5 more gigs in it that WHM can't seem to see.
Here is what my provider replied in one of the earlier ticket exchanges:
They did as they said they would do in that quote but it didn't work. They apparently did other things behind the scenes, didn't work. Last night they apparently did something else that required rebooting the entire node... Still didn't work. The disk usage is still wrong and I can't really charge people for disk space if their cpanel says they aren't using it...
Does anyone know anything I can try to fix this issue?
Three weeks ago I noticed that the disk usage reported by WHM for some of my users was much different than what I saw when I used a du -sh. For one of my biggest users WHM reported 23MB when DU said he had over 6 gigs in the account. There were several accounts like this. I also noticed that all of my account quotas had been reset to UNLIMITED.
I ran the fixquotas script (and several others) and that solved the quotas but the disc space issue remained.
I reported this to my VPS provider. They said that there had been a "bug" in cpanel and for the last three weeks they have tried various things to try to fix it. The numbers have come up (in that one example account) to 1100MB but as I said the account still has over 5 more gigs in it that WHM can't seem to see.
Here is what my provider replied in one of the earlier ticket exchanges:
FYI, My backups have always been in /backup.We'll definitely take a look at this (need your password), but we had this exact problem on 3 of our shared hosting servers, and it turned out to be a bug in cPanel. I worked personally with some of their head engineers on this issue. This likely happened sometime after a cPanel update, though it usually doesn't happen immediately.
This occurs when the backup directory is configured within a partition needing usrquota enabled, i.e. the /home directory. WHM tells you when you configure the backup (at least it used to) that you shouldn't use /home/backup, for example. They don't really say why, don't give much of a stern warning, and on a VPS, there aren't necessarily other places to put the backups. We encountered this because we would make our server backups to /home/backup and transfer them off-site from there. It only happened on random servers as well, and not every one of them we run, even though all are configured exactly the same, had the same updates, etc.
The fix was to disable backups in that partition, remove the backups (copy them elsewhere), and remount the /home partition, which may or may not be safe, with user data there. If you aren't putting your backups somewhere in the /home directory, this is likely something we will have to take back to the cPanel folk again.
They did as they said they would do in that quote but it didn't work. They apparently did other things behind the scenes, didn't work. Last night they apparently did something else that required rebooting the entire node... Still didn't work. The disk usage is still wrong and I can't really charge people for disk space if their cpanel says they aren't using it...
Does anyone know anything I can try to fix this issue?