[dm-devel] RAID5 support ?

Alan Hourihane alanh at fairlite.demon.co.uk
Mon Oct 24 12:46:13 UTC 2005


On Mon, 2005-10-24 at 09:54 +1000, Neil Brown wrote:
> On Saturday October 22, alanh at fairlite.demon.co.uk wrote:
> > > More usefully though, I'd be very happy to talk about how md/raid5 can
> > > be made to be sufficient.  I'd be happy for it to integrate more
> > > closely with dm, if that was seen to be of value.
> > 
> > That'd be useful Neil.
> > 
> > I'll explain the problem.
> > 
> > I've got a SIL3114 controller with 4 x 200GB drives attached. Now that
> > SIL controller supports RAID5. Given that I set the RAID support up in
> > the BIOS I can now boot from the array.
> > 
> > If one of those disks die, I understand that the BIOS will still allow
> > me to boot from the array, even though the primary disk may have died.
> > 
> > In the md/raid5 setup, I'm not sure that's the case and if you lose the
> > primary you have to muck about with your bootloader to fix things up.
> 
> It seems the core problem here is that you need soft-raid5 in Linux
> which can work with the metadata that is stored by the BIOS on the SIL
> controller. 
> This shouldn't be too hard to do, providing it is reasonably
> documented.
> 'md' has all the meta-data operations reasonably well factored out, so
> working with new formats shouldn't be difficult.

That to me still doesn't resolve the bootloader problems.

Regardless of the md understanding the meta-data operations, it deals
with partitions and therefore the boot sector of each drive in an md
setup is outside the scope of it's operation.

Unless I'm missing something, this is where device-mapper really is
useful, and presents a single drive to linux.

Alan.




More information about the dm-devel mailing list