List Accounts > Disk Used - this is showing 0 M - how to get it accurate?

Seriom

Active Member
Sep 23, 2005
39
0
156
How do I get the "Disk Used" portion of the list accounts page to show the actual disk space used for that account?

right now I am going into each individual account cpanel page and checking, it would be nice to see it all on one page :)
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
Minneapolis, MN
How do I get the "Disk Used" portion of the list accounts page to show the actual disk space used for that account?
SSH to the server and run these commands:
/scripts/fixquotas
/scripts/upcp --force
 

Seriom

Active Member
Sep 23, 2005
39
0
156
SSH to the server and run these commands:
/scripts/fixquotas
/scripts/upcp --force
done, and nothing changed

do I have to turn quotas on before I did what you said?
 

Seriom

Active Member
Sep 23, 2005
39
0
156
Run these commands (in that order):
/sbin/quotaoff -av
/sbin/quotaon -av
/scripts/fixquotas

If that doesn't help, you can seek professional help.
i guess I will find someone to help

I got this on the first command

/sbin/quotaoff: Command not found.
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
Minneapolis, MN
do I have to turn quotas on before I did what you said?
Run these commands (in that order):
/sbin/quotaoff -av
/sbin/quotaon -av
/scripts/fixquotas

If that doesn't help, you can seek professional help.
 

drillerboy

Member
Jul 26, 2006
5
0
151
This worked for me!

This is what was told to me to do:

Gotcha,

Do the following :

backup your /etc/fstab

First run "quotacheck -avugm", you should receive "quotacheck: Can't find filesystem to check or filesystem not mounted with quota option." If not you don't have the same problem.

Next step is to open fstab, type pico /etc/fstab.
The first line will probably look something like this:
"/dev/VolGroup00/LogVol00 / ext3 defaults 1 1"

change "defaults" to "usrquota"

Now save and run "mount -o remount /" then quotacheck -avugm

Doing this will fetch you "Old group file not found. Usage will not be substracted.
done quotacheck: Checked xxxx directories and xxxx files"

Don worry, run "quotaon /"

Now, the finishing touch run "/scripts/fixquotas"

Watch and get your issue fixed
Reply With Quote

This worked for me, as I had the same problem!
Hope it also works for you :)