Carl J. Benson wrote: > Hello. > > I have a cluster of Dell 1950 PowerEdge servers. The S.I. server > and clients have S.I. version 3.8.2 installed. The OS on server > and clients is openSUSE 10.2. > > The client PXE boots OK, and the master script for the image > starts to execute. All goes surprisingly well until this bit > of the master script: > > # Wipe the MBR (Master Boot Record) clean. > logmsg "dd if=/dev/zero of=$DISK0 bs=512 count=1 || shellout" > dd if=/dev/zero of=$DISK0 bs=512 count=1 || shellout > > At which point the script dies because there is no /dev/zero. > > "ls /dev" shows that there are files in /dev, just no /dev/zero. > > If I comment out the dd line, the partitioning proceeds, the restore > runs great, and the new cluster node boots -- at least on my test > node. I haven't tried it on a brand new 1950 just out of the box. > I think it might fail if the MBR isn't wiped clean, because Dell > systems come with stuff on the disk drive already. > > Can someone tell me how to get /dev/zero in there? >
This looks strange... are you using UYOK or the default BOEL kernel (http://wiki.systemimager.org/index.php/UYOK)? You shouldn't have problems with BOEL since udev seems to correctly create it. Anyway, I think it should be good to permanently add it into the initrd_template to avoid this kind of problems with udev. Could you try to create it into the initrd template and re-create the boot package? I mean, in your golden client run a: # mknod -m 600 /usr/share/systemimager/boot/<golden_client_arch>/initrd_template/dev/zero c 1 5 Then re-run si_prepareclient (and if you want also si_getimage). You should find the boot package (kernel + initrd.img) in /etc/systemimager/boot in your golden client or (if you re-run also si_getimge) in /usr/share/systemimager/boot/<arch>/<imagename> in your image server. This new boot package should have /dev/zero into the initrd.img. Regards, -Andrea ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ sisuite-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sisuite-users
