Hi xCAT users,
I have had success in using genimage, both on and off the management node to 
produce stateless images. (Blade cluster, using xCAT 2.7.1)

Now trying to use imgcapture following the instructions from  
http://sourceforge.net/apps/mediawiki/xcat/index.php?title=Capture_Linux_Image

But the process falls over with the following error

<pre>
[root@gouda-san ~]# imgcapture gouda6 -o centos6.2img -p compute -i eth0 -V
nodename is gouda6; os is centos6.2; arch is x86_64; profile is compute
bootif is eth0; netdriver is
the output of "stat / -f |grep Type" on gouda6 is:
gouda6:     ID: c184347c80c784e8 Namelen: 255     Type: ext2/ext3
The file type is ext2/ext3
The excludestr is "cd /; find . ! -path "./tmp/*" ! -path "./proc/*" ! -path 
"./dev/*" ! -path "./sys/*" ! -path "./install/*" ! -path "./xcatpost/*" |cpio 
-H newc -o |gzip -c - >/tmp/xcat_imgcapture.19411"
running "echo -n > /tmp/xcat_imgcapture.19411" on gouda6
Capturing image on gouda6...
running "cd /; find . ! -path "./tmp/*" ! -path "./proc/*" ! -path "./dev/*" ! 
-path "./sys/*" ! -path "./install/*" ! -path "./xcatpost/*" |cpio -H newc -o 
|gzip -c - >/tmp/xcat_imgcapture.19411" on gouda6 via the "xdsh" command
Transfering the image captured on gouda6 back...
Running "scp gouda6:/tmp/xcat_imgcapture.19411 /tmp/xcat_imgcapture.19411"
Extracting the image to /install/netboot/centos6.2/x86_64/compute/rootimg
Creating the spots exluded when capturing on gouda6...
Generating kernel and initial ramdisks...
"The genimage command is: /opt/xcat/share/xcat/netboot/centos/genimage 
centos6.2img-i eth0 "
Error: Usage: genimage [ -i <nodebootif> ] [ -n <nodenetdrivers> ] [-r 
<otherifaces>] -o <osver> -p <profile> -k <kernelver> [--permission 
<permission>]
Error:        --permission only works with statelite mode
Error: Examples:
Error:  genimage -i eth0 -n tg3 -o centos5.1 -p compute
Error:  genimage -i eth0 -r eth1,eth2 -n tg3,bnx2 -o centos5.1 -p compute
Error:  genimage -i eth0 -n igb,e1000e,e1000,bnx2,tg3 -o centos5.4 -p nfsroot
Error:  genimage -i eth0 -n igb,e1000e,e1000,bnx2,tg3 -o centos5.4 -p nfsroot 
--permission 777
</pre>

Since the genimage process is not working,  can a previously generated image be 
used with the imgcapture data? For example using a kernel and initial ramdisks 
from an image generated on that specific compute node? 

Regards,
Marianne.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to