Linux Software Raid 1 Recovery Question

ron.peterson at yellowbank.com ron.peterson at yellowbank.com
Wed Sep 25 11:24:08 EDT 2002


On Wed, Sep 25, 2002 at 09:56:12AM -0400, Kent Borg wrote:

> So here I am a big fan of software raid and then I discover I am
> missing a BIG aspect: how to survive a dead disk.  (A.k.a., I don't
> understand how PCs boot.)
> 
> Here is the scenario.  A bootable software raid 1 Red Hat 7.3 install.
> One disk is /dev/hda and one is /dev/hdc.  Each is a copy of the
> other.  I am using lilo because the Red Hat installed knew how to do
> that--or at least kinda.
> 
> Now imagine the disk on /dev/hda dies.  The disk on /dev/hdc should
> keep running, or at least be bootable.  To simulate this I powered
> down and pulled the IDE cable on the /dev/hda disk.  And it won't
> boot.
> 
> What is the right way to do this?

Are you running lilo or grub?  Likely you only had an MBR written to
/dev/hda.  You should be able to recover by booting from, say, a RH
installation CD in rescue mode.

Try the opposite - pull /dev/hdc instead of /dev/hda.

-- 
Ron Peterson                   -o)
87 Taylor Street               /\\
Granby, MA  01033             _\_v
https://www.yellowbank.com/   ---- 



More information about the Discuss mailing list