Re: Dead device and cleaning up LVM

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

 



> 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

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux