If you start a VPS and it gives the following error:
vzquota : (error) Quota on syscall for 100: Device or resource busy
Running vzquota on failed for VPS 100 [3]
Then it means that there are some open files from that VPS. Please make sure there are no open files inside VPS root and/or private area (and your current working directory is not inside VPS root/private area) by running the following command on the hardware node:
lsof 2> /dev/null | egrep ‘/vz/root/VPSID|/vz/private/VPSID’
If there are any processes which hold a directory inside VPS root/private area - kill them.
e.g:
[root@server ~]# vzctl start 100
Starting VPS …
vzquota : (error) Quota on syscall for 100: Device or resource busy
Running vzquota on failed for VPS 100 [3]
[root@server ~]# lsof 2> /dev/null | egrep ‘/vz/root/100|/vz/private/100′
tar 11101 root 9r REG 8,5 41995369 457695234 /vz/private/100/root/home/username/mail/inbox
[root@server ~]# kill -9 11101
[root@server ~]# vzctl start 100
Starting VPS …
VPS is mounted
Adding IP address(es): 192.168.1.1
Hostname for VPS set: vps.servername.com
File resolv.conf was modified
Setting devperms 60010 dev 0×22
VPS start in progress…
Leave a Reply
You must be logged in to post a comment.