OpenVZ Forum


Home » Mailing lists » Users » Device or resource busy on /vz/private/$VPSID
Device or resource busy on /vz/private/$VPSID [message #20692] Tue, 25 September 2007 08:53 Go to next message
Frederik Himpe is currently offline  Frederik Himpe
Messages: 3
Registered: September 2007
Junior Member
I tried destroying a virtual machine with the command openvz destroy. At 
the end, it complained that it failed to move /vz/private/100 because it 
was busy. I tried rmdir on the empty directory, but it fails with the 
same message. However, lsof /vz/private/100 does not show any process 
using this directory.

I am using a self compiled 2.6.18-8.1.8.el5-028stab039.1 kernel on Debian 
Etch. The file system being used on /vz is XFS.

-- 
Frederik Himpe
Re: Device or resource busy on /vz/private/$VPSID [message #20694 is a reply to message #20692] Tue, 25 September 2007 10:26 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

plz check that you have no opened files in editors or in other terminals
in /vz/private/100
and that it's not a current directory somewhere.

Kirill

Frederik Himpe wrote:
> I tried destroying a virtual machine with the command openvz destroy. At 
> the end, it complained that it failed to move /vz/private/100 because it 
> was busy. I tried rmdir on the empty directory, but it fails with the 
> same message. However, lsof /vz/private/100 does not show any process 
> using this directory.
> 
> I am using a self compiled 2.6.18-8.1.8.el5-028stab039.1 kernel on Debian 
> Etch. The file system being used on /vz is XFS.
>
Re: Device or resource busy on /vz/private/$VPSID [message #20696 is a reply to message #20694] Tue, 25 September 2007 10:39 Go to previous messageGo to next message
Frederik Himpe is currently offline  Frederik Himpe
Messages: 3
Registered: September 2007
Junior Member
On Tue, 25 Sep 2007 14:29:06 +0400, Kirill Korotaev wrote:

> plz check that you have no opened files in editors or in other terminals
> in /vz/private/100

It's empty...

> and that it's not a current directory somewhere.

No, it's not: if it was, I think lsof would be showing that a bash 
process was using that dir? I'm the only logged in user and not in that 
dir and there are no screens running, so that does not seem to be the 
problem.
 
-- 
Frederik Himpe
Re: Re: Device or resource busy on /vz/private/$VPSID [message #20700 is a reply to message #20696] Tue, 25 September 2007 10:58 Go to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

Frederik Himpe wrote:
> On Tue, 25 Sep 2007 14:29:06 +0400, Kirill Korotaev wrote:
> 
> 
>>plz check that you have no opened files in editors or in other terminals
>>in /vz/private/100
> 
> 
> It's empty...
> 
> 
>>and that it's not a current directory somewhere.
> 
> 
> No, it's not: if it was, I think lsof would be showing that a bash 
> process was using that dir? I'm the only logged in user and not in that 
> dir and there are no screens running, so that does not seem to be the 
> problem.

lsof won't show file users since VE filesystem is unmounted with detach option.
is it reproducable on your machine?
I can try to debug/find file users if you provide me an access...

Kirill
Previous Topic: Long: Debian etch, linux-image-2.6.18-openvz-13-39.1d1-amd64 -> Kernel panic
Next Topic: Unable to compile inside VPS
Goto Forum:
  


Current Time: Sat Nov 16 19:18:23 GMT 2024

Total time taken to generate the page: 0.04160 seconds