« Biosecurity & Biodefense Organizations Resource - Federation of American Scientists | Main | CPAN (Net::FTP) for Perl Hangs on Cygwin »

April 12, 2006

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d83451754b69e200d834aad59a53ef

Listed below are links to weblogs that reference Recovering RAID on Linux in Rescue Mode:

Comments

Cameron Gregory

thanks for your info. It's been a bit of a nightmare, and we are not done yet, but your information has proved quite valuable.

thanks,

Cameron

John Moore

Thank you!

John

Many thanks, Well written and very easy to follow. Not to mention a life saver!

Cheers,
John

Thomas Harold

When re-assembling arrays, you probably don't need to create the mdadm.conf file with the DEVICE lines.

Instead, you can probably just get away with:

# mdadm --examine --scan >> /etc/mdadm.conf
# mdadm --assemble --scan

Which will automatically assemble any existing RAID devices. (Tested with the CentOS5 install DVD in "rescue" mode.)

gheorghe

You should put the boot loader on the mbr of all your hard drives. With your setup, if hda would fail, your system would not be able to boot.

rbuccigrossi

Ghoerghe, that explains one of the issues I encountered... Thanks!

Aaron Couts

Thanks for a great writeup, it was extremely helpful! My 'linux rescue' session did not create mdX devices above md0, so I had to create them manually before running the "mdadm --assemble --scan /dev/mdX" commands:

mknod /dev/md1 b 9 1
mknod /dev/md1 b 9 2
mknod /dev/md1 b 9 3
... etc.

Amir h Shenavandeh

Hi ,
Thanks for your great article . It is a real life saver .
Just for more info to gather key point together:
If you are stocked in rescue mode with unregistered LVMs ,
try: lvm vgchange -ay
and the magic happens in /dev .

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment