Filesystem

To enable quota for a file system

1. Modify the filesystem enntry in /etc/fstab with userquota and groupquota option

 /dev/mapper/vg00-rootlv /               ext3    defaults,errors=remount-ro,usrquota,grpquota 0       1

2. Run the following commands to enable the quota

 touch /quota.user /quota.group
 chmod 600 /quota.*
 mount -o remount /
 quotacheck -avugm
 quotaon -avug