Disks utility fails to create RAID on default install

Bug #1498685 reported by Ignacio Marcoux
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux Mint
New
Undecided
Unassigned

Bug Description

On a clean Min 17.2 install, if you go to "Disks", click the "tick" icon and select 2 (or any amount probably) drives. "Create RAID" button appears. Select RAID 1 (Mirror) and press Create. Press create again to confirm. It will fail saying

Error creating RAID array
Error creating RAID array: Error spawning command-line `mdadm --create /dev/md127 --run --level raid1 --raid-devices 2 "/dev/sdb" "/dev/sdc"': Failed to execute child process "mdadm" (No such file or directory) (g-exec-error-quark, 8) (udisks-error-quark, 0)

This is obviously because a clean install does not include mdadm. The way it fails is however very cryptical. Any of the following should happen (from hardest to easiest solution):

a) It should install mdadm if it is missing
b) It should work out of the box, by having mdadm included.
c) It should have a clear error message saying "You need to install package mdadm to continue this operation"

100% reproduction rate on a clean install (unless of course you enabled RAID at installation time, this is assuming a default install on a single HDD)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.