From: Marc G. <gr...@at...> - 2007-10-11 11:27:34
|
On Thursday 11 October 2007 12:23:53 Gordan Bobic wrote: > >>>>>>>>> And, obviously, I'd need to make all this happen before the > >>>>>>>>> normal boot process tries to mount the root disk. > >>>>>>>> > >>>>>>>> Do it before or right after scsi-start is called. > >>>>>>> > >>>>>>> I can't find any reference to "scsi-start". Where does this happen? > >>>>>> > >>>>>> It's scsi_start in linux.generic.sh Line 239. > >>>>> > >>>>> D'oh! What a difference an _ makes. > >>>>> > >>>>> I think the iSCSI stuff should be added before the dm_start stuff, > >>>>> which is just before the scsi_start. > >>>>> > >>>>> Right, that seems to have worked. Almost there. Now I get: > >>>>> > >>>>> Mounting LABEL=/ on /mnt/newroot..device not found error [FAILED] > >>>>> Mounting /cdsl.local on /cluster/cdsl/3..no cdsldir found > >>>>> "/mnt/mewroot//cluster/cdsl" > >>>>> Could not mount cdsl /cdsl.local to /cluster/cdsl/3. Exiting > >>>>> > >>>>> Where does it get the LABEL=/ from? I'm pretty sure I didn't set any. > >>>> > >>>> Concerning LABEL=/ > >>>> I think you should check you bootloader config and change root=LABEL=/ > >>>> to root=/dev/sd.. That should do it. > >>> > >>> What files is that in? > >> > >> this is setup by your root environment. Normally in grub. There should > >> be something comparable on your pxe environment if you use it. > >> default from redhat: > >> [root@mobilix-01 ~]# cat /proc/cmdline > >> ro root=LABEL=/ rhgb quiet > >> sharedroot cluster: > >> [root@axqa03_1 ~]# cat /proc/cmdline > >> root=/dev/vg_axqa03_sr/lv_sharedroot com-step com-debug > > > > Oh, THAT root= parameter! Right. I'm feeling really stupid now. :'( > > Ah, minor problem. Not a big deal, but potentially a problem nevertheless. > If we fire up iSCSI _first_ (i.e. before normal SCSI), then the iSCSI > drive appears as sda, and the local disk becomes sdb. Does anyone think > this might end up being a problem? I can't immediately think of why this > might be a problem, other than it perhaps being a little illogical to have > the local disks listed _after_ remote disks. > > I expect the solution would be to just modprobe sd_mod before starting up > iSCSI. > > Any thoughts on this? Just do it. We long ago stopped relying on any order of on which disk lies what. So no problem from our side. > > Gordan > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Open-sharedroot-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/open-sharedroot-devel -- Gruss / Regards, Marc Grimme Phone: +49-89 452 3538-14 http://www.atix.de/ http://www.open-sharedroot.org/ ** Visit us at LinuxWorld Conference & Expo 31.10. - 01.11.2007 in Jaarbeurs Utrecht - The Netherlands ATIX stand: Hall 9 / B 005 ** ATIX Informationstechnologie und Consulting AG Einsteinstr. 10 85716 Unterschleissheim Deutschland/Germany Phone: +49-89 452 3538-0 Fax: +49-89 990 1766-0 Registergericht: Amtsgericht Muenchen Registernummer: HRB 168930 USt.-Id.: DE209485962 Vorstand: Marc Grimme, Mark Hlawatschek, Thomas Merz (Vors.) Vorsitzender des Aufsichtsrats: Dr. Martin Buss |