Check to make sure the quota package is installed, else run:
# yum install quota
Edit "/etc/fstab" and add "usrquota,grpquota" to the / partition:
LABEL=/ / ext3 defaults,usrquota,grpquota&nbs p; 1 1
Then run:
# mount -o remount /
# quotacheck -avugm
# quotaon -avugm
To check quotas for all users:
# repquota -a
To edit quota for a particular user:
# edquota -u <user>
Alternately use setquota:
# setquota <softlimit> <hardlimit> 0 0 <user>
- sandip's blog
- Login or register to post comments