Hello,

Thank you for your mail.

I have followed the steps that you have asked me to, and when i run the
command :

gzip -cd /tmp/xcat_imgcapture.30829 | cpio -idum

I receive the following error : "cpio: premature end of file"

Thank you,

Lohit Valleru


On Wed, Jul 3, 2013 at 10:24 PM, Guang Cheng Li <[email protected]> wrote:

> HI,
>
> What you will get if you run the following commands manually on the
> scl-p05-mn?
>
> cd /install/netboot/centos6/x86_64/scl-mgmt/rootimg
> gzip -cd /tmp/xcat_imgcapture.30829 | cpio -idum
>
> Several possible reasons I can think of:
>
> gzip is not installed on scl-p05-mn, or the scl-p05-mn does not have
> enough disk space to run the commands listed above.
>
> Thanks,
> -------------------------------------------------------------------------
> Li,Guang Cheng (李光成)
> IBM China System Technology Laboratory
> Email: [email protected]
> Address: Building 28, ZhongGuanCun Software Park,
>          No.8, Dong Bei Wang West Road, Haidian District Beijing 100193,
> PRC
>
> 北京市海淀区东北旺西路8号中关村软件园28号楼
> 邮编: 100193
>
> [image: Inactive hide details for Lohit Valleru ---2013-07-02
> 02:39:18---Hello all, Please find the details below :]Lohit Valleru
> ---2013-07-02 02:39:18---Hello all, Please find the details below :
>
> From: Lohit Valleru <[email protected]>
> To: xCAT Users Mailing list <[email protected]>
> Date: 2013-07-02 02:39
> Subject: [xcat-user] xCAT 2.8.1 : imgcapture fails to run
> ------------------------------
>
>
>
> Hello all,
>
> Please find the details below :
>
> Name        : xCAT                         Relocations: /opt/xcat
> Version     : 2.8.1
>     Vendor: IBM Corp.
> Release     : snap201305072259              Build Date: Tue 07 May 2013
> 10:59:39 PM EDT
> Install Date: Tue 11 Jun 2013 11:52:18 PM EDT      Build Host: *
> c97p3l4vp01.ppd.pok.ibm.com* <http://c97p3l4vp01.ppd.pok.ibm.com/>
> Group       : Applications/System           Source RPM:
> xCAT-2.8.1-snap201305072259.src.rpm
> Size        : 0                                License: EPL
> Signature   : DSA/SHA1, Tue 07 May 2013 10:59:48 PM EDT, Key ID
> 20e475a8da736c68
> Packager    : IBM Corp.
> Summary     : Meta-package for a common, default xCAT setup
>
> perl-xCAT.noarch       4:2.8.1-snap201305072255
> xCAT.x86_64            2.8.1-snap201305072259
> xCAT-client.noarch     4:2.8.1-snap201305072255
> xCAT-genesis-base-x86_64.
> noarch
> xCAT-genesis-scripts-x86_64.noarch
> xCAT-server.noarch     4:2.8.1-snap201305072255
>
> When i try to run the below command :
>
> imgcapture scl-p03-mn -t diskless -V
>
> It gives the following output :
>
> Capturing image on scl-p03-mn...
> Transfering the image captured on scl-p03-mn back...
> Error: fails to run the "gzip -cd xx |cpio -idum" command
> [root@scl-p05-mn ~]# imgcapture scl-p03-mn -t diskless -V
> nodename is scl-p03-mn; os is centos6; arch is x86_64; profile is scl-mgmt
> bootif is ; netdriver is
> the output of "stat / -f |grep Type" on scl-p03-mn is:
> scl-p03-mn:     ID: 438fb7dc92459fbf Namelen: 255     Type: ext2/ext3
> The file type is ext2/ext3
> The excludestr is "cd /; find . ! -path "./tmp/*" ! -path "./proc/*" !
> -path "./sys/*" ! -path "./dev/*" ! -path "./xcatpost/*" ! -path
> "./install/*" |cpio -H newc -o |gzip -c - >/tmp/xcat_imgcapture.30829"
> running "echo -n > /tmp/xcat_imgcapture.30829" on scl-p03-mn
> Capturing image on scl-p03-mn...
> running "cd /; find . ! -path "./tmp/*" ! -path "./proc/*" ! -path
> "./sys/*" ! -path "./dev/*" ! -path "./xcatpost/*" ! -path "./install/*"
> |cpio -H newc -o |gzip -c - >/tmp/xcat_imgcapture.30829" on scl-p03-mn via
> the "xdsh" command
> Transfering the image captured on scl-p03-mn back...
> Running "scp scl-p03-mn:/tmp/xcat_imgcapture.30829
> /tmp/xcat_imgcapture.30829"
> Extracting the image to /install/netboot/centos6/x86_64/scl-mgmt/rootimg
> Error: fails to run the "gzip -cd xx |cpio -idum" command
>
>
> May i know, where is the issue, and how to solve it.
>
> Thank you
>
> Lohit
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> xCAT-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> xCAT-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user
>
>

<<graycol.gif>>

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to