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.

You might also need to ensure the quote management tools package is installed for your system.
On mine, this was
yum install quota

Categories: LAMPPlesk

Jonathan Adjei

Jon's expertise in web development is legendary and he oversees all technical aspects of our projects from development to hosting (all through the command line!) Jon is excited by the latest techniques and keeps the company on track by finding ways to adopt new practices into our workflow.

2 Comments

David Carrero Fdez-Baillo · June 11, 2008 at 5:15 pm

Good post, i very useful for me ūüėČ Thanks

Activar cuotas de disco para Plesk en CentOS - Carrero Bit√ɬ°cora de los Hermanos Carrero, David Carrero Fern√ɬ°ndez-Baillo y Jaime Carrero Fern√ɬ°ndez-Baillo. · June 11, 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, […]

Comments are closed.