edquota: Quota write failed (id 514): Invalid argument

Posted: 2p in cPanel

edquota: Quota write failed (id 514): Invalid argument

Running the fixquotas script also didn’t helped. The output of that command is pasted below,

————————————–
-bash-3.2# /scripts/fixquotas
Installing Default Quota Databases……Done
Linux Quota Support
Quotas are now on
Resetting quota for blo3 to 2500 M
edquota: Quota write failed (id 504): Invalid argument
Resetting quota for agre to 200 M
edquota: Quota write failed (id 513): Invalid argument
Resetting quota for earn to 500 M
edquota: Quota write failed (id 503): Invalid argument
Resetting quota for elks to 1000 M
edquota: Quota write failed (id 521): Invalid argument
Resetting quota for usan to 500 M
edquota: Quota write failed (id 514): Invalid argument
-bash-3.2#
————————————–
The solution for this fix was to run the quotacheck command with the following options,

/sbin/quotacheck -vguma

The details about the switches are pasted below,

-v :- quotacheck reports 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 are to be checked. This is the default action
-m :- Don’t try to remount filesystem read-only
-a :- Check all mounted non-NFS filesystems in /etc/mtab

Running the above quotacheck command solved the issue in my case. Hope this might help someone 🙂

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