I'd prefer to extract the name from multipathd or device-mapper itself, rather than assume we know how either will treat names with spaces. Different versions of multipath on other releases may have different behavior on how they shorten the name or deal with spaces.
In curtin, we're extracting a WWID from the block device itself, which has a WWID with spaces. However, multipath itself should have written out /etc/multipath/wwids and/or /etc/multipath/bindings; or at least it appears that one is written into your initrd.
Tiago,
Thanks for the patch.
I'd prefer to extract the name from multipathd or device-mapper itself, rather than assume we know how either will treat names with spaces. Different versions of multipath on other releases may have different behavior on how they shorten the name or deal with spaces.
In curtin, we're extracting a WWID from the block device itself, which has a WWID with spaces. However, multipath itself should have written out /etc/multipath/ wwids and/or /etc/multipath/ bindings; or at least it appears that one is written into your initrd.
Can you attach those files to the bug?