I use mdadm to manage my software raid. I created the RAID as partitionable raid 5 with the -amdp3 option for device /dev/md. I set up /etc/mdadm.conf to contain the DEVICE and ARRAY lines correctly. The ARRAY line for /dev/md contains auto=mdp3 to tell `mdadm -As` to create the device nodes for the raid and its three partitions. Running `mdadm -As` from the command line works fine. However the raid-start.sh script fails due to the call of `create_devs ${devs}` (`mdadm -As` complains about the missing device node for /dev/md). When I comment the line calling create_devs everything works fine. I guess the script has to check for the presence of the 'auto' keyword in every single ARRAY line. If the auto keyword is present the script shouldn't try to create the decive for that ARRAY leaving it to mdadm to setup the device(s). Reproducible: Always Steps to Reproduce:
sync up and re-emerge mdadm and reboot if it still doesnt work, post your /etc/mdadm.conf file
did you commit the modifications to the portage tree? Updating the tree does not update any files in /usr/portage/sys-fs/mdadm. The newest files are from Oct 16th. And the raid-start.sh in the files subfolder is the same as the one installed.
then post your mdamd.conf like i said