-
Committer:
Scott Moser
-
Date:
2015-06-18 17:16:27 UTC
-
mfrom:
(219.1.13 trunk.grub-mpath)
-
Revision ID:
smoser@ubuntu.com-20150618171627-e83ur03x4qncsae2
merge more multipath work / boot by root=/dev/mappings/mpathX-partY
This contains a couple different changes/fixes.
The biggest one is change in how multipath boot is set up.
Instead of configuring all the multipath devices with mpath names,
we only do so for the disk with the root partition.
Then, we boot with root=/dev/mappings/mpath0[-partX] rather than
booting with UUID, which is unreliable (LP: #1429327).
* support wiping full partition or disk in helpers/common
* wipe full PReP partition to avoid grub complaining about
it not being empty.
* when we run 'multipath -F' to un-setup multipath devices
we need to accept an exit code of '1' which occurs when not
some multipath devices are busy (such as if they're mounted).