StupID n00b
Joined: 23 Dec 2003 Posts: 13 Location: Southwest
|
Posted: Sat Mar 19, 2005 11:26 pm Post subject: Can not start software RAID5 with udev |
|
|
I have been running udev succesfully on other computers so I decided to switch to udev on my computer running a software raid. I experienced the same problems that others have seen where udev did not create the /dev/md* entries for me at boot so I added it to /etc/init.d/checkfs for now. After fixing that problem, raidstart no longer complained that it could not find /dev/md2 (where my raid array sits). Instead I now get the error "/dev/md2 invalid argument" when raidstart runs.
I have verified that the appropriate /dev/md* devices exists when I boot. I have also tried running "raidstart --all" by hand but I get the same error. If I switch back to devfs using the kernel option "gentoo=noudev" the RAID array loads fine. I did compare the /dev enrties for the md devices under udev and devfs. They where bascally the same expect for one thing. The link from /dev/md2 to /dev/md/2 had the permissions of rwx for the symbolic link under udev but for devfs its only rx. Could this make a difference? Why would devfs, under which the array works, not have write permission for the symoblic link?
Some info:
I am running ck-sources-2.6.11-r2
I upgraded from baselayout-1.9.4-r6 to 1.11.10-r2 as suggested in another thread but it did not help
The drives are configured NOT to be presistent so the kernel is not auto loading them
I am using raidtab to define the drives ( would switching to mdadm.conf help? ) |
|