+++---Loss of LVM mirror

To boot the system the Logical volumes need to be started:


Boot from a live OS

lvm pvscan lvm vgscan lvm lvscan

to find all the names

lvm vgchange -ay --partial VolGroup00

lvm vgreduce --removemissing --force VolGroup00

This will enable the volumes

Recreate the partitions on the replacement drive. then add the physical volume

pvcreate /dev/sdb1 lvm vgextend VolGroup00 /dev/sdb1

Re mirror the volumes

lvmconvert -m1 "volume name" e.g. /dev/vg_blackbox/usr

md mirror volume

recreate partition

just readd the partition to the MD


mdadm --manage /dev/md127 --add /dev/sda1

-- BarryGreen - 11 Sep 2015

Physics WebpagesRHUL WebpagesCampus Connect • Royal Holloway, University of London, Egham, Surrey TW20 0EX; Tel/Fax +44 (0)1784 434455/437520

Topic revision: r1 - 11 Sep 2015 - BarryGreen

This site is powered by the TWiki collaboration platformCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback