What level of xCAT are you running. I wonder if this is simply a input parameter issues. I assume xdsh rsa03 date runs ok.
What if you run imgcapture rsa03 -t diskless -o osimage -i eth0 -n igb -V I think looking at the man page for imgcapture, you can only use -o osimage if you type is diskless. Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 From: Lindsay Todd <[email protected]> To: xCAT Users Mailing list <[email protected]> Date: 03/14/2013 02:36 PM Subject: [xcat-user] Trouble using imgcapture Folks, I would like to build a statelite image from an existing freshly-installed diskful system image (so the workflow will be build a gold image system, then capture, then build other systems statelite). But imgcapture is failing. When I run it, I get this message: # imgcapture rsa03 -o SL6-x86_64-statelite-cng2 -i eth0 -n igb -V nodename is rsa03; os is SL6; arch is x86_64; profile is cng2 bootif is eth0; netdriver is igb the output of "stat / -f |grep Type" on rsa03 is: rsa03: ID: 87cd4ce061a2fd20 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.15312" running "echo -n > /tmp/xcat_imgcapture.15312" on rsa03 Capturing image on rsa03... running "cd /; find . ! -path "./tmp/*" ! -path "./proc/*" ! -path "./sys/*" ! -path "./dev/*" ! -path "./xcatpost/*" ! -path "./install/*" |cpio -H newc -o |gzip -c - >/tmp/xcat_imgcapture.15312" on rsa03 via the "xdsh" command Error: The "xdsh" command fails to run "cd /; find . ! -path "./tmp/*" ! -path "./proc/*" ! -path "./sys/*" ! -path "./dev/*" ! -path "./xcatpost/*" ! -path "./install/*" |cpio -H newc -o |gzip -c - >/tmp/xcat_imgcapture.15312" on rsa03 # echo $? 1 So obviously the xdsh command fails? Let's try that directly (slight change to use another output file): # xdsh rsa03 'cd /; find . ! -path "./tmp/*" ! -path "./proc/*" ! -path "./sys/*" ! -path "./dev/*" ! -path "./xcatpost/*" ! -path "./install/*" |cpio -H newc -o |gzip -c - >/tmp/xcat_imgcapture.15313' Error: rsa03: 4075749 blocks # echo $? 0 So it worked? Or not? How about running the command directly on rsa03: # xdsh rsa03 'cd /; find . ! -path "./tmp/*" ! -path "./proc/*" ! -path "./sys/*" ! -path "./dev/*" ! -path "./xcatpost/*" ! -path "./install/*" |cpio -H newc -o |gzip -c - >/tmp/xcat_imgcapture.15314 4075776 blocks gzip: / is a directory -- ignored 4075776 blocks # echo $? 0 That looks like it worked. So what failed? I guess maybe something wrote to stderr (like the status messages)? -- R. Lindsay Todd, PhD email: [email protected] Senior Systems Programmer phone: 518-276-2605 Rensselaer Polytechnic Institute fax: 518-276-2809 Troy, NY 12180-3590 WWW: http://www.rpi.edu/~toddr The views, opinions, and judgments expressed in this message are solely those of the author. The message contents have not been reviewed or approved by Rensselaer. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
<<inline: graycol.gif>>
------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
