| Summary: | Disks member of ddf array (Fake raid) are displayed in diskdrake | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Jean-Philippe Braun <eon> |
| Component: | Installer | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | CVE: | ||
| Status comment: | |||
| Attachments: | detect ddf members | ||
Created attachment 4317 [details]
detect ddf members
I wanted to say: "On MGA1 they were correctly detected as members" |
Since MGA2, Disks member of ddf array are displayed in diskdrake. On MGA they were correctly detected as members of the array so they weren't displayed in diskdrake. Even if the dmraid code of the installer hasn't changed, I noticed that a perl map wasn't working as it should. I'm an absolute noob in perl but here is a patch that restore the old behaviour. You can test fake raid ddf arrays in VMs like this: - Create a VM with 2 disks with the same size - Boot a livecd with mdadm - Run the commands: mdadm -C /dev/md/ddf -e ddf -l container -n 2 /dev/sda /dev/sdb mdadm -C /dev/md/array1 -l raid1 -n 2 /dev/md/ddf - Reboot with the Mageia installer Reproducible: Steps to Reproduce: