Quota showing "Unlimited " in WHM !!!!!
For recently created users, quota is not working
properly in WHM.
While running # /scripts/fixquotas , error obtained as follows:
Resetting quota for user1 to 10000 M
edquota: Quota write failed (id 517): Invalid argument
Resetting quota for user2 to 300 M
edquota: Quota write failed (id 507): Invalid argument
........................................
While running # /scripts/fixquotas , error obtained as follows:
Resetting quota for user1 to 10000 M
edquota: Quota write failed (id 517): Invalid argument
Resetting quota for user2 to 300 M
edquota: Quota write failed (id 507): Invalid argument
........................................
SOLUTION :
Run the following command:
# quotacheck -vagum
# quotacheck -vagum
v : quotacheck report its
operation as it progresses
g : Only group quotas listed in
/etc/mtab or on the filesystems specified are to be checked
u : Only user quotas listed in
/etc/mtab or on the filesystems specified will be checked
m : Don't try to re-mount file
system as Readonly.
a : Check all mounted non-NFS
filesystems in /etc/mtab
It will take a
long time to complete the quotacheck. After completing the quotacheck, run
/scripts/fixquotas
The issue has
been fixed now..!!!!!!!
Thanks for sharing this valuable info, i want to emantion different way on how to do it if anyone fail this method (me did):
ReplyDeletehttp://internetlifeforum.com/virtualisation/2597-all-cpanel-accounts-unlimited-disk-quota-openvz-vps-issue-fixing/