[GRLUG] LVM Data Recovery

Jerry Groendyke jgroendyke at charter.net
Thu Oct 22 11:27:59 EDT 2009


I had a failed LVM recently and found the same article at Linux Journal.  I
was only to able find and recover one of my Volume Groups.  I built a new
server and added the replaced drive and original drive.  Then I went through
each step but ended up skipping lists 3-6.

Good luck,
Jeremy

-----Original Message-----
From: grlug-bounces at grlug.org [mailto:grlug-bounces at grlug.org] On Behalf Of
Adam Tauno Williams
Sent: Thursday, October 22, 2009 7:53 AM
To: grlug at grlug.org
Subject: Re: [GRLUG] LVM Data Recovery

On Wed, 2009-10-21 at 19:18 -0400, Jim Olding wrote:
> Software RAID Setup
> /dev/md0 - RAID1 (1TB /dev/sda and /dev/sbd)
> /dev/md1 - RAID5 (1TB total, 500GB each on /dev/sdc, sdd, and sde)
> LVM Setup
> /dev/vg0 - XFS spanned across both md0 & md1
> sdd had gone out, and I just got the replacement in today. When the
> system started up, sde started throwing errors, which deactivated md1
> (because now its missing 2/3 members).  I'm not holding out much hope
> for md1, so I'm wondering if there is some way to bring up the LVM
> group in a 'partial' mode (with just md0), and retrieve any data from
> it.

I'm assuming you ran "vgchange -a y" and got an error?  
Does "pvdisplay --verbose" still show md0?

_______________________________________________
grlug mailing list
grlug at grlug.org
http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug



More information about the grlug mailing list