Poblem In Cpanel with VPS, Disk Quota Doesnt working

Posted: 2nd September 2013 by Babar Shafiq in System Administration
Tags: , , ,

If you are using CPanel with VPS and getting Quota errors.
OK here is the solution for VPS.
Please try following:

1- First change the /etc/fstab file similar to as follows:

# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3,usrquota defaults 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmps defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=SWAP-sda2 swap swap defaults 0 0

2- change in the

setup it to QUOTAUGIDLIMIT="3000"

3- this command as well as in sequence :

quotaoff -av
quotaon -av

it should solve the issue