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

From: Mehdi Bennani <joeytriviano_at_gmail.com>
Date: Tue 19 Sep 2006 - 09:20:56 BST
Message-ID: <4a1c34ee0609190120k9ea9775xb7b8272c1a1c141b@mail.gmail.com>

Hi Christian and Rik,

Thank you for the "umounting in all namespaces" solution, it seems to
partially solve the problem. But, for a reason I can't understand, some
logical volunes still remain open even after performing vnamespace -e [xid]
umount for each running context.

Best regards,
Mehdi

2006/9/15, Christian Affolter <c.affolter@stepping-stone.ch>:
>
> > > 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
> You will have to unmount the lvms in all the _remaining_ name spaces...
>
> Use vserver-stat to list all running vservers (active name spaces) and
> perform vnamespace -e [xid] umount for each one.
>
> _______________________________________________
> 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 09:23:11 2006

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