Enabling Quotas in Linux

July 24, 2004

Edit your fstab entry to something like

/dev/hda1  /home  ext3  defaults,usrquota  1 2
  • umount and mount the disk read-only
  • run quotacheck -c /home to create the quota file in the root directory of the disk
  • umount and mount the disk read-write
  • run quotaon /home to turn on the quota checking
  • use edquota or setquota to set individual quotas

Related Posts