Sorry  -t is in the next release.  Could you give us lsdef of the node?
I am contacting people who know a  little more about imgcapture than I do.

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/18/2013 01:41 PM
Subject:        Re: [xcat-user] Trouble using imgcapture



I am running xCAT 2.8.  My imgcapture does not accept the -t option.

My osimage has a provmethod of statelite.  I changed it to diskless, but
get the same result.

Thank you for looking into this!

/Lindsay

On Mon, Mar 18, 2013 at 1:12 PM, Lissa Valletta <[email protected]> wrote:
  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



  Inactive hide details for Lindsay Todd ---03/14/2013 02:36:33 PM---Folks,
  I would like to build a statelite image from an existLindsay Todd
  ---03/14/2013 02:36:33 PM---Folks, I would like to build a statelite
  image from an existing

  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



  ------------------------------------------------------------------------------

  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

------------------------------------------------------------------------------

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

Reply via email to