Sunday 2 December 2012

vzquota : (error) Quota on syscall for id 101: Device or resource busy

Quota on syscall for id, Device or resource busy on OpenVZ

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/101/..

Error:

#vzctl restart 101
Restarting container
Starting container...
vzquota : (error) Quota on syscall for id 101: Device or resource busy
vzquota : (error)       Possible reasons:
vzquota : (error)       - Container's root is already mounted
vzquota : (error)       - there are opened files inside Container's private area
vzquota : (error)       - your current working directory is inside Container's
vzquota : (error)         private area
vzquota : (error)       Currently used file(s):


Try this:

# lsof 2> /dev/null | egrep '/vz/root/101 | /vz/private/101'

If any process lists, then kill that process and start the VPS again.








No comments:

Post a Comment