Quota - Wrong Disk Usage (I've tried everything)

clintox

Verified User
Joined
Mar 3, 2005
Messages
7
I've been reading through dozens of posts about quota problems and I believe I have tried everything. My DA is not displaying the correct usage. It's not even close. For one person who has a 466MB home directory DA shows 71MB. However, both "quota" and "quotarep" show the correct usage.

I am running the lastest DA on CentOS 3.4 with the latest yum updates.

Quota support is enabled in the kernel and quotarep shows the correct disk usage.

I've run
"/sbin/quotaoff -a; /sbin/quotacheck -augm; /sbin/quotaon -a;" and "echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue" many, many, many times. I've also checked permissions to verify that the files are owned by the user.

I've also read the help page http://help.directadmin.com/item.php?id=42


Please advise. Thanks in advance.
 
I fixed it

That would figure. As soon as I give up and post a message I figure it out. Anyway, hopefully this can help someone else out. I looked in /var/log/directadmin/errortaskq.log and it was complaining that it couldn't write quota-dump to /home/tmp. So, I created /home/tmp and executed the tally and it works great now.
 
You might want to delete /home/tmp, and create a link from /home/tmp to /tmp.

That works fine and puts all the "tmp" files in one place.

Jeff
 
Back
Top