System disk usage different than DA reported usage.

evil_smurf

Verified User
Joined
Mar 3, 2006
Messages
112
For some reason, DA reports 261 / 250 megs used for a user. This is with the disk usage tallied in DA at 1 minute ago.

However, quota reports differently:

[root@server1 ~]# quota -us bob
Disk quotas for user bob (uid 511):
Filesystem blocks quota limit grace files quota limit grace
/dev/vzfs 245M 250M 250M 8547 0 0
[root@server1 ~]#



Why such a big difference in the numbers?
 
I kind of notice the same thing. One of my users has 1179.1 / 2048 reportred from DirectAdmin and the quota command reports:

Code:
quota -us john
Disk quotas for user john (uid 800): 
     Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
      /dev/sda5   1060M   2048M   2048M           25932       0       0
 
I had this problem to.

What i did is this:
Code:
/etc/init.d/quota start;
quotaoff -a; quotacheck -augm; quotaon -avug;

And that fixed the problem on my server.
I'm using Debian, so maby the paths aren't correct for you if you are using another operation system.

Let me know of this fixed your problem.
Wannes

(I used the next sources, so if this don't work visit one of them)
http://www.directadmin.com/forum/showthread.php?t=2138
http://howtoforge.com/forums/showthread.php?t=3083
http://forum.pc-active.nl/viewtopic.php?t=18265
 
Back
Top