xCAT 2.8.3, RHEL 6.4
I installed systemimage-server on our xcat server, and systemimage-client on a
target node and ran:
imcapture <sourcenode> -t sysclone <imagename>
After this command did its thing and populated the appropriate /install
directories, I ran:
nodeset <targetnode> osimage=<imagename>
rsetboot <targetnode> net
rpower <targetnode> reset
Things appeared to go swimmingly for a while, but as the Genesis image was
executing /scripts/sl73caeapp30-image.master, the script died a horrible death
because things like pvcreate were not in the Genesis image that was supposed to
be setting up the file systems.
Ending several lines of output from the running of
/scripts/sl73caeapp30-image.master:
__________________________________________
New partition table for /dev/sda:
parted -s -- /dev/sda print
Model: IBM ServeRAID M5015 (scsi)
Disk /dev/sda: 36.0TB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 17.4kB 105MB 105MB primary
2 105MB 84.sh: no job control in this shell
sh-4.1# 0GB 83.9GB
primary
3 84.0GB 84.2GB 210MB primary
4 84.2GB 36.0TB 35.9TB primary
Load software RAID modules.
FATAL: Module linear not found.
FATAL: Module raid0 not found.
FATAL: Module raid1 not found.
FATAL: Module raid5 not found.
FATAL: Module raid6 not found.
FATAL: Module raid10 not found.
FATAL: Module raid456 not found.
Load device mapper driver (for LVM).
FATAL: Module dm_mod not found.
Initializing partition /dev/sda2 for use by LVM.
pvcreate -M2 -ff -y /dev/sda2 || shellout
/scripts/sl73caeapp30-image.master: line 263: pvcreate: command not found
Last command exited with 127
Killing off running processes.
write_variables
cat: /etc/issue: No such file or directory
___________________________________
The following are the contents of /bin and /sbin
sh-4.1# ls /bin
allowcred.awk dd getdestiny mknod sed
basename df getipmi mount sh
bash dmesg grep mv sleep
bmcsetup dodiscovery gzip netstat sort
cat dosysclone hostname nextdestiny tar
chmod doxcat ifup ping touch
chown echo kill ps udpcat.awk
cp egrep ln remoteimmsetup umount
cpio find ls restart uname
minixcatd.awk rm vi
date getcert mkdir rpm
sh-4.1# ls /sbin
blkid initqueue lspci modprobe
route udevadm
blockdev insmod lvm mount.nfs
rpc.statd udevd
dhclient ip mdadm parted
rpcbind vconfig
dhclient-script kexec mkdosfs pidof rsyslogd
xcatroot
ethtool killall5 mke2fs pivot_root
setupimmnic
findfs klogd mkfs poweroff
shutdown
hwclock loadmlxeth mkfs.ext4 reboot swapon
ifconfig loginit mkreiserfs reiserfstune
switch_root
ifenslave lsmod mkswap rmmod tune2fs
Any idea how I get a Genesis image that has the missing commands?
Thanks,
Rod.
------------------------------------------------------------------------------
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user