+++---Loss of LVM mirror
To boot the system the Logical volumes need to be started:
https://serverfault.com/questions/564585/system-does-not-boot-from-root-lvm-raid1-partition-when-any-of-the-underlying-pv/564611#564611?newreg=ca961742964c406a881f6cb14475e0f5
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
https://www.howtoforge.com/replacing_hard_disks_in_a_raid1_array
mdadm --manage /dev/md127 --add /dev/sda1
--
BarryGreen
- 11 Sep 2015
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
R
aw View
|
Ra
w
edit
|
M
ore topic actions
Physics Webpages
•
RHUL Webpages
•
Campus Connect
• Royal Holloway, University of London, Egham, Surrey TW20 0EX; Tel/Fax +44 (0)1784 434455/437520
Topic revision: r1 - 11 Sep 2015
-
BarryGreen
Home
Site map
CM web
Public web
Main web
PP web
Public web
Public web
ShowCase web
Students web
PostGraduates web
UnderGraduates web
TWiki web
Public Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
E
dit
A
ttach
Copyright © 2008-2022 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