PV /dev/sdc2
VG vg
lvm2 [67.83 GB / 67.83 GB free]
PV /dev/sdd1
VG vg
lvm2 [67.83 GB / 67.83 GB free]
PV /dev/sdd2
VG vg
lvm2 [67.83 GB / 67.83 GB free]
PV /dev/sde1
VG vg
lvm2 [67.83 GB / 67.83 GB free]
PV /dev/sde2
VG vg
lvm2 [67.83 GB / 67.83 GB free]
PV /dev/sdf1
VG vg
lvm2 [67.83 GB / 67.83 GB free]
PV /dev/sdf2
VG vg
lvm2 [67.83 GB / 67.83 GB free]
PV /dev/sdg1
VG vg
lvm2 [67.83 GB / 67.83 GB free]
PV /dev/sdg2
VG vg
lvm2 [67.83 GB / 67.83 GB free]
PV /dev/sdh1
VG vg
lvm2 [67.83 GB / 67.83 GB free]
PV /dev/sdh2
VG vg
lvm2 [67.83 GB / 67.83 GB free]
PV /dev/sda1
lvm2 [603.94 GB]
PV /dev/sda2
lvm2 [603.94 GB]
Total: 16 [2.11 TB] / in use: 14 [949.65 GB] / in no VG: 2 [1.18 TB]
Next you extend the original volume group with the new physical volume.
[root@link-08 ~]# vgextend vg /dev/sda[12]
Volume group "vg" successfully extended
[root@link-08 ~]# pvscan
PV /dev/sdb1
VG vg
lvm2 [67.83 GB / 67.10 GB free]
PV /dev/sdb2
VG vg
lvm2 [67.83 GB / 67.83 GB free]
PV /dev/sdc1
VG vg
lvm2 [67.83 GB / 67.83 GB free]
PV /dev/sdc2
VG vg
lvm2 [67.83 GB / 67.83 GB free]
PV /dev/sdd1
VG vg
lvm2 [67.83 GB / 67.83 GB free]
PV /dev/sdd2
VG vg
lvm2 [67.83 GB / 67.83 GB free]
PV /dev/sde1
VG vg
lvm2 [67.83 GB / 67.83 GB free]
PV /dev/sde2
VG vg
lvm2 [67.83 GB / 67.83 GB free]
PV /dev/sdf1
VG vg
lvm2 [67.83 GB / 67.83 GB free]
PV /dev/sdf2
VG vg
lvm2 [67.83 GB / 67.83 GB free]
PV /dev/sdg1
VG vg
lvm2 [67.83 GB / 67.83 GB free]
PV /dev/sdg2
VG vg
lvm2 [67.83 GB / 67.83 GB free]
PV /dev/sdh1
VG vg
lvm2 [67.83 GB / 67.83 GB free]
PV /dev/sdh2
VG vg
lvm2 [67.83 GB / 67.83 GB free]
PV /dev/sda1
VG vg
lvm2 [603.93 GB / 603.93 GB free]
PV /dev/sda2
VG vg
lvm2 [603.93 GB / 603.93 GB free]
Total: 16 [2.11 TB] / in use: 16 [2.11 TB] / in no VG: 0 [0
]
Convert the linear volume back to its original mirrored state.
[root@link-08 ~]# lvconvert -m 1 /dev/vg/groupfs /dev/sda1 /dev/sdb1
/dev/sdc1
Logical volume mirror converted.
You can use the
lvs
command to verify that the mirror is restored.
[root@link-08 ~]# lvs -a -o +devices
LV
VG
Attr
LSize
Origin Snap%
Move Log
Recovering from LVM Mirror Failure
73
Содержание GLOBAL FILE SYSTEM 5.0
Страница 1: ...LVM Administrator s Guide Configuration and Administration 5 0 ISBN N A Publication date...
Страница 4: ...LVM Administrator s Guide...
Страница 8: ...viii...
Страница 18: ...6...
Страница 28: ...16...
Страница 32: ...20...
Страница 80: ...68...
Страница 90: ...78...
Страница 92: ...80...
Страница 94: ...82...
Страница 112: ...100...