{"id":932,"date":"2010-06-17T10:10:56","date_gmt":"2010-06-17T14:10:56","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=932"},"modified":"2013-03-20T08:42:47","modified_gmt":"2013-03-20T12:42:47","slug":"vzquota-error-quota-on-syscall-for-xxx-device-or-resource-busy","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/vzquota-error-quota-on-syscall-for-xxx-device-or-resource-busy","title":{"rendered":"vzquota : (error) Quota on syscall for xxx: Device or resource busy"},"content":{"rendered":"<p>While starting a VPS, you may receive a &#8220;vzquota Device or resource busy&#8221; message as follows<\/p>\n<blockquote>\n<pre># vzctl start VEID\r\n vzquota : (error) Quota syscall for id xxx: Device or resource busy\r\n vzquota : (error) Possible reasons:\r\n vzquota : (error) - Container's root is already mounted\r\n vzquota : (error) - there are opened files inside Container's\r\n private area\r\n vzquota : (error) your current working directory is inside\r\n Container's private area\r\n vzquota : (error) Use -v option to see currently opened file(s).\r\n Running vzquota on failed for Container xxx<\/pre>\n<\/blockquote>\n<p>The error message indicates 2 things:<\/p>\n<p><span style=\"color: #0000ff;\"><strong>1)<\/strong><\/span> There are some open files inside the Containers private area. To list those open files, execute<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\">lsof 2&gt; \/dev\/null | egrep '\/vz\/root\/xxx|\/vz\/private\/xxx'<\/span><\/pre>\n<\/blockquote>\n<p>where, xxx is the VPS ID. If the open files are listed, close them and start the VPS.<\/p>\n<p><span style=\"color: #0000ff;\"><strong>2) <\/strong><\/span>The second reason is you are in the containers private directory while starting the VPS. i.e. the private area of the VPS is \/vz\/private\/xxx and your current working directory while starting the VPS is inside \/vz\/private\/xxx.<\/p>\n<p>Check the current working directory:<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"># pwd<\/span><\/pre>\n<\/blockquote>\n<p>if the output is something like \/vz\/private\/veid, get out of the private directory and start the container<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"># cd<\/span>\r\n<span style=\"color: #0000ff;\"># vzctl start veid<\/span><strong><\/strong><\/pre>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>While starting a VPS, you may receive a &#8220;vzquota Device or resource busy&#8221; message as follows<\/p>\n<p># vzctl start VEID<br \/>\n vzquota : (error) Quota syscall for id xxx: Device or resource busy<br \/>\n vzquota : (error) Possible reasons:<br \/>\n vzquota : (error) &#8211; Container&#8217;s root is already mounted<br \/>\n vzquota : (error) &#8211; there are opened files inside Container&#8217;s<br \/>\n private area<br \/>\n vzquota : (error) your current working directory is inside<br \/>\n Container&#8217;s private area<br \/>\n vzquota : (error) Use -v option to see currently opened file(s).<br \/>\n Running vzquota on failed for Container xxx<\/p>\n<p>The error [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[891,888,889,890,886,892,887],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/932"}],"collection":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/comments?post=932"}],"version-history":[{"count":7,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/932\/revisions"}],"predecessor-version":[{"id":2200,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/932\/revisions\/2200"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=932"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=932"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=932"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}