OpenVZ Forum


Home » General » Support » Quota off syscall for id : Device or resource busy
Quota off syscall for id : Device or resource busy [message #21752] Mon, 15 October 2007 21:46 Go to next message
devonblzx is currently offline  devonblzx
Messages: 127
Registered: December 2006
Senior Member
Okay one more thing here. I have been getting this error on more than one VPS and it is directly related with another issue I have been having... (It is the same with root login, I just use my username with sudo for this example)

I try to stop a VPS and I get this:

[user@localhost ~]$ sudo vzctl stop 386
Stopping VE ...
Unable to stop VE: operation timed out

but then when I do this it works:

[user@localhost ~]$ sudo vzctl exec 386 poweroff
[user@localhost ~]$ sudo vzctl stop 386
Stopping VE ...
VE was stopped
vzquota : (error) Quota off syscall for id 386: Device or resource busy
vzquota off failed [3]

So I try to manually shut off the quota:

[user@localhost ~]$ sudo vzquota off 386 -f
vzquota : (error) Quota off syscall for id 386: Device or resource busy

Then when I try to start the VPS:

[user@localhost ~]$ sudo vzctl start 386
Starting VE ...
vzquota : (warning) Quota is running for id 386 already
VE is mounted
....


This also creates a problem when I try to destroy or rebuild a VPS as when I try to destroy it it gives me the Device or resource busy error along with it not allowing me to remove the directory itself by typing "rm -Rf /vz/private/386".

This happens on more than one VPS node with both Debian and CentOS for me. Some nodes happens more than others but they all run the same kernel version, stab039, which was the most current version up until this week and I don't think there was anything about this fixed in there.






http://static.openvz.org/userbars/openvz-user-2.png
ByteOnSite President
Re: Quota off syscall for id : Device or resource busy [message #21778 is a reply to message #21752] Tue, 16 October 2007 07:50 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
Hello.

i hope this explanation can help you:
http://forum.openvz.org/index.php?t=msg&goto=16361&# msg_16361

Btw, can you reproduce the problem? Do you know the commands which lead to it?


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...

[Updated on: Tue, 16 October 2007 07:53]

Report message to a moderator

Re: Quota off syscall for id : Device or resource busy [message #21824 is a reply to message #21778] Tue, 16 October 2007 15:40 Go to previous messageGo to next message
devonblzx is currently offline  devonblzx
Messages: 127
Registered: December 2006
Senior Member
What do you mean? I gave you the exact commands I ran through to get the error...

Anyways I have already tried the lsof of the private area and every other topic on it.

I have figured that using the reboot command inside the VPS helps instead of poweroff.

If I run "vzctl stop ID" it gives the timeout, if I run "vzctl exec ID poweroff" it gives the device busy, but if I run "vzctl exec ID reboot" the quotas shut down correctly.

I guess I will just use the reboot for now on.


http://static.openvz.org/userbars/openvz-user-2.png
ByteOnSite President
Re: Quota off syscall for id : Device or resource busy [message #21919 is a reply to message #21824] Wed, 17 October 2007 22:09 Go to previous message
dowdle is currently offline  dowdle
Messages: 261
Registered: December 2005
Location: Bozeman, Montana
Senior Member
As indicated in the forum thread that you have been referred to... the vast majority of times that the "Device or resource busy" error crops up is because something is directly accessing the resources... which often means that someone is vzctl enter'ed into the VPS in question or someone has a shell prompt parked inside of the VPSes disk space.

Look around and see if that is the case, and if so, get out and try again.


--
TYL, Scott Dowdle
Belgrade, Montana, USA
Previous Topic: node crashed
Next Topic: reboot not start againts
Goto Forum:
  


Current Time: Thu Apr 25 17:02:02 GMT 2024

Total time taken to generate the page: 0.01584 seconds