[linux-lvm] vg disappeared after replacing disc in raid10
bjrnfrdnnd at gmail.com
Mon Mar 25 20:25:11 UTC 2013
Thanks for the answer.
I am sorry I will not be able to point you to the exact problem that caused the disruption of the volume group.
I did not make any checks before I started disassembling and reassembling the array.
I did recreate the physical volume and the volume group using pvcreate and vgcreate, please see the description of the problem
on ubuntuforums for further details.
I now have a volume group vol0, but still no logical volumes, and vgcfgrestore still does not work.
If you have any hints as to what to do now, I would be most delighted.
On Mar 25, 2013, at 20:00 , Stuart D Gathman <stuart at bmsi.com> wrote:
> Long ago, Nostradamus foresaw that on 03/25/2013 10:04 AM, Björn
> Nadrowski would write:
>> After replacing a disc in my raid10 system (ubuntu 12.04), my volume group (that contained all my data and my system) was gone.
>> Problem description is here:
>> I managed to retrieve the metadata of the volume group and the logical volumes underneath, but I did not succeed using
>> successfully in order to regain access to my data.
>> It seems I might have to try dmsetup, but I am afraid I might destroy my data if I use it. I have no experience with that program.
> No immediate help, but I would have been more paranoid under knoppix,
> and checked for the volume group (vgscan) *before* failing the bad disk,
> and *before* adding the replacement. Running pvs at those points would
> be advisable also.
> I just installed a customer system with raid10, so I am *very*
> interested in what went wrong. I have only used raid1 to this point,
> and have been *very* impressed with the improved performance of 4 disks
> with raid10 vs. 2 with raid1.
> Here is a theory to toss out: raid10 on 3 disks can tolerate only 1
> disk failure. Maybe there were 2? Maybe replaced the wrong drive?
> Does pvs show the raid10 drive as a PV? There is no point trying to use
> vgcfgrestore until you have some PVs to restore it to.
> Where did you find the metadata? From a backup? From the beginning of
> the raid10 drive?
> linux-lvm mailing list
> linux-lvm at redhat.com
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
More information about the linux-lvm