Bug#483971: Fwd: Re: grub-installer: no support for dmraid and multipath for grub2

Robert Millan rmh at aybabtu.com
Wed Jun 11 20:53:36 UTC 2008


On Wed, Jun 11, 2008 at 08:04:37PM +0200, Guido Günther wrote:
> 
> The reason is that grub_util_get_grub_dev treats mp as LVM. I'll fix
> this up but I'm unsure what grub_util_get_grub_dev is supposed to
> return?

grub_util_get_grub_dev() returns the corresponding GRUB drive for a given
Linux device.  This can be (hdX), (mdX) or (some-lvm-name).

The question here is how GRUB should treat your multipath device.  If it
is like any normal device, in that the BIOS will report it to GRUB as a
disk, you should arrange grub_util_get_dev_abstraction() to return
GRUB_DEV_ABSTRACTION_NONE.

If it's just an alias for an existing device, we'll probably have to
think this through.

And if it's something fancier like RAID or LVM, it'll take some work to
implement.

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What good is a phone call… if you are unable to speak?
(as seen on /.)





More information about the Pkg-grub-devel mailing list