>Amanda some how uses GNU tar to archive
>files on a Solaris 2.6 host to a remote tape device that is
>attached to a Linux (7.0) host.
>
>Yet when I try to do this at the command line I get
>tar complaints.  Am I using the wrong syntax?

Yes.

Amanda doesn't do things the way you're thinking.  It does not pass the
tape device name to GNU tar and have it write to the tape.  Amanda runs
all (not just GNU tar) backup programs in a mode that has them write
their image to stdout.  Amanda then gathers that and sends it across the
wire to the server.  The server may write it into the holding disk or
directly to tape.  But GNU tar (or ufsdump, etc) know nothing about this.

>solaris-host>#/usr/local/bin/tar -cvf linux-host:/dev/nst0 /home
>sh: unknown host
>/usr/local/bin/tar: Cannot open linux-host:/dev/nst0: I/O error
>/usr/local/bin/tar: Error is not recoverable: exiting now
>
>Why the odd error: "sh: unknown host"

I just tried this between two of my machines and things worked fine.
Then I tried deliberately entering a bad host name:

  $ gtar cvf xxx:/tmp/jrj/z .
  xxx: unknown host
  gtar: Cannot open xxx:/tmp/jrj/z: I/O error
  gtar: Error is not recoverable: exiting now

which matches what you're seeing except "xxx" instead of "sh".

So there is clearly something wrong in the host name part of what you
tried to do, but unless you entered "sh" as the host name, I don't know
exactly what.

What happens if you do this:

  $ rsh linux-host pwd

>I had read some posts about a buggy version of GNU tar.
>The GNU mirror sites don't seem to specify any revisions,
>just 1.13   not the rumored 1.13.19  or the 1.13.17 which is
>running on my linux host.

I don't know what they have.  You need to get the .17/.19 from alpha.gnu.org.

>Paul

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]

Reply via email to