Date: Thu, 21 Dec 2006 11:48:02 -0800 (PST) From: mjacob@freebsd.org To: Bernd Luevelsmeyer <bdluevel@heitec.net> Cc: freebsd-bugs@freebsd.org, FreeBSD-gnats-submit@freebsd.org, mjacob@freebsd.org Subject: Re: bin/106973: 'tar' cannot read own tape, but 'pax' can Message-ID: <20061221114514.M69280@ns1.feral.com> In-Reply-To: <20061220142055.9C287A891D@christel.heitec.net> References: <200612201126.kBKBQgEv041082@tostan.admin.er.heitec.net> <20061220054818.J53125@ns1.feral.com> <20061220142055.9C287A891D@christel.heitec.net>
index | next in thread | previous in thread | raw e-mail
I'm on vacation at present, but trying to follow this. This particular
tape drive is unfamiliar to me. I would assume that it must be some kind
of fixed blocksize device.
Despite what you said, could you please try:
mt -f /dev/sa0 seteotmodel 1
cd /usr/include
tar cvfb /dev/sa0 1 . || tar tvfb /dev/sa0 1
mt -f /dev/sa0 rewind
tar cvfb /dev/sa0 2 . || tar tvfb /dev/sa0 2
> mjacob@freebsd.org wrote:
>>
>> Try using tar with a specified blocksize that's equal to the underlying
>> h/w blocksize on the tape.
>
> The tape's blocksize is 10 KB, which is tar's default anyway. I tried
> various other blocksizes nevertheless, to no avail; except an error in
> dmesg ("(sa0:ahc0:0:4:0): 10240-byte tape record bigger than supplied
> buffer") for small blocksizes.
>
> Greetings,
> Bernd
>
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061221114514.M69280>
