*SOLVED* vzquota problem [message #16333] |
Sat, 01 September 2007 07:55 |
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 #16361 is a reply to message #16334] |
Mon, 03 September 2007 06:54 |
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...
|
|
|
|