Missing LV from LVM volume group
One of my disks died but resurrected and I was stupid enough to run some vgchangle --removemissing command that removed the faulty disk from the array. Now i got the faulty disk back up and it is now a part of the volume group but the volume group has no allocated PEs. lvdisplay outputs nothing... my main_disk_group_0000 even contains a description of the logical volume:
logical_volumes {
diskarray {
id = "KrYHQE-dQzy-mVsY-CmOj-rN37-O1X7-BD9Adb"
status = ["READ", "WRITE", "VISIBLE"]
segment_count = 4
segment1 {
start_extent = 0
extent_count = 119234 # 465.758
(and so on)
if i can ever access my terabyte of precious data again i would rejoice!
vgdisplay shows:
--- Volume group ---
VG Name main_disk_group
System ID
Format lvm2
Metadata Areas 4
Metadata Sequence No 78
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 0
Open LV 0
Max PV 0
Cur PV 4
Act PV 4
VG Size 1.28 TB
PE Size 4.00 MB
Total PE 336242
Alloc PE / Size 0 / 0
Free PE / Size 336242 / 1.28 TB
VG UUID EaYeB6-uFHx-d2p2-TVFl-dyom-fQee-OxXbTF
pvdisplay shows:
--- Physical volume ---
PV Name /dev/sdb
VG Name main_disk_group
PV Size 465.76 GB / not usable 0
Allocatable yes
PE Size (KByte) 4096
Total PE 119234
Free PE 119234
Allocated PE 0
PV UUID 14AP4R-X75R-94Dx-Pk5g-HU0e-F6yh-8tQoEz
--- Physical volume ---
PV Name /dev/mapper/hdc1
VG Name main_disk_group
PV Size 232.88 GB / not usable 0
Allocatable yes
PE Size (KByte) 4096
Total PE 59618
Free PE 59618
Allocated PE 0
PV UUID JDMxOF-84VA-Ir6e-tAeB-LAKj-gy4J-7GXspF
--- Physical volume ---
PV Name /dev/sda
VG Name main_disk_group
PV Size 465.76 GB / not usable 0
Allocatable yes
PE Size (KByte) 4096
Total PE 119234
Free PE 119234
Allocated PE 0
PV UUID F87gox-1Z8e-eDcZ-QUxW-9gLI-XJLp-ySl017
--- Physical volume ---
PV Name /dev/mapper/hdb1
VG Name main_disk_group
PV Size 149.05 GB / not usable 0
Allocatable yes
PE Size (KByte) 4096
Total PE 38156
Free PE 38156
Allocated PE 0
PV UUID kUgW4k-AO0G-qRS0-0cH8-VkzD-Xjfj-ZjzZVL
|