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

Phillip Susi psusi at cfl.rr.com
Sat Jan 7 23:41:24 UTC 2012


*** This bug is a duplicate of bug 311179 ***
    https://bugs.launchpad.net/bugs/311179

** This bug has been marked a duplicate of bug 311179
   libparted hides fakeraid raid10 disks

-- 
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