[Bug 1436020] Re: Multipath: underlying disks are listed for partitioning on systems w/ 26+ disks
Launchpad Bug Tracker
1436020 at bugs.launchpad.net
Tue Jul 28 17:04:02 UTC 2015
This bug was fixed in the package partman-base - 172ubuntu1.1
---------------
partman-base (172ubuntu1.1) trusty; urgency=medium
* Fix multipath support: (LP: #1430074)
- lib/base.sh: is_multipath_part(): Use 'p' (not '-part') as multipath
disk-partition separator.
- lib/base.sh: humandev(): Use 'p' (not '-part') as multipath
disk-partition separator.
- lib/base.sh: humandev(): Accept spaces in multipath WWID.
- init.d/parted: part_of_multipath(): Update grep expression for more
recent output of 'multipath -l'.
* init.d/parted: part_of_multipath(): Update grep expression for more
spaces between disk and major:minor (happens when sd[a-z][a-z] exist)
(LP: #1436020)
-- Mathieu Trudel-Lapierre <mathieu-tl at ubuntu.com> Fri, 17 Jul 2015
12:03:31 -0400
** Changed in: partman-base (Ubuntu Trusty)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to partman-base in Ubuntu.
https://bugs.launchpad.net/bugs/1436020
Title:
Multipath: underlying disks are listed for partitioning on systems w/
26+ disks
Status in partman-base package in Ubuntu:
Fix Released
Status in partman-base source package in Trusty:
Fix Released
Bug description:
[Impact]
Systems with more than 26 multipath disks will see the underlying disks listed rather than included under the multipath device (which is a separate entry in the list). This affects any user trying to install on a system with more than 26 multipath disks.
[Test case]
Install Ubuntu using d-i on a system with more than 26 multipathed disks.
[Regression Potential]
Limited to multipath. This simply folds two spaces into one and accounts for extra spaces in the output of multipath -l when there are more than 26 disks (ie. when you start to see sdaa#), by adjusting the regular expression.
---
On top of the fix in LP: #1430074, there's a minor bit missing.
It doesn't hide all underlying disks in the partitioning dialog if
there's 26+ underlying disks (i.e., enough for sdaa and so on to show
up).
It happens because, in that case, 'multipath -l' now puts 2 spaces
betweek disk and major:minor for the sd[a-z] disks, and only 1 space
for sd[a-z][a-z].
Patch attached.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-base/+bug/1436020/+subscriptions
More information about the foundations-bugs
mailing list