[Bug 1461879] [NEW] Cannot recreate md1 if partitions (ie: md1p1, md1p2) detected

Alvaro Uría 1461879 at bugs.launchpad.net
Thu Jun 4 10:37:36 UTC 2015


Public bug reported:

distribution: trusty
package: partman-auto-raid
Version: 22ubuntu1
file: ./lib/partman/display.d/55initial_auto_raid_fs
function: fix_raid_fs
lines: 22-29

Hi,

On non-partitioned disks, partman-auto-raid worked perfectly fine for
me. Re-installing just after previous install worked fine, too.

However, if one of the created raids gets partitioned (ie: md1p1, md1p2)
and a re-install is run, partman-auto-raid fails with "Error: incorrect
directory for /dev/md1".

By wiping disks partitions out (ie: dd if=/dev/zero of=/dev/sda ...),
under partman/early_command, RAID is not detected and partman-auto-raid
works again.

partman-auto-raid should automatically partition disks no matter their
previous state.

Please let me know if you would require further details.

Cheers,
-Alvaro.

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


** Tags: canonical-bootstack

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

Title:
  Cannot recreate md1 if partitions (ie: md1p1, md1p2) detected

Status in partman-auto-raid package in Ubuntu:
  New

Bug description:
  distribution: trusty
  package: partman-auto-raid
  Version: 22ubuntu1
  file: ./lib/partman/display.d/55initial_auto_raid_fs
  function: fix_raid_fs
  lines: 22-29

  Hi,

  On non-partitioned disks, partman-auto-raid worked perfectly fine for
  me. Re-installing just after previous install worked fine, too.

  However, if one of the created raids gets partitioned (ie: md1p1,
  md1p2) and a re-install is run, partman-auto-raid fails with "Error:
  incorrect directory for /dev/md1".

  By wiping disks partitions out (ie: dd if=/dev/zero of=/dev/sda ...),
  under partman/early_command, RAID is not detected and partman-auto-
  raid works again.

  partman-auto-raid should automatically partition disks no matter their
  previous state.

  Please let me know if you would require further details.

  Cheers,
  -Alvaro.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-auto-raid/+bug/1461879/+subscriptions



More information about the foundations-bugs mailing list