[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] Re: Dead device and cleaning up LVM



> 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.


        Stefan


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]