Package: mdadm Version: 1.9.0-1 Followup-For: Bug #294404
Hello,
I've been trying to setup md-raid on a system using udev and ran across the problem described in this bug. AFAICS udev won't create device nodes as long as there is no device initialized in the kernel. OTOH mdadm insists on having a device node for the RAID before it is built. So far my understanding of the problem.
Now my solution. mdadm 1.9.0 has the "auto" option for the mdadm.conf file. However it seems to be picky about the position of that statement inside the conf file. So far, it has worked for me only if auto=md was the last statement for the ARRAY definition. Another problem: it seems that "DEVICE partitions" in mdadm.conf doesn't properly detect all raid partitions. I've replaced that line with the "old-style" def. Here my working mdadm.conf:
DEVICE /dev/sda*, /dev/sdb* ARRAY /dev/md0 level=raid1 num-devices=2 UUID=........ devices=/dev/sda1,/dev/sdb1 auto=md
This works nicely on a couple of machines here. The partitions are type 0xFD (raid autodetect).
Hope that helps.
Warm regards, -Dimitri
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]