On Apr 10, 5:31pm, [EMAIL PROTECTED] wrote: } Subject: Re: AW: Raid 1 autodection problems > The md= ... kernel command line did not do the trick for me. > > I tried some more and made the following observations: > > The RAID-1 array is autodetected fine with my low-level SCSI > drivers (aic7xxx and qlogicfc) and the RAID drivers compiled > into the kernel. But this is not the way I want to go. It > messes up the rest of the system. > > With the low level drivers scsi loaded as modules via initrd > the autodetection fails, with or without kernel command line. Common problem and one that I just got done dealing with when we were putting together a module based kernel RPM. When the kernel initially boots the autodetect code gets run but since the drivers (SCSI/FC) are not loaded the autodetect fails since it needs to read the partition tables which it cannot without block drivers. It has been my experience that the autodetect code will get run again when the initrd root mountpoint is replaced with the 'real' mountpoint. Of course this won't do you any good when mounting a /dev/md* device since the mount will fail secondary to not having the RAID started. We solved this by doing a raidstart after the block drivers were loaded by the linuxrc script. This of course requires that the raidstart binary, a relevant copy of a raidtab file and the md* device nodes be available to linuxrc. I could certainly send you the RPM post-install script that we use to create the initrd image for our kernel modules. It is meant to be run by a modified version of RPM that allows interactive post/pre/trigger scripts. The actual initrd creation functions might be helpful. Let me know. > Any ideas? > > Thanks and best regards ... Alex > > Alexander Warmuth > IBM Storage Solutions Group }-- End of excerpt from [EMAIL PROTECTED] As always, Dr. G.W. Wettstein, Ph.D. Enjellic Systems Development, LLC. 4206 N. 19th Ave. Specializing in information infra-structure Fargo, ND 58102 development. PH: 701-281-4950 WWW: http://www.enjellic.com FAX: 701-281-3949 EMAIL: [EMAIL PROTECTED] ------------------------------------------------------------------------------ "Prioritization is a favorite management buzzword. What it really means is stuff that isn't going to get done." -- C.J. Peters, MD Chief, Special Pathogens Branch, CDC. - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [EMAIL PROTECTED]
