From owner-freebsd-questions Sun Sep 22 05:39:33 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA07103 for questions-outgoing; Sun, 22 Sep 1996 05:39:33 -0700 (PDT) Received: from ghost.mep.ruhr-uni-bochum.de (ghost.mep.ruhr-uni-bochum.de [134.147.6.16]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id FAA07070 for ; Sun, 22 Sep 1996 05:39:30 -0700 (PDT) Received: (from roberte@localhost) by ghost.mep.ruhr-uni-bochum.de (8.7.5/8.7.3) id OAA00975; Sun, 22 Sep 1996 14:38:40 +0200 (MET DST) From: Robert Eckardt Message-Id: <199609221238.OAA00975@ghost.mep.ruhr-uni-bochum.de> Subject: Re: TANDBERG TDC3600 - need multiple 512 In-Reply-To: <199609220957.LAA11492@allegro.lemis.de> from Greg Lehey at "22. Sep. 96 11:57:13" To: tito@agi.es Date: Sun, 22 Sep 1996 14:38:40 +0200 (MET DST) Cc: questions@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > TITO writes: > > > > > > I've a problem with make a tar backup to streamer TANDBERG. > > > > > > When I use the option z ( to make tar with gzip ), the system returns this > > bug. > > > > input/output error - must be multiple 512 > > Interesting one. First, what it means: the driver wants a write > length which is a multiple of 512 bytes. That works well enough with > tar normally, but not if you compress, in which case it writes in > dribs and drabs. You can fix it with: > > tar czf - | dd obs=20b of=/dev/rst0 > > This will force a block size of 20 blocks. Or you could use (from tar --help): --block-compress block the output of compression program for tapes Therefore, 'tar -czf /dev/rst0 --block-compress ' works (for me) (except that compression on my 486 stops the tape from streaming :-) Robert