Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 2003 16:32:53 -0700
From:      David Bear <David.Bear@asu.edu>
To:        freebsd-questions@freebsd.org
Subject:   invalid argument
Message-ID:  <20030722163253.A2808@asu.edu>

next in thread | raw e-mail | index | archive | help
while writing to a tape device using tar I get an error message:

using 'tar czvf /dev/nsa0 /var/log/'

ppsrv3# tar (child): can't write to /dev/nsa0 : Invalid argument

My assumptions were
1) the dev/[n]sa0 device was the first scsi tape unit
2) that n meant non-rewinding
3) that I could write one tarball to the tape, then another, in
succession.  Then each tarball would reside on the tape, one after the
other, and that I could untar them in succession as well.

So, what would be the cause of the "invalid arg" messeage above?

when attemptint to read the above tar file, with

tar tzvf /dev/nsa0

tar happily lists all files in the archive, but ends with:

gzip: stdin: unexpected end of file
tar: Unexpected EOF on archive file


I'm wondering if I have a blocking factor problem?  This is a DAT/dds4
tape unit.

Any advice would be appreciated.
-- 
David Bear
phone: 	480-965-8257
fax: 	480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
 "Beware the IP portfolio, everyone will be suspect of trespassing"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030722163253.A2808>