Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112418 - raid-start.sh / mdadm does not create device nodes at boot
Summary: raid-start.sh / mdadm does not create device nodes at boot
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-13 07:29 UTC by Christian Quast
Modified: 2005-11-14 06:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Quast 2005-11-13 07:29:39 UTC
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:
Comment 1 SpanKY gentoo-dev 2005-11-13 13:06:13 UTC
sync up and re-emerge mdadm and reboot

if it still doesnt work, post your /etc/mdadm.conf file
Comment 2 Christian Quast 2005-11-14 06:32:56 UTC
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. 
 
Comment 3 SpanKY gentoo-dev 2005-11-14 06:33:35 UTC
then post your mdamd.conf like i said