Plesk Hard disk quotas

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.

6 Comments to “Plesk Hard disk quotas”

  1. David Carrero Fdez-Baillo 11 June 2008 at 5:15 pm #

    Good post, i very useful for me ;-) Thanks

  2. [...] 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, [...]

  3. hugo 17 September 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.

  4. Jonathan Adjei 22 September 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

  5. Yaron 11 October 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

  6. vinee 5 May 2011 at 10:42 pm #

    Awesome!!! solved the issue.


Leave a Reply