Fix for Cpanel Quota issues

1. First check whether quota is enabled for /home partition.

# vi /etc/fstab

LABEL=/home /home ext3 defaults,usrquota 1 2

2. Then remount the /home partition

# mount -o remount /home

3. The we need to create a file called aquota.user for that we need to run quotacheck

# quotacheck -c /home

4. Then we need to enable quota

# quotaon /home
====================================================
4 a). Thats it this will enable quota on /home. Now you can edit the quota of a user using this

# edquota <username>
====================================================
5) Run /scripts/fixquotas this will solve the quota issue of cpanel accounts.

# /scripts/fixquotas

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s