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

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Tue 19 Sep 2006 - 14:24:30 BST
Message-ID: <20060919132430.GE10196@MAIL.13thfloor.at>

On Tue, Sep 19, 2006 at 01:29:26PM +0200, Mehdi Bennani wrote:
> ==== SOLVED ! ! ! ====
>
> Hi all,
>
> I just found out that
> vnamespace -e [namespace of context <xid>] umount /your/lvm/volume
> must be performed TWO times in each namespace:
>
> -with /your/lvm/volume as the mountpoint, i.e /vservers/vs01
> -with /your/lvm/volume as the lvm device, i.e /dev/volume1/vs01
>
> Then I have to umount BOTH mountpoint and lvm device on the host
> system for the lvremove command to work.

hmm, somehow I doubt that. if possible, double check
with 'cat /proc/mounts' inside the guest that the
first one is the correct path, IMHO the second one
should be sufficient ...

> Again, thank you so much for your help and for your work on the
> vserver project!

you're welcome!

> Best regards,

best,
Herbert

> Mehdi Bennani
> _______________________________________________
> 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 Tue Sep 19 14:34:47 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 19 Sep 2006 - 14:34:51 BST by hypermail 2.1.8