[lkml]   [2002]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: [RFC] Multi-path IO in 2.5/2.6 ?
Alan Cox wrote:
> On Tue, 2002-09-10 at 15:06, Cameron, Steve wrote:
> > We can use the md driver for this. However, we cannot boot from
> > such a multipath device. Lilo and grub do not understand md multipath
> > devices, nor do anaconda or other installers. (Enhancing all of those,
> > I'd like to avoid. Cramming multipath i/o into the low level driver
> > would accomplish that, but, too yucky.)
> >
> > If there is work going on to enhance the multipath support in linux
> > it would be nice if you could boot from and install to such devices.
> Booting from them is a BIOS matter. If the BIOS can do the block loads
> off the multipath device we can do the rest. The probe stuff
> can be done
> in the boot initrd - as some vendors handle raid for example.

Well, the BIOS can do it if it has one working path, right?
(I think the md information is at the end of the partition,)
Maybe it will have some trouble if the primary path is failed,
but ignoring that for now. In the normal case, the bios shouldn't
even have to know it's a multipath device, right?

lilo and grub as they stand today, and anaconda (et al) as it
stands today, cannot do it. They can do RAID1 md devices only.
lilo for example will complain if you try to run it with
boot=/dev/md0, and /dev/md0 is not a RAID1 device. At least
it did when I tried it. When I looked at the lilo source, it
goes through each disk in the raid device and puts the boot
code on each one, a la RAID1. No provision is made for any other
kind of raid. Raid 5, naturally is much harder, and is unlikely
to have BIOS support, so this is understandable. Multipath seems
much closer to raid1 in terms of what's necessary for booting,
that is, much much easier than raid 5. I tried hacking on lilo a
bit, but so far, I am unsuccessful. I think grub cannot even do

I agree in principle, the initrd scripts can insmod multipath.o
to get things rolling, etc. The trouble comes from lilo, grub
and install time configuration.

-- steve

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:22    [W:0.048 / U:1.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site