OpenVZ Forum


Home » General » Support » *SOLVED* vzquota problem
*SOLVED* vzquota problem [message #16333] Sat, 01 September 2007 07:55 Go to next message
pengooin is currently offline  pengooin
Messages: 10
Registered: September 2007
Junior Member
Here is my problem.
vzctl start 201
Starting VE ...
Initializing quota ...
vzquota : (error) Quota is running, stop it first
vzquota init failed [5]

vzquota stat 201
vzquota : (error) Can't open quota file for id 201, maybe you need to reinitialize quota: No such file or directory


. /var/vzquota/quota.201 does not exist. Maybe it got deleted somehow (by a human error of some kind).

How should i "rebuild" the quota file?

And for another VE,
vzctl stop 203
Stopping VE ...
VE was stopped
vzquota : (error) Quota off syscall for id 203: Device or resource busy
vzquota off failed [3]



Thank you

[Updated on: Tue, 04 September 2007 04:45] by Moderator

Report message to a moderator

Re: vzquota problem [message #16334 is a reply to message #16333] Sat, 01 September 2007 08:12 Go to previous messageGo to next message
pengooin is currently offline  pengooin
Messages: 10
Registered: September 2007
Junior Member
seems that rebooting the server solved these issues. But how should i solve these without rebooting ?
Re: vzquota problem [message #16361 is a reply to message #16334] Mon, 03 September 2007 06:54 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
pengooin wrote on Sat, 01 September 2007 12:12

seems that rebooting the server solved these issues. But how should i solve these without rebooting ?


Failing quota off with 'Device or resource busy' error means that some file from VE private area was in use: might be some process running on HN opened it or just somebody had an ssh session opened with current dir in /vz/private/201/...

Unfortunately there is no general algorithm of finding a guilty process, but you can try check 'lsof <private area>', /proc/<pid>/cwd, /proc/<pid>/fd, /proc/<pid>/maps


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
Re: *SOLVED* vzquota problem [message #20058 is a reply to message #16333] Tue, 11 September 2007 16:48 Go to previous message
pengooin is currently offline  pengooin
Messages: 10
Registered: September 2007
Junior Member
Ok thank you very much, finist

pengooin
Previous Topic: how can i take back up
Next Topic: Problems suspending VE with 2.6.18-028stab039
Goto Forum:
  


Current Time: Tue Aug 13 10:22:25 GMT 2024

Total time taken to generate the page: 0.02875 seconds