On Sun, Apr 18, 2010 at 4:08 PM, Amos Shapira <[email protected]>wrote:
> 2010/4/18 Tom Rosenfeld <[email protected]>: > > > > > > > > On Sun, Apr 18, 2010 at 11:24 AM, Noam Meltzer <[email protected]> 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
_______________________________________________ Linux-il mailing list [email protected] http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
