For LPI-training I once created a list of the steps you need to do:
- flag the partition in
/etc/fstab
quotacheck -augv
(-m) to force when it’s mounted- activate
quotaon -a
edquota -u lpi
set limitedquota -t
set grace time
Proof:
[lpi@baru ~]$ ls /etc/ > etc.txt
-bash: etc.txt: Disk quota exceede