Prompt for BOOT_DEGRADED=true|false in the installer
Bug #268580 reported by
Dustin Kirkland
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mdadm (Ubuntu) |
Fix Released
|
Medium
|
Dustin Kirkland | ||
partman-md (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
partman-target (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: partman-target
If installing / or /boot onto a RAID device, the Ubuntu installer should ask the if they want to configure their system to boot if the root RAID becomes degraded.
This debconf configuration is currently held in the mdadm package. However, we should really prompt for this information within the installer.
I'm currently working on a patch against partman-target, which does some checking with respect to the partitioning. The code may well end up elsewhere, but for now, it seems like a reasonable location.
:-Dustin
Changed in partman-target: | |
assignee: | nobody → kirkland |
importance: | Undecided → Medium |
milestone: | none → intrepid-alpha-6 |
status: | New → In Progress |
To post a comment you must log in.
When a disk fails in a running system a raid will run degraded. The System doesn't stop, and probably should't. The mdadm notification functionality brings this to the admins attention.
So changing the default to bootdegraded=yes seems reasonable, once the patches are tested to work with enough configurations, and will be safe, if no other md devices than the ones neccessary to set up the fstab are touched.
(This is when mdadm --incremental is used in udev rules and only specific raids will be run even degraded on boot with mdadm --run /dev/mdX)