[linux-lvm] Attempting to salvage data from a PV on a damaged disk

Robert Gormley rgormley at mgcare.com
Wed Oct 19 02:24:52 UTC 2011


It hasn't, and that's my plan for now, to correct the metadata (UUID may be different), and then do that restore.


-----Original Message-----
From: linux-lvm-bounces at redhat.com [mailto:linux-lvm-bounces at redhat.com] On Behalf Of Ray Morris
Sent: Tuesday, October 18, 2011 6:28 PM
To: linux-lvm at redhat.com
Subject: Re: [linux-lvm] Attempting to salvage data from a PV on a damaged disk


> Question: if I do a 'vgcreate tempvolgroup /dev/sdc2', is it going to 
> be destructive to the LVs inside the PV?

Don't do that. Had the LVM structure changed since the "mirror" disk last synced? If not, it should have the LVM metatadata, which can be restored, preferably to an image of the recent disk. Ideally, the only thing that would be done with the failed disk is to make an image of it on another drive. Then work with the image. dd_rescue may be useful for making the image.





More information about the linux-lvm mailing list