UnixServerAdmin

Server Administration & Management

How to fix Quotas in cPanel

If you go into WHM –> List Accounts and all your accounts are showing an unlimited quota and 0 MB disk space usage, Its probably have a quota problem.So please use following commands :-

#/scripts/fixquotas

This’ll take sometime to analysis server current disk usage, will usually fix the problem. If it doesn’t, make sure that quotas are on for your filesystem.  Check the file /etc/fstab, and in the fourth column (the options column), make sure that ‘usrquota’ is specified for the file system that contains your user home folders.  For example, this is how looks:

LABEL=/var      /var          ext3    defaults,noatime,usrquota 0  0
LABEL=/home    /home          ext3    defaults,noatime,usrquota 0  0

If /home is part of the / partition, then the quotas need to be applied to / .

Now, remount the partitions with new options.  For the root ( / ) partition for example, you’d run the following command:

#mount -o remount /

Then run the following command to update quotas:

#/scripts/initquotas

If the problem indicates a problem writing to /aquota.user or similar, make sure the file isn’t set to immutable:

#chattr -ia /aquota.user

Advertisements

January 6, 2011 - Posted by | cPanel | , ,

1 Comment »

  1. Anytime I research a topic I have no idea what i could discover. I’m so thrilled to have stumbled upon your extensive blogging because it properly details the questions I have in mind as well as the unmentioned issues that i would have looked for later on.

    Comment by clean water | June 16, 2011 | Reply


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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s

%d bloggers like this: