On a server I look after, we recently moved the /home data of / to /usr so /home is symlinked to /usr/home.
I changed fstab and ran the commands here to enable quotas on the partition.
http://help.directadmin.com/item.php?id=42
I also changed /usr/local/directadmin/conf/directadmin.conf
the following line as below.
quota_partition=/usr
as good measure I also ran the tallies.
Now repquota /usr shows the current usage of each user and is adding up their usage but they havent carried over their quotas from /.
If a new user is added they have the quota set properly, so my guess is that DA needs to reset these quotas so they are enabled but we are looking for a quick easy way to do this for all users rather then doing one at a time.
Another question is how does proftpd handle quotas, does it use the quotas set on the partition limiting uploads? or rely on DA suspending accounts when they hit their limit.
I changed fstab and ran the commands here to enable quotas on the partition.
http://help.directadmin.com/item.php?id=42
I also changed /usr/local/directadmin/conf/directadmin.conf
the following line as below.
quota_partition=/usr
as good measure I also ran the tallies.
Now repquota /usr shows the current usage of each user and is adding up their usage but they havent carried over their quotas from /.
If a new user is added they have the quota set properly, so my guess is that DA needs to reset these quotas so they are enabled but we are looking for a quick easy way to do this for all users rather then doing one at a time.
Another question is how does proftpd handle quotas, does it use the quotas set on the partition limiting uploads? or rely on DA suspending accounts when they hit their limit.
Last edited: