Cannot recreate md1 if partitions (ie: md1p1, md1p2) detected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partman-auto-raid (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
distribution: trusty
package: partman-auto-raid
Version: 22ubuntu1
file: ./lib/partman/
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/
partman-auto-raid should automatically partition disks no matter their previous state.
Please let me know if you would require further details.
Cheers,
-Alvaro.
Status changed to 'Confirmed' because the bug affects multiple users.