I haven't played with this, but you may want to review the man pages for quota, quotaon, quotacheck, edquota, repquota, and any other related commands listed at the bottom of these man pages.
From what I've read, here are the high-level steps:
1. Set options in /etc/fstab - add userquota and grpquota to the filesystem's option list
2. Create quota.user and quota.group files at the top of the filesystem and set their protection bits for root access only
These are the user and group quota databases for this filesystem
3. Run quotacheck to initialize the databases
e.g. quotacheck -avug
4. Verify the initialization of the quota databases
ls -al /filesystem/quota.*
5. Run quotaon
e.g. quotaon -a
6. Verify that system initialization script will turn on quotas when your system boots
7. Create a crontab entry to run quotacheck regularly
e.g. quotacheck -avug
8. Set quotas for users/groups
Someone with hands-on experience may be able to provide more input or correct any errors in the above list.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.