PDA

View Full Version : Quota Problem



alpha
07-22-2004, 09:02 PM
-bash-2.05b# quota -v alpha
Disk quotas for user alpha (uid 1010):
Filesystem usage quota limit grace files quota limit grace
/usr 2765026 0 0 15514 0 0


I've done
/usr/sbin/quotaoff -a; /sbin/quotacheck -aug; /usr/sbin/quotaon -a;

And I also did
echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue

Yet, logged into DA, I see...

Disk Space (mb) 0.3377 5000
Bandwidth (gb) 0.0082 4.8828

Anyone have any clue on this?

alpha
07-22-2004, 09:05 PM
Oh and this account has...

-bash-2.05b# du -ch /home/alpha
...
...
2.6G /home/alpha
2.6G total


You can understand where my concern comes in...


/home is symlinked to /usr/home (by default)

And /usr partition has the quota options in fstab
/dev/ad0s1e /usr ufs rw,userquota,groupquota 2 2

And the kernel has the QUOTA option enabled.

alpha
07-29-2004, 08:11 PM
Well... seems like the Disk Space usage report in DA is based on the space usage in /home/user/public_html (which is linked to ./domains/blah blah) directory?

The 2 gigs worth of data that is missing from this report for this particular account is located in /home/user/dir

Is this right or is something wrong on my server?

Yikes2000
08-28-2004, 03:12 AM
Check /usr/local/directadmin/conf/directadmin.conf:

quota_partition=/usr

rushost
09-13-2004, 11:42 PM
same problem if using jail