Public bug reported:

Binary package hint: partman-md


Partman fails if you try to set up raid with existing raid superblocks on some 
devices. (i.e. on re-installs/updates, if you want to reuse or even if you 
deleted exsiting raid partitions/devices.)

Partman may get confused as raid devices get set up after partman
(re)creates a partition and it happens that there is an superblock (at
the beginning or end). Udev/mdadm sets it (partially) up and devices are
in use.

The common workaround suggested is to make sure to allways "mdadm
--zero-superblock" raid partitions/devices prior to deleting them, or to
to "just zero the entire disk between reinstallation attempts" (often
heard after bad experiences).

But partman-md should probably really watch out for/expect to see md
devices being set up, and take them into account. (list them, offering
to --stop, re-assemble as a real non-auxiliary device (not md127 and
up),  --zero-superblock if needed, ...)

related:
Bug #22301 
Bug #33117 
Bug #569900

** Affects: partman-md
     Importance: Undecided
         Status: New

** Affects: partman-md (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: partman-md
   Importance: Undecided
       Status: New

-- 
existing raid superblocks confuse/break the install
https://bugs.launchpad.net/bugs/571653
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to