Quoting Daniel O'Connor <[EMAIL PROTECTED]>:

On Friday 01 June 2007 23:39, Robin Gruyters wrote:
> What happens if you try
> tar -b 128 -tf /dev/sa0

Same problem.

> What did you upgrade from? Some gnutar using system I guess? (5.x
> or 4.x?)

I'd upgraded from FreeBSD 6.1-RELEASE-p10

OK.
Can you read the archive as a normal file from the tape? eg dd
if=/dev/sa0 of=/tmp/foo

If so does it work? Are you getting errors reading from the drive, or
just the tar file is broken?

Nope, it doesn't work.

# dd if=/dev/sa0 of=/data3/tmp/bla
dd: /dev/sa0: Input/output error
0+0 records in
0+0 records out
0 bytes transferred in 0.005972 secs (0 bytes/sec)
#

When setting the correct blocksize, it does work:

# dd if=/dev/sa0 of=/data3/tmp/bla bs=65536 count=32
32+0 records in
32+0 records out
2097152 bytes transferred in 9.698233 secs (216241 bytes/sec)
#

This morning I have revert libarchive (src/lib/libarchive) and tar (src/usr.bin/tar) back to RELENG_6_1 and surprisingly (or maybe not) it works fine now.

Maybe tar doesn't use the -b option when listing the content? (-t)


Kind regards,

Robin Gruyters
Network and Security Engineer
Yirdis B.V.
I: http://yirdis.com
P: +31 (0)36 5300394
F: +31 (0)36 5489119

Attachment: pgpFRkTZCvB8k.pgp
Description: PGP Digital Signature

Reply via email to