How do I solve this problem: edquota: "Can't write quota for /dev/vzfs"?

Article ID: 1144 
Last Review: Oct,6 2008
Author: Vitaly Filatov
Last updated by: system APPLIES TO:
  • Parallels Virtuozzo Containers for Linux

Resolution

If you see error message like this trying to manage users' quotas inside a VE:
edquota: Can't write quota for 32063 on /dev/vzfs: No such process
Resetting quota for admin2 to 0 Meg....Done

then probably its reason is that second-level quota limit is exceeded and user quotas above a limit were not loaded.

Please increase QUOTAUGIDLIMIT parameter value for a VE to the number which is greater than sum of users and groups created (or supposed to be created) in a VE.
This command will show you current usage of second-level quotas in a VE #101, you may run it on a hardware node:
# wc -l /vz/root/101/etc/{bb}passwd,group{be}
95 /vz/root/101/etc/passwd
107 /vz/root/101/etc/group
202 total

You may increase QUOTAUGIDLIMIT parameter using 'vzctl' utility on a node:
# vzctl set 101 --save --quotaugidlimit 210

To apply changes it is required to restart VE:
# vzctl restart 101

Keywords: quota fixquotas quotaugidlimit edquota


Subscription for this article changesSubscription for this article changes

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields