Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-26-2007, 03:02 PM   #1
LQ Newbie
Registered: Feb 2007
Posts: 1

Rep: Reputation: 0
RAID1 LVM disk failure - can't restore

It took everything I had to not put Help!! in the description as I've really screwed myself here.

I have a RAID 1 LVM partition and I one disk died, I thought it would be no problem since it's raid 1 I could get the data from the disk that was still good but I'm not able to access anything. Now after re-installing fedora it looks like my old Volgroup is no longer configured, even though I do have the /etc/lvm/backup/LogVolume00 file that contains all the information. No matter what I try now I get the following type of error:

# vgcfgrestore -n VolGroup00-LogVol00 /dev/VolGroup00
Couldn't find device with uuid 'fAlxgd-r0R9-q45E-n150-7Gxq-rsap-zRr4RP'.
Couldn't find all physical volumes for volume group VolGroup00.
Restore failed.

My original failed drive is actually limping along now so in theory I should be able to re-mount the Volume Group and pull the data off as I haven't formatted the drives. Is there any way I can re-build the Volume Group information around the existing drives without overwriting the data?

Any help would be much appreciated.

Old 03-13-2007, 07:30 PM   #2
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 32
erm. linux software raid1 is just mirroring, so each of the 2 drives that run as raid1 as say /dev/md0 contains ALL the information and should work alone...

just to make things clear:

you created a software raid1 with 2 disk and used the raid-device as ONE physical volume for your volume group ?

what does 'cat /proc/mdstat' show ?

is the raid1 subsystem running at all ?

if NOT lvm won't work for sure.
Old 03-13-2007, 07:49 PM   #3
Senior Member
Registered: Nov 2006
Distribution: Debian Squeeze SMP AMD64
Posts: 3,318

Rep: Reputation: 126Reputation: 126
You've kind of lost me here. Did you have a failure on one drive, and then decide to wipe out the good drive? If so, then yes, you've buggered the cat.

You say that your failed drive is limping along. You also say that you reinstalled Fedora on the good drive. So can we assume that the good drive has nothing on it of any importance? IF that's the case, then can I suggest that you boot from a liveCD, and then VERY CAREFULLY use "dd" to do a bitwise copy from your ailing drive to a good drive. If you can get that to work, then you have a good chance of getting things back in good order.

OR, are you saying that the RAID1 is not the boot drive?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
create a Raid1 Mirrored LVM? Suse 10.2 carl0ski Linux - Hardware 0 12-26-2006 03:23 AM
How configuring lilo with raid1 and lvm on mandriva 2007 gibe Linux - Server 1 11-16-2006 05:56 PM
RAID1+LVM: data keeps getting corrupted Chojin Linux - Software 4 10-22-2006 09:55 AM
LVM Disk Failure R4z0r Linux - Software 3 09-19-2006 02:32 PM
LVM - recovering data after a disk failure. bogaurd Linux - Software 2 12-19-2005 11:34 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration