Uisng quotacheck program in DirectAdmin

DirectAdmin relies on the system quotas to return a value for how much space is being used.

DirectAdmin will run

/usr/sbin/repquota /home

If the “used” column is not showing anything, or users are not in the list, then you’ll need to run the quotacheck program:

Redhat:

/sbin/quotaoff -a; /sbin/quotacheck -avugm; /sbin/quotaon -a;

FreeBSD:

/usr/sbin/quotaoff -a; /sbin/quotacheck -avug; /usr/sbin/quotaon -a;

If are getting errors and no output is displayed for the repquota command, you’ll need to check your /etc/fstab file to make sure that it contains the rw,userquota,groupquota line beside the partition that is using the quotas.

Important: On Linux (Redhat/Debian), it’s usrquota,grpquota, and on FreeBSD it’s userquota,groupquota.

Reference : http://directadmin.com/

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.