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

Re: Best file system



On Sat, 04 Feb 2006, Marcin Owsiany wrote:
> On Fri, Feb 03, 2006 at 09:23:58PM -0200, Henrique de Moraes Holschuh wrote:
> > How do you guys install GRUB on a software RAID1 in such a way that it will
> > boot if the primary HD goes boom and the BIOS renames the drives?
> 
> Suppose you have md0 on sda1 and sdb1, and BIOS orders them in such way:
> HD0: sda
> HD1: sdb

You mean 0x80: sda and 0x81 sdb.  Correct.

> And that you already have grub set up on sda (during installation or
> however).

Which will be in sda's MBR, and not inside md0.

> Then you do:
> 
> # grub
> > device (hd0) /dev/sdb
> > root (hd0,0)
> > setup (hd0)
> 
> When you unplug sda, then sdb becomes HD0 and everything works as it
> should (since root is on md, you don't need to change fstab). You only

It is high time to teach grub another non-joke-toy hability:
 "device (hd0) /dev/sda /dev/sdb [...]"...

Since it already has serial console, that would make it a good choice over
LILO.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



Reply to: