About a year ago, when I used the Perfect Debian Squeeze setup, I made a huge mistake while setting quotas.
My ISP provider had installed a separate partition for data (namely /var). But I dumbly setup quotas on main partition /, like told in the setup ><.
So now when I do
it shows my users quotas (which are defined from ISP Config) but on the wrong partition. I suppose this is useless so I would like to "move" these quota from / to /var.
1. Can anyone tell me if these steps are good and not dangerous for my partitions and/or users data please ?
# move options usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 from / to /var partition then save and quit
mv /aquota.user /var/aquota.user
mv /aquota.group /var/aquota.group
mount -o remount / && mount -o remount /var # or just reboot
2. I know this is not a forum about ISP Config, but could anyone tell me whether if ISP Config will still be able to update quotas if I move them into /var ? Should I modify something in ISP Config to do so ?
3. Still about ISP Config (sorry) I've read somewhere quotacheck should be run on a periodic base. Does ISP Config does it for me or should I add a crontab like this ?
0 * * * * quotaoff -avug && quotacheck -avugm && quotaon -avug
Thank you for your help.