Bug#442382: please add support for multipath devices

Guido Guenther agx at sigxcpu.org
Sat Sep 15 16:33:53 UTC 2007


Package: grub
Version: 0.97-29
Severity: wishlist
Tags: patch

Hi,
while adding multipath support to d-i
(http://wiki.debian.org/DebianInstaller/MultipathSupport) I noticed that
running grub-install on multipath'ed devices currently fails. The first
part of the attached patch adds the proper code to grub-install when
user_friendly_names are used (as done by d-i).  The second part
(device.c) returns the correct partition names (Partition names are
/dev/mapper/mpath[0-9]\+-part[0-9]\+ where the underlying dm device is
/dev/mapper/mpath[0-9]\+). Ideally we'd check if the device is indeed a
device mapper device by looking up the maptype, but we'd need to link
against libdevmapper therefore - would this be an option - maybe for
grub2?
Cheers,
 -- Guido
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grub-multipath.diff
Type: text/x-diff
Size: 2213 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20070915/7a9cbc56/attachment.diff 


More information about the Pkg-grub-devel mailing list