Monday, 17 February 2014

No filesystems with quota detected: in Openvz VPS having cpanel server.

  The following error  occurred while running /scripts/fixquotas in the vps server. Also in whm unlimited quota is being shown for all account.

—————–
/scripts/fixquotas –force
Installing Default Quota Databases……Done
Linux Quota Support
Quotas are now on
Resetting quota for use to 500 M
edquota: Quota file not found or has wrong format.
No filesystems with quota detected.

—————–

Solution:
======
touch /home/quota.user
touch /home/quota.group
chmod 600 /home/quota.user
chmod 600 /home/quota.group

Now run the command
=====
quotacheck -acugvm
=====

quotacheck: Scanning /dev/simfs [/] quotacheck: Cannot stat old user quota file: No such file or directory
quotacheck: Cannot stat old group quota file: No such file or directory
quotacheck: Cannot stat old user quota file: No such file or directory
quotacheck: Cannot stat old group quota file: No such file or directory
done
quotacheck: Checked
quotacheck: Old file not found.
quotacheck: Old file not found.


Now, run fixquota again.
 ====
/scripts/fixquotas –force
 ====

Note: If you have "quota.user" and "quota.group" file already present, then remove it and then create new ones.

No comments:

Post a comment

Note: only a member of this blog may post a comment.