[lug] SW Raid question

Hugh Brown hugh at math.byu.edu
Wed Jul 25 09:52:49 MDT 2007



On Tue, 24 Jul 2007 dio2002 at indra.com wrote:

> > So I learned a bit more.  device (hd0) /dev/sdb really seems to mean,
> > "while in this grub session anytime I say hd0 write it to /dev/sdb
> > instead of whatever you thought hd0 was before"  So, you both were right.
> > -----------------------------------
>
> yeah.. nice.  i really appreciate you walking through those tests.  it's
> good to have some verification to what i thought was correct.  now i can
> feel more comfortable about it moving forward.
>
> > Conclusions:  If you set up sw raid outside of the installer, make sure
> > grub bits get installed to the mbr of all drives used.  If you do set up
> > your machine with sw raid at install time, the drive will have the right
> > grub bits.  If a disk fails, as part of adding it back in, make sure you
> > put the grub bits back.
>
> one addition to that.. after install, grub WILL install the PRIMARY
> install disk correctly.  but i believe you MUST still manually grub the
> secondary mirror.  install does not do that from what i understand.
>
> > I have no idea what is going on at those three offsets.
>
> me either.. and i'm not sure i want to know ;-)
>
> thanks for the tests


I think there is more at work than this.  On both disks  the boot
sector
was all zeroes where the usual grub bits should have been.  It also booted
from the secondary mirror after an install (w/o having done the grub>
setup (hd1)).

Maybe more testing.

Hugh




More information about the LUG mailing list