OpenVZ Forum



Members   Search      Help    Register    Login    Home
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 04:53 Go to next message
Frederik Himpe is currently offline Frederik Himpe
Messages: 3
Registered: September 2007
Junior Member
From: openvz.org
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 06:26 Go to previous messageGo to next message
dev is currently offline dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

From: openvz.org
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 06:39 Go to previous messageGo to next message
Frederik Himpe is currently offline Frederik Himpe
Messages: 3
Registered: September 2007
Junior Member
From: openvz.org
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 06:58 Go to previous message
dev is currently offline dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

From: openvz.org
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: Thu May 23 21:02:55 EDT 2013
Powered by FUDforum Powered by Parallels Virtuozzo Containers