[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Testbed-admins] Customizing Generic Image



The imagedump came back fine, as well as ssh pc1 id
Running imageunzip with -dd I'm getting an output like this:
 
Built 10-Jan-2007 by mike@pc194:/users/mike/obj/testbed-mfs6/os/imagezip
           0   262144   262144       262144    2949120   262144     0  1010956
      262144   262144   262144       524288    2686976   262144     0   997912
      524288   262144   262144       786432    2424832   262144     0   948568
      786432   262144   262144      1048576    2162688   262144     0   847082
     1048576   262144   262144      1310720    1900544   262144     0   753439
     1310720   262144   262144      1572864    1638400   262144     0   655764
     1572864   262144   262144      1835008    1376256   262144     0   539288
     1835008   262144   262144      2097152    1114112   262144     0   407121

Is this the expected behavior? One other thing I changed was running the command as a user rather than root.

T Ficarra

--- On Wed, 11/11/09, Mike Hibler <mike@flux.utah.edu> wrote:

From: Mike Hibler <mike@flux.utah.edu>
Subject: Re: [Testbed-admins] Customizing Generic Image
To: "Timothy Ficarra" <t.ficarra@yahoo.com>
Cc: "Mike Hibler" <mike@flux.utah.edu>, Testbed-admins@flux.utah.edu
Date: Wednesday, November 11, 2009, 10:55 AM

Just to make sure there is no misunderstanding: on your boss node you should
be running:

  sudo ssh pc1 imageunzip - /dev/$DSK < /usr/testbed/images/$FULL-GENERIC.ndz

where $DSK and $FULL are set apprpriately on boss?  The key is that imageunzip
be run on the node but the redirection of input comes from a file on boss.
Like you say, it is behaving as though it is waiting for input, as though
the redirect were not happening

If you just do:

  sudo ssh pc1 id

does it return output?

Run "imagedump" on the image file on boss just to make sure there is nothing
wrong with the image.  Then try adding a couple of -d options to the imageunzip:

  sudo ssh pc1 imageunzip -dd - /dev/$DSK < /usr/testbed/images/$FULL-GENERIC.ndz

and see if you get any output.

On Tue, Nov 10, 2009 at 11:42:12AM -0800, Timothy Ficarra wrote:
> ps axwl | grep imageunzip returns
>
> UID?? PID? PPID CPU PRI NI?? VSZ?? RSS MWCHAN STAT? TT?????? TIME COMMAND
> ? 0? 4828? 3050?? 0? 96? 0? 4648? 4080 select S+??? p1??? 0:00.32 ssh pc1 imageunzip - /dev/ad4
>
> It concerns me that the CPU usage is 0
>
> T Ficarra
>
> --- On Tue, 11/10/09, Mike Hibler <mike@flux.utah.edu> wrote:
>
> From: Mike Hibler <mike@flux.utah.edu>
> Subject: Re: [Testbed-admins] Customizing Generic Image
> To: "Timothy Ficarra" <t.ficarra@yahoo.com>
> Cc: Testbed-admins@flux.utah.edu
> Date: Tuesday, November 10, 2009, 2:19 PM
>
> No, the dash says read from stdin, which in this case comes from ssh's
> stdin which is redirected from the image file.? Why the unzip would take
> so long I don't know...
>
> While that is running you can ssh into the node and run ps axlw and see
> what imageunzip is doing.
>
> On Tue, Nov 10, 2009 at 11:12:55AM -0800, Timothy Ficarra wrote:
> > In the customizing generic image tutorial is this command:
> >
> > sudo ssh pc1 imageunzip - /dev/$DSK \
> >???< /usr/testbed/images/$FULL-GENERIC.ndzI am curious if the dash is a typo. I ran the command today, and it idled for about two hours before I finally canceled it. If I run the command without the dash I receive:
> > WARNING: output file is not seekable, must zero-fill free space
> > Bad Magic Number!
> >
> > Regards,
> > T Ficarra
> >
> >
> >
> >? ? ???
> > _______________________________________________
> > Testbed-admins mailing list
> > Testbed-admins@flux.utah.edu
> > http://www.flux.utah.edu/mailman/listinfo/testbed-admins
>
>
>
>