Does that mean that until 2.8.5, basically sysclone does not, for all intents 
and purposes, actually function to clone RHEL servers?  If it cannot run 
pvcreate, etc., it cannot create the file systems . . .

Is there any way to update the genesis image to include those commands to make 
sysclone work?

From: Wei Hua WH Hu [mailto:huwei...@cn.ibm.com]
Sent: Wednesday, April 02, 2014 11:42 PM
To: xcat-user@lists.sourceforge.net; Engdahl, Rod
Subject: Re: [xcat-user] Sysclone: Genesis Image missing commands (pvcreate, 
lvcreate, etc.)


Genesis  Image does  miss commands (pvcreate, lvcreate, etc.),  I have open a 
defect to track this issue. defect number is 4039.

Hi Engdahl,

We plan to fix this issue at xcat 2.8.5 (maybe ahead this plan, You could pay 
attention to the status of defect#4039)Thanks.

Best Regards!
--------------------------------------------------------------
Hu, Wei Hua (胡卫华)
IBM China System Technology Laboratory
Email: huwei...@cn.ibm.com<mailto:huwei...@cn.ibm.com>
Tel: 86-10-82453253
Address: Building 28, ZhongGuanCun Software Park,
         No.8, Dong Bei Wang West Road, Haidian District Beijing 100193, PRC

北京市海淀区东北旺西路8号中关村软件园28号楼
邮编: 100193


From: "Engdahl, Rod" <engd...@visa.com<mailto:engd...@visa.com>>
To: "xcat-user@lists.sourceforge.net<mailto:xcat-user@lists.sourceforge.net>" 
<xcat-user@lists.sourceforge.net<mailto:xcat-user@lists.sourceforge.net>>,
Date: 04/02/2014 11:03 PM
Subject: [xcat-user] Sysclone:  Genesis Image missing commands (pvcreate, 
lvcreate, etc.)

________________________________



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
xCAT-user@lists.sourceforge.net<mailto:xCAT-user@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to