[Bug 560748] Re: Installer hides the master device for dmraid 10 (1+0) configurations

Robert Collins 560748 at bugs.launchpad.net
Wed Jun 29 21:23:59 UTC 2011


(Oh, and though this bug is about nvidia implementations, the intel one
appears suffers the same bug when using the blocks/.../slaves approach:
the actual root is a slave of two mirror sets.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to parted in Ubuntu.
https://bugs.launchpad.net/bugs/560748

Title:
  Installer hides the master device for dmraid 10 (1+0) configurations

Status in “parted” package in Ubuntu:
  In Progress

Bug description:
  When using dmraid 0+1, several devices appear in /dev/mapper to
  describe the strips that form the legs of the mirror, and the mirror
  itself.  The installer only gives the choice of using the two stripes
  that form the legs, and not the whole mirror.  For example, in
  /dev/mapper:

  nvidia_bfcdciea-0 and nvidia_bfcdciea-1 are the stripes, which are
  then mirrored to create nvidia_bfcdciea.  The partitions are then
  detected on nvidia_bfcdciea as nvidia_bfcdciea[1234].  See the screen
  shot in comment #24 for what Ubiquity shows during the partitioning
  stage.

  Workarounds
  ===========

  Build a new libparted during the install:
   - boot the live cd
   - open a terminal and do:
  $ sudo apt-get build-dep parted
  $ cd /tmp
  $ apt-get source parted
  edit debian/patches/dmraid.patch

  look for the line
  +                                                       if (_is_dmraid_major(buf)) {
  (its about 20 lines into the patch)
  and change it to be
  +                                                       if (1) {

  Then run 
  $ dpkg-buildpackage -rfakeroot -us -uc
  and finally 
  $ sudo dpkg -i ../libparted0debian1_*

  To test the workaround is in place run
  $ sudo parted_devices

  This should now show (too many) devices but include the root one (e.g.
  /dev/mapper/isw-someuuid_NAME0).

  Run ubiquity and the install will now let you choose the right device.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/560748/+subscriptions




More information about the foundations-bugs mailing list