To implement disk quotas, use the following steps:
- Enable quotas per file system by modifying the /etc/fstab file:
/dev/VolGroup00/LogVol02 /home ext3 defaults,usrquota,grpquota 1 2 - Remount the file system(s).:
mount -o remount <file-system> - Create the quota database files and generate the disk usage table.:
quotacheck -cug -F vfsv0 <file-system>
quotacheck -avug - Assign quota policies.:
edquota <username>