OpenVZ Forum


Home » General » Support » *BUG REPORTED* Cannot get info for user quota file from kernel
*BUG REPORTED* Cannot get info for user quota file from kernel [message #14229] Wed, 20 June 2007 03:52 Go to next message
swapnilm is currently offline  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 Go to previous messageGo to next message
Vasily Tarasov is currently offline  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 #14235 is a reply to message #14233] Wed, 20 June 2007 10:53 Go to previous messageGo to next message
swapnilm is currently offline  swapnilm
Messages: 7
Registered: November 2006
Junior Member
Hello,

It seems that quota is not getting creating for the vps.
--------------------
root@server [~]# ll /proc/vz/vzaquota/
total 0
dr-x------ 2 root root 0 Jun 20 11:39 ./
dr-xr-xr-x 3 root root 0 Jun 20 11:39 ../
----------------------

Please help Sad
Re: Cannot get info for user quota file from kernel [message #14242 is a reply to message #14235] Wed, 20 June 2007 11:54 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Sorry, you give so little information... Can you give me an access to the node in question? If yes, send the login inforamtion via PM.

Thanks,
Vasily.
Re: Cannot get info for user quota file from kernel [message #14243 is a reply to message #14242] Wed, 20 June 2007 12:16 Go to previous messageGo to next message
milind is currently offline  milind
Messages: 6
Registered: September 2006
Junior Member
Hi Vasily,

Can you please give us your email address of MSN Id so that we can contact you directly.

Thanks,
Milind M.K.
Re: Cannot get info for user quota file from kernel [message #14246 is a reply to message #14242] Wed, 20 June 2007 12:46 Go to previous messageGo to next message
milind is currently offline  milind
Messages: 6
Registered: September 2006
Junior Member
Hi Vasily,

I have PM you. Please check.

Thanks,
Milind M.K.
Re: Cannot get info for user quota file from kernel [message #14288 is a reply to message #14246] Thu, 21 June 2007 15:02 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
This post is for information to the community.

Milind provided me an access to the node, and we found that there is in fact a problem with user quotas in VE on 2.6.9-based OpenVZ kernels.
The bug #632 (http://bugzilla.openvz.org/show_bug.cgi?id=632) was reported.

Thanks to Milind.
Re: Cannot get info for user quota file from kernel [message #14299 is a reply to message #14288] Thu, 21 June 2007 17:35 Go to previous messageGo to next message
swapnilm is currently offline  swapnilm
Messages: 7
Registered: November 2006
Junior Member
hello,

Already provide you the login details of the main hardware node via personal ping. Please check.
Re: Cannot get info for user quota file from kernel [message #14300 is a reply to message #14246] Thu, 21 June 2007 17:37 Go to previous messageGo to next message
swapnilm is currently offline  swapnilm
Messages: 7
Registered: November 2006
Junior Member
Hi Vasily,

Milind already provided you the login details of our main hardware node via persional ping.

Thanks for looking into it.
Re: Cannot get info for user quota file from kernel [message #14301 is a reply to message #14288] Thu, 21 June 2007 17:40 Go to previous messageGo to next message
swapnilm is currently offline  swapnilm
Messages: 7
Registered: November 2006
Junior Member
Hi Vasily,

Thanks for the looking into the issue, can you please let us know how to fix this problem.
Re: Cannot get info for user quota file from kernel [message #14307 is a reply to message #14301] Fri, 22 June 2007 05:44 Go to previous messageGo to next message
Vasily Tarasov is currently offline  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

Re: Cannot get info for user quota file from kernel [message #14311 is a reply to message #14307] Fri, 22 June 2007 07:03 Go to previous messageGo to next message
swapnilm is currently offline  swapnilm
Messages: 7
Registered: November 2006
Junior Member
Thanks Vasily,

We will try to switch over to 028stab035 kernel. Also provide us your msn id Wink

Regards,
Swapnil M
Re: Cannot get info for user quota file from kernel [message #14321 is a reply to message #14288] Fri, 22 June 2007 10:34 Go to previous messageGo to next message
milind is currently offline  milind
Messages: 6
Registered: September 2006
Junior Member
Hi Vasily,

Thanks for looking into the issue and providing solution for it.

Thanks again for great Help.

Regards,
Milind M. Koyande


--
Regards,
Milind M. Koyande
http://host.co.in
Re: *BUG REPORTED* Cannot get info for user quota file from kernel [message #14639 is a reply to message #14229] Wed, 04 July 2007 01:15 Go to previous messageGo to next message
victorskl is currently offline  victorskl
Messages: 28
Registered: September 2006
Junior Member
For me, I just updated when I received kernel update mail list announcement. Yes, quota is broken by updating.
2.6.9-023stab044.4-enterprise #1 SMP

So, I simply switched it back to
2.6.9-023stab043.2-enterprise #1 SMP
for now and wait for the fix.

Thanks.


http://static.openvz.org/userbars/openvz-user.png
Re: *BUG REPORTED* Cannot get info for user quota file from kernel [message #14671 is a reply to message #14639] Thu, 05 July 2007 08:42 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Yes, you're right! The bug was introduced in 044 kernel: at this moment we moved to next RHEL update and getattr64() appeared there...

Thank you for the good workaround!
Vasily.
Re: *BUG REPORTED* Cannot get info for user quota file from kernel [message #20315 is a reply to message #14671] Sun, 16 September 2007 07:22 Go to previous messageGo to next message
sachin is currently offline  sachin
Messages: 27
Registered: September 2007
Junior Member
HI,


how to downgrade kernel to
from vmlinuz-2.6.9-023stab044.4
to vmlinuz-2.6.9-023stab043
or ant other stable version


Re: *BUG REPORTED* Cannot get info for user quota file from kernel [message #20323 is a reply to message #20315] Sun, 16 September 2007 18:22 Go to previous messageGo to next message
milind is currently offline  milind
Messages: 6
Registered: September 2006
Junior Member
Hello Sachin,

You can download the "2.6.9-023stab043.2" kernel from the following URL:
==
http://download.openvz.org/kernel/branches/rhel4-2.6.9/023st ab043.2/ovzkernel-enterprise-2.6.9-023stab043.2.i686.rpm
==

Just install it using rpm -ivh --nodeps and boot the server using this kernel.

Let me know if you have any further questions.


--
Regards,
Milind M. Koyande
http://host.co.in
Re: *BUG REPORTED* Cannot get info for user quota file from kernel [message #21608 is a reply to message #14229] Fri, 12 October 2007 01:21 Go to previous message
victorskl is currently offline  victorskl
Messages: 28
Registered: September 2006
Junior Member
The latest update of REHL4 branch has already fixed this issue.

ovzkernel-enterprise-2.6.9-023stab044.11


http://static.openvz.org/userbars/openvz-user.png
Previous Topic: Install Plesk 8 error in ve
Next Topic: numfile does not match with number of outputs from lsof
Goto Forum:
  


Current Time: Sun Nov 17 05:12:45 GMT 2024

Total time taken to generate the page: 0.02983 seconds