[linux-lvm] Re: Dead device and cleaning up LVM
monnier at iro.umontreal.ca
Wed Feb 11 03:20:59 UTC 2009
> You don't mention the name of your VG/LV but you should be able to remove
> the active lvm devices with "dmsetup remove", e.g.:
> dmsetup remove $VG-$LV
IIUC you can also use
lvchange -an /dev/<VG>/<LV>
at leas that's what I do when an LVM volume becomes unavailable
(e.g., because the corresponding USB drive was disconnected).
I guess "vgchange -an" might work as well.
More information about the linux-lvm