Enabling quota and doing quotacheck on reboot
- by nixnotwin
I have setup quota for home directories on ubuntu 10.04 server. I followed these tutorials: 5 Steps to Setup User and Group Disk Quota and Disk Quota This code I used at fstab file:
/dev/sda1 /home ext4
defaults,usrjquota=aquota.user,grpjquota=aquota.grp,jqfmt=vfsv0
1 1
I have doubts about whether following steps are necessary:
Adding quotaon -a >/dev/null 2>&1 to /etc/rc.local and adding quotacheck -avug to /etc/cron.daily/quotacheck