Re: [SSI-users] Debian Boot Problem (fwd)
Brought to you by:
brucewalker,
rogertsang
From: Aneesh K. KV <ane...@di...> - 2004-02-02 22:09:53
|
Jiann-Ming Su wrote: >On Mon, 2 Feb 2004, Jiann-Ming Su wrote: > > > >>Okay, I ran openssi-config-node, and ran into a few issues. First, it's >>looking for /boot/grub/grub.conf, which may or may not exist in Debian, >>all depending on how grub was installed. So, I had to create a symlink. >>When the script continues, I get: >> >>(W)rite new configuration, (R)econfigure, or (Q)uit without writing [W]: >>The configuration changes have been saved. >>Do you wish to configure another node (y/n) [n]: n >>Rebuilding the ramdisk and Updating the dhcpd.conf entries...... >>Updating /boot/initrd-2.4.20ssi.img.gz: Cannot copy device file, directory does not exist /tmp/initrd.yyiTBy//cluster/node1/dev/scsi/host0/bus0/target0/lun0 >>FAILED >>Synchronizing network boot images: expr: syntax error >>/sbin/ssi-ksync-network: mkelf-linux: command not found >>cp: cannot stat `/bootkernel': No such file or directory >>cp: cannot stat `/bootinitrd': No such file or directory >>FAILED >>ERROR: /sbin/ssi-ksync: ssi-ksync-network failed >>The ssi-ksync command failed to sync your local boot devices. >> >>All new nodes are allowed to join the cluster. If you wish to setup a >>local boot device for a node, wait until it's fully up, create a Linux >>filesystem on one of its local disks using fdisk and mkfs, then run >>ssi-chnode to configure the filesystem as a local boot device. >> >> >> > >Okay, as you've probably figured out by now, I shoot first and ask question >later... anyway, I modified /sbin/ssi-ksync-network as follows: > > kernel=`tail +$line $config | grep 'kernel' | head -1 | awk '{print $3}'` > initrd=`tail +$line $config | grep 'initrd' | head -1 | awk '{print $3}'` > >I simply changed "print $2" to "print $3". Also, in /sbin/ssi-ksync was >looking for "/etc/init.d/dhcpd reload." In Debian, it's "/etc/init.d/dhcp >force-reload." So now, when I run openssi-config-node, I get this: > >### BEGIN ### >Do you wish to configure another node (y/n) [n]: >Rebuilding the ramdisk and Updating the dhcpd.conf entries...... >Updating /boot/initrd-2.4.20ssi.img.gz: Cannot copy device file, directory does >not exist /tmp/initrd.xDgfRo//cluster/node1/dev/scsi/host0/bus0/target0/lun0 >FAILED >Synchronizing network boot images: expr: syntax error >succeeded >Stopping DHCP server: dhcp. >Starting DHCP server: dhcp. >Synchronizing local boot devices > syncing /dev/scsi/host0/bus0/target0/lun0/part1 on node 1: /sbin/ssi-ksync: > /sbin/nash: No such file or directory >/sbin/ssi-ksync: /sbin/nash: No such file or directory >/sbin/ssi-ksync: /sbin/nash: No such file or directory >/sbin/ssi-ksync: /sbin/nash: No such file or directory >/sbin/ssi-ksync: /sbin/nash: No such file or directory >/sbin/ssi-ksync: /sbin/nash: No such file or directory >/sbin/ssi-ksync: /sbin/nash: No such file or directory >/sbin/ssi-ksync: /sbin/nash: No such file or directory >/sbin/ssi-ksync: /sbin/nash: No such file or directory >/sbin/ssi-ksync: /sbin/nash: No such file or directory >/sbin/ssi-ksync: /sbin/nash: No such file or directory >/sbin/ssi-ksync: /sbin/nash: No such file or directory >/sbin/ssi-ksync: /sbin/nash: No such file or directory >/sbin/ssi-ksync: /sbin/nash: No such file or directory >/sbin/ssi-ksync: /sbin/nash: No such file or directory >/sbin/ssi-ksync: /sbin/nash: No such file or directory >/sbin/ssi-ksync: /sbin/nash: No such file or directory >succeeded > >All new nodes are allowed to join the cluster. If you wish to setup a >local boot device for a node, wait until it's fully up, create a Linux >filesystem on one of its local disks using fdisk and mkfs, then run >ssi-chnode to configure the filesystem as a local boot device. >### END ### > > >Looks like debian doesn't distribute /sbin/nash in its mkinitrd package. > > > No debian doesn't use /sbin/nash. If you can send me a working patch for syncing images I will be more than happy to commit the same to the CVS. Things to be done 1) ssi_arch.pm right now uses cluster_mkinitrd . This should change. I am waiting for Brian's reply on this 2) Understand and modifity ssi-ksync. I never looked at this. -aneesh -- ph: 603-884-5742 |