[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question about Raid/Boot



On 9/1/08, Claudius Hubig <nfs_2008@chubig.net> wrote:
> Tom Allison <tom@tacocat.net> wrote:
> > From what I recall reading the logs at startup if I put my boot system
> >on a software raid 1 it appears to boot from disk #1 then mount the RAID
> >and finish from there.
> >
> >Am I correct so far?
> >
> >The ultimate question is this:
> >If I have a disk failure on a boot/raid1 system (/dev/hda), can I simply
> >replace that dead disk with a new one (empty, formated, partition,
> >doesn't matter?) and it will magically boot from the available disk
> >(/dev/hdb) and fix itself?  Or is there more to this?
>
> I got something very similiar to your setup and have to say - no, it
> won't. You'll have to make your BIOS boot from the second disk (and
> have to install grub in the MBR before) or use a rescue disk to boot
> the system. Then, adjust the partitions on the new drive and add them
> to your raid.
>
> You can, however, configure your BIOS that it tries to boot from
> every available hard disk and switches to your second disk when the
> first one fails. Nonetheless, this disk needs a valid MBR as well.
>
> Greetings,
>
> Claudius

I'm going to sound dumb, but isn't that just marking it bootable and
then running grub on the second disk to set the grup boot files in
place on the second disk?


Reply to: