Install quota:
aptitude install quota quotatoolAdd usrquota,grpquota to your /etc/fstab for some volume, eg.
/home /home ext3 defaults,usrquota,grpquota 1 2Remount your volume
mount -o remount /homeCheck quota
quotacheck -vaguTurn quota on
quotaon -vagumSet grace period
edquota -tModify user quota
edquota -u useror by (200M is soft, 250 is hard limit for user new in /home):
quotatool -u new -bq 200M -l '250 Mb' /homeCopy user quota from old to new user
edquota -p old newList of quotas on volume
repquota /homeList of all quotas
repquota -a
No comments:
Post a Comment