grub should support dmraid fakeraids
Bug #73141 reported by
Tormod Volden
This bug report was converted into a question: question #55221: grub should support dmraid fakeraids.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Setting up grub is a pain if you have installed to a "fakeraid" which uses the dmraid package. It seems like the grub utilities have some support for the software raids (which appear under /dev/md*) but not for dmraid (which appear under /dev/mapper).
There are plenty of things to be fixed in the installer for dmraid support, but I would like to track the grub part here.
To post a comment you must log in.
This patch adds some dmraid support to update-grub, at least as much as for the software raids:
If update-grub detects your root on /dev/mapper it will check if it is a dmraid, and then decode which real disk this resides on. (Currently, it will pick the first disk from the raid set.)
For upgrade-grub to write out the correct #groot from this, the real disk has to appear in device.map, for instance:
hd(0) /dev/sda
Making upgrade-grub to directly interpret a raid device in device.map and not worry about the linux name of the real device is work-in-progress: your_raid_ device
hd(0) /dev/mapper/
I am not even sure that this should be done, depending on what other utilities might use device.map for.