<div dir="ltr">I've been unable to get a successful multipath install working on Ubuntu 12.04. I see that the multipath module is loaded correctly, but my drive still shows up as /dev/sd[a-d] and nothing is in /dev/mapper.<div>
<br></div><div>Here's the relevant parts of my preseed:</div><div><br></div><div><div><font face="courier new, monospace">disk-detect disk-detect/multipath/enable boolean true</font></div><div><font face="courier new, monospace"><br>
</font></div><div><font face="courier new, monospace">d-i partman-lvm/device_remove_lvm boolean true</font></div><div><font face="courier new, monospace">d-i partman-lvm/device_remove_lvm_span boolean true</font></div><div>
<font face="courier new, monospace">d-i partman-auto/purge_lvm_from_device boolean true</font></div><div><br></div><div><font face="courier new, monospace">d-i partman-auto/method string lvm</font></div><div><font face="courier new, monospace"><br>
</font></div><div><font face="courier new, monospace">d-i partman-lvm/device_remove_lvm boolean true</font></div><div><font face="courier new, monospace">d-i partman-md/device_remove_md boolean true</font></div><div><font face="courier new, monospace">d-i partman-lvm/confirm boolean true</font></div>
<div><font face="courier new, monospace">d-i partman-lvm/confirm_nooverwrite boolean true</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">d-i partman-auto/init_automatically_partition \</font></div>
<div><font face="courier new, monospace"><span class="" style="white-space:pre"> </span>select Guided - use entire disk and set up LVM</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">d-i partman-auto-lvm/guided_size string max</font></div>
<div><font face="courier new, monospace">d-i partman-auto-lvm/new_vg_name string vg00</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">d-i partman-auto/expert_recipe string \</font></div>
<div><font face="courier new, monospace"> boot-root :: \</font></div><div><font face="courier new, monospace"> 64 128 128 ext3 \</font></div>
<div><font face="courier new, monospace"> $primary{ } $bootable{ } \</font></div><div><font face="courier new, monospace"> method{ format } format{ } \</font></div>
<div><font face="courier new, monospace"> use_filesystem{ } filesystem{ ext4 } \</font></div><div><font face="courier new, monospace"> mountpoint{ /boot } \</font></div>
<div><font face="courier new, monospace"> . \</font></div><div><font face="courier new, monospace"> 128 512 20% linux-swap \</font></div>
<div><font face="courier new, monospace"> method{ swap } format{ } \</font></div><div><font face="courier new, monospace"> . \</font></div>
<div><font face="courier new, monospace"> 2048 4096 6144 ext3 \</font></div><div><font face="courier new, monospace"> method{ format } format{ } $lvmok{ } \</font></div>
<div><font face="courier new, monospace"> use_filesystem{ } filesystem{ ext4 } \</font></div><div><font face="courier new, monospace"> mountpoint{ /var/log } \</font></div>
<div><font face="courier new, monospace"> . \</font></div><div><font face="courier new, monospace"> 2048 4096 100% ext3 \</font></div>
<div><font face="courier new, monospace"> method{ format } format{ } $lvmok{ } \</font></div><div><font face="courier new, monospace"> use_filesystem{ } filesystem{ ext4 } \</font></div>
<div><font face="courier new, monospace"> mountpoint{ / } \</font></div><div><font face="courier new, monospace"> . \</font></div>
<div><font face="courier new, monospace">d-i partman/default_filesystem string ext4</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">d-i partman/confirm_write_new_label boolean true</font></div>
<div><font face="courier new, monospace">d-i partman/choose_partition select finish</font></div><div><font face="courier new, monospace">d-i partman/confirm boolean true</font></div><div><font face="courier new, monospace">d-i partman/confirm_nooverwrite boolean true</font></div>
<div><br></div>-- <br><div dir="ltr">Stephen Wood<div><a href="http://www.heystephenwood.com" target="_blank">www.heystephenwood.com</a></div></div>
</div></div>