For a partition to implement quotas, it must be mounted with the usrquota or grpquota options. Edit /etc/fstab, adding the usrquota option to the /home partition:
mount -o remount /home
The disk usage database is stored within a partition's top-level directory in specially named binary files, aquota.user and aquota.group. Use quotacheck -cug to create a new user and group quota file. Skip the 'g' option if you want only user quotas.
You can turn the quotas on with
quotaon /home
You may find this is run in /etc/rc.d/rc.sysinit if quotas are set on.
you can force a rebuild of the quota db with
quotacheck -c /home
You set a quota like this
setquota username 4096 5120 40 50 /foo
where the nums are
1. soft block limit (warns if exceeded)
2, hard block limit (cannot be exceeded)
3. soft inode limit
4. hard inode limit
you can copy quota limits from one user to another:
edquota -p user1 user2
copies user1 limits to user2
See also:
http://www.linuxtopia.org/online_boo...sk-quotas.html