raid10 support should be added to installer

Bug #139514 reported by Jerome Haltom
12
Affects Status Importance Assigned to Milestone
mdcfg (Ubuntu)
In Progress
Wishlist
Unassigned

Bug Description

The Linux md driver supports a "raid10" module which is different than layering 0 on 1. This raid format should be available during the install of Ubuntu.

It has options available in addition to listed devices, but they can most likely be left out of the installer if adding them blocks this for gutsy.

Revision history for this message
Colin Watson (cjwatson) wrote :

There's a separate bug for the general task of adding RAID support to Ubiquity, but RAID10 would also need to be added to d-i (mdcfg).

Changed in mdcfg:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Daniel J Blueman (danielblueman) wrote :
Changed in mdcfg:
status: Triaged → In Progress
Revision history for this message
Colin Watson (cjwatson) wrote :

Thanks! In and of itself, this patch looks fine, though it'll need a feature freeze exception.

Shouldn't there be some kind of control over spare devices here? http://cgi.cse.unsw.edu.au/~neilb/01093607424 says that Linux raid10 supports that, and since we're already doing that for RAID1 it seems to make sense to support it here too.

Revision history for this message
Steve Langasek (vorlon) wrote :

FFe granted, with or without the further changes Colin suggests regarding spare device settings.

Is there any hope of seeing translations of the newly-added debconf question? Perhaps submitting the changes to Debian and using the d-i translation infrastructure there would be most effective, but I'm not sure how effective that would be after all while Debian is in the lenny freeze?

Revision history for this message
Steven Wagner (stevenwagner) wrote :

Will the patch work with grub too? With hardy, grub didnt support booting off a raid10 partition. I thought thats why it wasn't included in the installer, but I would love to see this make it in.

Revision history for this message
Daniel J Blueman (danielblueman) wrote :

GRUB still isn't able to boot from RAID10 partitions, however this needs avoiding for /boot or / (if there is no /boot). Thus, the installed should certainly allow RAID10 partitions to be created for other mount points.

Arguably, linux's RAID10 format is one of the two most all-round performant formats (with RAID5), and we should develop, integrate and test this patch for Jaunty Jackalope.

Revision history for this message
Jerome Haltom (wasabi) wrote :

I'd be suprised if GRUB is ever able to boot from RAID10. That type of heavy block swapping logic would be very out of place in GRUB... and you'd not be able to get the boot sector working right anyways. The /boot partition will need to be a mirror or plain partition. I don't see this changing.

The installer should just make sure that /boot is something compatible. RAID1 or plain partition, with compatible file system.

Revision history for this message
Steven Wagner (stevenwagner) wrote :

Informative comments, thank you. Along with adding RAID10 support, we should also show a warning that stops the user from the /boot mount to be on a raid10 partition, or the root mount being on the raid10 partition if there is no /boot mount selected. Currently, the installer will continue, and the user will get a critical failure at the boot loader install portion of the installer, that doesn't describe why grub failed.

Revision history for this message
Mark Foster (fostermarkd) wrote :

Please let's get this into the next LTS release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.