From mboxrd@z Thu Jan 1 00:00:00 1970 From: Moshe Yudkowsky Date: Sun, 29 Jan 2006 14:49:56 +0000 Subject: Re: 2.6.15: mdrun, udev -- who creates nodes? Message-Id: <43DCD614.20705@pobox.com> List-Id: References: <43DCA9CA.5020505@bl.com> In-Reply-To: <43DCA9CA.5020505@bl.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Marco d'Itri wrote: > On Jan 29, Moshe Yudkowsky wrote: > > >>This won't crash anything, to the best of my knowledge; but which >>package is supposed to have "control" of creating /dev/md[0-9]*? udev >>has a rule (under compat-full) that creates this same symlink. > > Indeed I do not understand why mdrun does this. > > Anyway, the problem is that while udev is supposed to create the devices > it cannot do it until the RAID array has been assembled, and the array > cannot be assembled unless the device node is available. > This needs to be fixed in the kernel, but apparently nobody cares enough. There's an option on mdadm, --auto, that creates the device nodes if needed. That's in theory. In practice, I find that "mdadm --assemble --scan --config=/etc/mdadm/mdadm.conf --auto" doesn't work. All three drives listed in the config file fail to start. I'm wondering just what the problem might be (config file requires UUID, not just ARRAY?); but it's clearly an issue for mdadm. And the inability to startup 2.6.15 using RAID drives that don't start at /dev/md/0 is quite disquieting. -- Moshe Yudkowsky * moshe@pobox.com * www.pobox.com/~moshe "I leave my soul to G-d, my service to my Prince, my good wishes to my friends, and my love and charity to you all." - Montrose, on the gallows, 21 May 1650 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel