Archive for the ‘LPI 101’ Category

Quotas (roughly)

September 14, 2009

For LPI-training I once created a list of the steps you need to do:

  1. flag the partition in /etc/fstab
  2. quotacheck -augv (-m) to force when it’s mounted
  3. activate quotaon -a
  4. edquota -u lpi set limit
  5. edquota -t set grace time

Proof:

[lpi@baru ~]$ ls /etc/ > etc.txt
-bash: etc.txt: Disk quota exceede