[Bug 1436020] Re: Multipath: underlying disks are listed for partitioning on systems w/ 26+ disks

Mathieu Trudel-Lapierre mathieu.tl at gmail.com
Fri Jul 17 16:05:45 UTC 2015


** Changed in: partman-base (Ubuntu Trusty)
       Status: New => In Progress

** Changed in: partman-base (Ubuntu Trusty)
     Assignee: (unassigned) => Mathieu Trudel-Lapierre (mathieu-tl)

** Description changed:

+ [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.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
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:
  In Progress

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 Ubuntu-sponsors mailing list