*BUG REPORTED* Cannot get info for user quota file from kernel [message #14229] |
Wed, 20 June 2007 03:52 |
swapnilm
Messages: 7 Registered: November 2006
|
Junior Member |
|
|
Hello,
We are facing following error while doing /scripts/fixquotas on openvz vps.
=========================
root@vps01 [/]# /scripts/fixquotas
Installing Default Quota Databases......Done
Quotas are now on
Resetting quota for slippery to 1000 M
edquota: Cannot get info for user quota file from kernel on /dev/simfs: No such process
edquota: Can't initialize quota on /dev/simfs: No such process
No filesystems with quota detected.
============================
We have 2.6.9-023stab044.4-enterprise #1 SMP kernel on openvz node.
Please assist.
Regards,
Swapnil M
[Updated on: Thu, 21 June 2007 15:02] by Moderator Report message to a moderator
|
|
|
Re: Cannot get info for user quota file from kernel [message #14233 is a reply to message #14229] |
Wed, 20 June 2007 06:45 |
Vasily Tarasov
Messages: 1345 Registered: January 2006
|
Senior Member |
|
|
In order to use usual Linux disk quota (per-user) in VE, you should set "quotaugidlimit" parameter for it:
# vzctl set <veid> --quotaugidlimit 50 --save
# vzctl restart <veid>
# vzctl enter <veid>
entered into VE <veid>
VE# cat /etc/mtab
/dev/simfs / reiserfs rw,usrquota,grpquota 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /dev tmpfs rw 0 0
devpts /dev/pts devpts rw 0 0
50 - means that 50 users inside VE can be limited by disk quota.
After that it should work.
Thanks,
Vasily.
[Updated on: Wed, 20 June 2007 06:45] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
Re: Cannot get info for user quota file from kernel [message #14307 is a reply to message #14301] |
Fri, 22 June 2007 05:44 |
Vasily Tarasov
Messages: 1345 Registered: January 2006
|
Senior Member |
|
|
Swapnilm, I've send a PM to milind yesterday about possible workarounds. Here is the content of the message:
-----------
Hello, I've found the reason of the problem! Wink
Milind, you discoverd rather serious bug in 2.6.9-based kernels, thank you very much! It is not hard to fix it, I will do it today/tomorrow. I also will create a bug report and post a link to it to your initial post at support forum.
You can now remove admin/supp0rt login from your node.
After the patch will be sent some time will pass before the fresh kernel will be released. So, you have several opportunities:
1) Wait till the fresh kernel will be realeased
2) Compile kernel with the patch by you self
3) Just move to 028stab035 kernel, that has no such problem.
Thank you once again,
Vasily.
-----------
I think the path will be available today. Bug report link: http://bugzilla.openvz.org/show_bug.cgi?id=632
Vasily.
[Updated on: Fri, 22 June 2007 05:46] Report message to a moderator
|
|
|
|
|
|
|
|
|
|