[linux-lvm] Can't restore the volume group after ghosting an hdd
Sasha Z
kleptophobiac at gmail.com
Tue Mar 22 23:12:46 UTC 2005
I had a hard drive begin to go bad on me, so I ghosted it to another
drive. lvm2 successfully picked up on the ghosted drive and didn't
complain about it. I used pvmove to send the data off to other parts
of the array. I removed the hdd I ghosted to from the array, wiped it,
and readded it as a new drive.
Now I can't seem to put my array back together.
I'm worried about the output of the lvs command saying that the volume
group is inconsistent. What exactly does that mean, and what do I do
about it? I can still seem to mount everything ok and get to my data,
but these errors are disconcerting. Is there a way to get everything
back to "normal"?
pvs:
Found duplicate PV iCXUP4rdy2ZhoIJ4NWl1s3dr1au6QofX: using /dev/hdg1
not /dev/hdg
Found duplicate PV fFNJ9uKeNSMVQxwLH82lnI3J0hQYRKTh: using /dev/hdk1
not /dev/hdk
Warning: Volume Group vg0 is not consistent
PV VG Fmt Attr PSize PFree
/dev/hde4 vg0 lvm2 a- 179.75G 0
/dev/hdg vg0 lvm2 a- 172.55G 60.36G
/dev/hdi vg0 lvm2 a- 152.67G 152.67G
/dev/hdk vg0 lvm2 a- 233.76G 0
vgs:
Found duplicate PV iCXUP4rdy2ZhoIJ4NWl1s3dr1au6QofX: using /dev/hdg1
not /dev/hdg
Found duplicate PV fFNJ9uKeNSMVQxwLH82lnI3J0hQYRKTh: using /dev/hdk1
not /dev/hdk
VG #PV #LV #SN Attr VSize VFree
vg0 4 1 0 wz--n 738.73G 213.03G
lvs:
Found duplicate PV iCXUP4rdy2ZhoIJ4NWl1s3dr1au6QofX: using /dev/hdg1
not /dev/hdg
Found duplicate PV fFNJ9uKeNSMVQxwLH82lnI3J0hQYRKTh: using /dev/hdk1
not /dev/hdk
Volume group "vg0" inconsistent
LV VG Attr LSize Origin Snap% Move Copy%
lv0 vg0 -wi--- 525.70G
More information about the linux-lvm
mailing list