From: Gordan B. <go...@bo...> - 2007-10-11 10:24:04
|
>>>>>>>>> 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? Gordan |