Mon 17 Mar 2008
I had to enable quota support to my hard disk mounts on one of my new Plesk boxes today. This lets Plesk manage how much space is given to whomever… very necessary for a virtual hosting box.
I found these instructions on the Plesk forum, but not all in one place, hence…
Add ‘usrquota’ to the options in fstab. Mine looked like this before and after…
before
/dev/md0 / ext3 defaults 1 1
after
/dev/md0 / ext3 defaults,usrquota 1 1
Then run these to get quotas working…
# mount -o remount /
# quotaoff -av
# quotacheck -avum
# quotaon -av
..and that should be you good to go.
June 11th, 2008 at 5:15 pm
Good post, i very useful for me
Thanks
June 11th, 2008 at 5:17 pm
[...] instrucciones se pueden encontrar también en la ayuda de Plesk y algunos blogs en inglés, aunque he preferido poner una entrada resumida. Etiquetas: centos, correo, cuotas, disk, [...]
September 17th, 2009 at 11:39 pm
Hi,
Nice post, i have plesk 8.2.1, i too wanted to enable HD quotas, i followed your steps everything went ok, but in Plesk “Domain -> setup” the quota is still “unlimited- HD quota not suported” is there anything to be done ?
Thks.
September 22nd, 2009 at 1:11 am
It might be that quotas aren’t enabled in your kernel. Check out this plesk knowledebase article that seems to have appeared since I wrote this.
http://kb.parallels.com/en/768
Something in here might help also…
http://forum.parallels.com/showthread.php?t=72591
October 11th, 2009 at 11:49 am
For XFS on the root file system, you probably need to enable quota at boot time with the kernel parameter
rootflags=usrquota
HTH