Disk quota remaining same after files deleted

david510

Well-Known Member
Aug 22, 2004
473
0
166
Hello,

I have deleted some of the files from my cpanel and the cpanel Disk Usage is still showing the old vlaue. Do we need to run the script fixquotas to update this value??

David
 

DigitalSurgeon

Well-Known Member
Aug 13, 2005
134
0
166
david510 said:
Hello,

I have deleted some of the files from my cpanel and the cpanel Disk Usage is still showing the old vlaue. Do we need to run the script fixquotas to update this value??

David
Cpanel is not updated in real time.You can verify the actual disk usage either from shell using "du" command or from Disk Usage Viewer in Cpanel.You have to manually fix the quotas for Cpanel by running /scripts/fixquotas

I would recommend you to view the thread http://forums.cpanel.net/showthread.php?t=46112
 

david510

Well-Known Member
Aug 22, 2004
473
0
166
Yeah..

I checked it usin du -sch. The cpanel disk usage got updated when I took the whm quota edir page and sumply saved the quota for that domain. Then cpanel start showing correct quoa usage...

HMMM...
 

myusername

Well-Known Member
PartnerNOC
Mar 6, 2003
693
1
168
chown -R us.*yourbase*
cPanel Access Level
DataCenter Provider
Twitter
All you really need to do instead of increasing the server load running /fixquotas is simply delete the disk cache found in

/home/user/.cpanel_ducache

it will be regenerated the next time th disk usage viewer is ran from the cP interface.

The disk usage viewer itself has a button to clear the cache as well, not sure how well it works. I'd assume just fine.