Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Chris Lishka <lishka@wisconsin.cern.ch>
Subject: Why does "rsh node vdump ... | dd ..." fail?
Date: 1996/10/03	[thread overview]
Message-ID: <3253C438.41C6@wisconsin.cern.ch> (raw)


Forgive me if this is a simple question.  I've been out of the Unix game for a
few years, and what used to work doesn't seem to anymore.

I am trying to vdump an advanced filesystem (advfs) on a remote node to a tape
drive on a local node using a command like:

	rsh foo.bar.edu '/sbin/vdump -0 -v -f - /usr' \
          | dd of=/dev/nrmt0h obs=65536

Trying to vrestore this doesn't work.

The following command DOES work:

	vdump -v -0 -f - /usr | dd of=/dev/nrmt0h obs=65536

When I vrestore this, I am able to read the file on tape.  Hence, I know the
obs=65536 is correct in dd (at least for this incarnation).

I have distilled the problem down to the following:

	This works:
		/sbin/vdump -0 -f - /usr | vrestore -t -f -

	This does NOT work:
		rsh foo.bar.edu '/sbin/vdump -0 -f - /usr' | vrestore -t -f -

It would seem that rsh is doing something to the output of vdump.  Does
anybody know what is going on here, and how I should fix it?

-- 
                                          Chris Lishka
  A mind untangled is a mind set free.    lishka@wisconsin.cern.ch
                       -- The Connells
http://www-wisconsin.cern.ch/~lishka/



             reply	other threads:[~1996-10-03  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-03  4:00 Chris Lishka [this message]
1996-10-03  4:00 ` Why does "rsh node vdump ... | dd ..." fail? Marek Pola
1996-10-04  4:00 ` Chris Lishka
1996-10-04  4:00   ` Mark Sirota
1996-10-09  4:00     ` Chia-Yun Chang
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox