From owner-freebsd-questions Sun Sep 22 07:12:17 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA05712 for questions-outgoing; Sun, 22 Sep 1996 07:12:17 -0700 (PDT) Received: from diablo.ppp.de (diablo.ppp.de [193.141.101.34]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id HAA05681 for ; Sun, 22 Sep 1996 07:12:13 -0700 (PDT) Received: from allegro.lemis.de by diablo.ppp.de with smtp (Smail3.1.28.1 #1) id m0v4pGT-000QkPC; Sun, 22 Sep 96 16:12 MET DST From: grog@lemis.de (Greg Lehey) Organisation: LEMIS, Schellnhausen 2, 36325 Feldatal, Germany Phone: +49-6637-919123 Fax: +49-6637-919122 Received: (grog@localhost) by allegro.lemis.de (8.6.9/8.6.9) id OAA13325; Sun, 22 Sep 1996 14:39:29 +0200 Message-Id: <199609221239.OAA13325@allegro.lemis.de> Subject: Re: TANDBERG TDC3600 - need multiple 512 To: roberte@mep.ruhr-uni-bochum.de (Robert Eckardt) Date: Sun, 22 Sep 1996 14:39:29 +0200 (MET DST) Cc: questions@FreeBSD.org (FreeBSD Questions) In-Reply-To: <199609221236.OAA00963@ghost.mep.ruhr-uni-bochum.de> from "Robert Eckardt" at Sep 22, 96 02:36:45 pm X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Robert Eckardt writes: > >> 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 :-) Thanks. That's obviously a better choice. Greg