Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Jun 2007 10:16:03 +0200
From:      Robin Gruyters <r.gruyters@yirdis.nl>
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Unrecognized archive format with RELENG_6_2 and RELENG_6
Message-ID:  <20070604101603.f0ki85am800wso0k@server.yirdis.nl>
In-Reply-To: <200706020852.21208.doconnor@gsoft.com.au>
References:  <20070601114047.z6qgi686os4ogw4o@server.yirdis.nl> <200706012334.33673.doconnor@gsoft.com.au> <20070601160948.wcee59gu04okswo4@server.yirdis.nl> <200706020852.21208.doconnor@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format and has been PGP signed.

--=_2ymv5iycwoys
Content-Type: text/plain;
	charset=UTF-8;
	DelSp="Yes";
	format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Quoting Daniel O'Connor <doconnor@gsoft.com.au>:

> 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=3D/dev/sa0 of=3D/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=3D/dev/sa0 of=3D/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=3D/dev/sa0 of=3D/data3/tmp/bla bs=3D65536 count=3D32
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 =20
(src/usr.bin/tar) back to RELENG_6_1 and surprisingly (or maybe not) =20
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


--=_2ymv5iycwoys
Content-Type: application/pgp-signature
Content-Description: PGP Digital Signature
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (FreeBSD)

iD8DBQBGY8pDLh3hlgHmc7MRAvILAKC1rl4ly9oATlcC/UV3nM5gUkMzpQCgwz/9
mMzpl+8WkLUU+i/+hKmDews=
=lDh8
-----END PGP SIGNATURE-----

--=_2ymv5iycwoys--



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