From: Gordan B. <go...@bo...> - 2007-10-11 10:34:53
|
>>>>>>>>> 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? >> >> Just looking through the initrd init script - what is supposed to be in >> /etc/sysconfig/comoonics-chroot ? It's mentioned in the comments, but I >> don't see it referenced in the actualy code. > If you have a local disk in your server you can use it to move all the files > on it and save some memory. > > This can either be done configured in /etc/sysconfig/comoonics-chroot > installed via comoonics-bootimage-compat (or something use: yum search > comoonics-bootimage) or with the cluster.conf section . > > <chrootenv mountpoint="/var/comoonics/chroot" fstype="ext3" > device="/dev/vg_local/lv_chroot" > chrootdir="/var/comoonics/chroot"/> > > All services needed for the cluster outside the sharedroot will be running > there. So, it's effectively an initrd replacement? Doesn't the initrd get de-allocated once the shared root is mounted? Gordan |