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

Re: [Testbed-admins] Customizing Generic Image



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
> 
> 
> 
>