/!\ In order to test Multipath in d-i you still need a patched grub (442382) but see below.

D-I Multipath Testing

To enable multipath support during installation use

    install disk-detect/multipath/enable=true

at the installer prompt. If multipath devices are found these will show up as /dev/mapper/mpath<X> during installation.

Installing Grub Legacy

Since neither Debian's grub nor grub2 support multipath device names yet (483971), you have to manually install a patch grub legacy (442382) during installation. A prebuilt deb for i386 is available here. (In case you need to built for another architecture, the sources are available via this git tree).

Method 1

Proceed with the installation until the installer asks you if you want to install grub on the multipath device then:

Method 2

This method works if you're installing via a serial console and can't switch VTs. Finish the installation until you're asked to reboot. Then:

  chroot /target
  dpkg -i /tmp/grub*deb
  echo "(hd0) /dev/mapper/mpath0" > /boot/grub/device.map
  grub --device-map=/boot/grub/device.map

  root (hd0,0)
  setup (hd0)
  quit

Multipath Support in Debian Installer:

Squeeze

These are the know open issues for Squeeze, please test and provide feedback:

Lenny

This needed/needs to be done to support multipathing natively in DebianInstaller:


CategoryPermalink