[Top][All Lists]

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

[grub #55] grub ignorant of RAID-1

From: sam
Subject: [grub #55] grub ignorant of RAID-1
Date: Thu, 06 Mar 2003 11:07:04 +0900

Reporter: address@hidden
Summary: grub ignorant of RAID-1
Version: 0.91-2 (debian woody)
Type: feature request

Currently, GRUB does not deal with a mirrored file system very well.

Under Linux, Grub should recognise that /dev/md0 or /dev/md/0 is a mirror 
device, and query /proc/mdstat to find out what the real devices are 
underneath, and duplicate its actions for both mirrors.  Alternatively, this 
could be configured through device.map.

Looking through stage1/stage1.S, I think it would do quite well in this 
configuration without much change.

In the menu.lst, you could notify GRUB of the configuration of mirroring, so 
that it can try the second disk if the first one fails.  Alternatively, when it 
is scanning disks it could note disks with type=fd (linux raid autodetect) and 
just DTRT.

I think most of the changes are in the unix grub client though - making it not 
barf with `Cannot find BIOS disk for device /dev/md0'.  At the moment 
device.map is not flexible enough, I want to be able to configure something 
like this:

(hd0)     /dev/hda
(hd0)     /dev/sda
(hd0,0)   /dev/md0
(hd1,0)   /dev/md0

I switched back to LILO for RAID-1 root support, only to inconsistently hit LI 
01 01 01 01 01 01... when I tried to reload a kernel ... the pain...

This is the one feature that is holding me back from putting GRUB everywhere!

Please send followups to <address@hidden>.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]