Quotas

akny

Verified User
Joined
Sep 7, 2005
Messages
12
I noticed that quotas aren't working in Direct Admin on my server.

I read this: http://help.directadmin.com/item.php?id=42

I ran this command and got the following output:

root@server# /usr/sbin/quotaoff -a; /sbin/quotacheck -avug; /usr/sbin/quotaon -a;
quotaoff: /: Operation not supported
quotaoff: /: Operation not supported
*** Checking user and group quotas for /dev/ad0s1a (/)
unknown uid: 1007
unknown gid: 1007
unknown gid: 1009
unknown uid: 1009
*** Warning: Quotas are not compiled into this kernel
quotaon: using //quota.group on
quotaon: /: Operation not supported
quotaon: using //quota.user on
quotaon: /: Operation not supported
root@server#

Is there explanation other than quotas not compiled into this kernel? Is there a work around or does this mean recompiling my kernel?
 
Seems I do have quotas, but Direct Admin isn't picking up on it.

root@server# quota
Disk quotas for user root (uid 0): none
root@server# quota aekelly
Disk quotas for user aekelly (uid 1011):
Filesystem usage quota limit grace files quota limit grace
/ 5480 1024000 1024000 30 0 0
root@server#
 
Got it...although quotaon and quotaoff aren't operational, this works...

echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue

Now disk space is showing up as used. :)
 
Back
Top