You could create a partitioning layout that didn't use LVM, so it would
have no need to run those commands.

Michael

On 04/03/2014 09:49 AM, Engdahl, Rod wrote:
>
> 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:[email protected]]
> *Sent:* Wednesday, April 02, 2014 11:42 PM
> *To:* [email protected]; 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: [email protected] <mailto:[email protected]>
> 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" <[email protected] <mailto:[email protected]>>
> To: "[email protected]
> <mailto:[email protected]>"
> <[email protected]
> <mailto:[email protected]>>,
> 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
> [email protected] <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/xcat-user
>
>
>
> ------------------------------------------------------------------------------
>
>
> _______________________________________________
> xCAT-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to