Re: [Vserver] lvremove: "Can't remove open logical volume"

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Mon 18 Sep 2006 - 05:05:44 BST
Message-ID: <20060918040544.GB22545@MAIL.13thfloor.at>

On Fri, Sep 15, 2006 at 11:25:46AM +0200, Mehdi Bennani wrote:
> Hi,
>
>
> >Try to unmount your volume for each active name space:
> >vnamespace -e [namespace of context <xid>] umount /your/lvm/volume
>
> Thanks a lot, but my lv's are the root of each vserver so I have to stop
> them before umounting, then the namespace is no longer in use and I get:
> vnamespace: vc_enter_namespace(): No such process
>
> Obviously if I try it before stopping the vserver, I get:
> umount: /vservers/vtest3: device is busy
>

probably the best way to get this right is by
_not_ mounting the volume yourself, but letting
the tools mount it from the fstab (in the guest
configuration)

HTH,
Herbert

> Regards,
>
> Mehdi

> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Mon Sep 18 05:08:24 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 18 Sep 2006 - 05:08:34 BST by hypermail 2.1.8