can't close logical volume
Tom Rosenfeld
trosen at bezeqint.net
Sun Apr 18 17:00:32 IDT 2010
On Sun, Apr 18, 2010 at 4:08 PM, Amos Shapira <amos.shapira at gmail.com>wrote:
> 2010/4/18 Tom Rosenfeld <trosen at bezeqint.net>:
> >
> >
> >
> > On Sun, Apr 18, 2010 at 11:24 AM, Noam Meltzer <tsnoam at gmail.com> wrote:
> >>
> >> You need to deactivate all active LVs before trying to deactivate the
> VG.
> >>
> >> lvchange -an /dev/vgelg/lvelg
> >>
> >> - Noam
> >>
> > It won't let me since it thinks its open:
> >
> > # lvchange -an /dev/vgelg/lvelg
> > LV vgelg/lvelg in use: not deactivating
>
> Last time I had something like this, as far as I remember, I had to
> make sure I "losetup -d ..." the device (I was playing around with Xen
> DomU's disk images from the Dom0 using losetup, xpartx and vgchange).
> What does "losetup -a" shows?
> Also maybe worth checking output of "lsof".
>
> Cheers,
>
> --Amos
>
I am not using any loop devices so 'losetup -a' shows no output
'lsof' also has nothing for /dev/vgelg/lvelg since it has never been mounted
on this machine.
Any other ideas?
Thanks,
-tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20100418/ac2aa82e/attachment.html>
More information about the Linux-il
mailing list