From owner-freebsd-questions Tue Aug 20 10:30:30 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA19238 for questions-outgoing; Tue, 20 Aug 1996 10:30:30 -0700 (PDT) Received: from ecc.nyseg.com (ecc.nyseg.com [199.98.200.2]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id KAA19229 for ; Tue, 20 Aug 1996 10:30:24 -0700 (PDT) Received: (from fallot@localhost) by ecc.nyseg.com (8.6.12/8.6.9) id NAA00879; Tue, 20 Aug 1996 13:38:16 -0400 From: Ken Fallot Message-Id: <199608201738.NAA00879@ecc.nyseg.com> Subject: Re: tar to scsi tape ( freebsd to other unix ) To: branson@widomaker.com (Branson Matheson) Date: Tue, 20 Aug 1996 13:38:10 -0400 (EDT) Cc: questions@freebsd.org In-Reply-To: <199608201549.LAA13065@garion.hq.ferg.com> from "Branson Matheson" at Aug 20, 96 11:49:52 am X-Mailer: ELM [version 2.4 PL24 ME8a] Content-Type: text Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > -------- > > "Kenneth D. Fallot" uttered with conviction: > >This is a multi-part message in MIME format. > > > >--------------1CFBAE3959E2B60015FB7483 > >Content-Type: text/plain; charset=us-ascii > >Content-Transfer-Encoding: 7bit > > > >I am having trouble with using tar.. > > > > If I create a tar tape ( scsi ) on any of my freebsd boxes I get a > > I/O error when trying to read tape on another unix os I have some > > UnixWare and Linux boxes which both give me grief attached is a copy > > of dmesg output to show my dat tape model and other neat info .... > > > > please help .. Is this supposed to work ????? > > Interesting, I do this regularly. What command are you using to save > to the tape/get from the tape? using " tar -cvf /dev/rst0 filename" to create .... trying " tar -tvf /dev/rmt/ntape1" to list contents on Novell UnixWare 1.1.4 gives me the following error... WARNING: TapeDrive: HA 0 TC 6 LU 0 -CHECK CONDITION logical block address = 0x00000014 WARNING: Tape Driver: Block lenth mismatch Driver requested 10240, Tape block length = 0 UX:tar:ERROR: tape read error: I/O ERROR I have made tapes on UnixWare and Linux boxes and been able to read the fine on FreeBSD box but not other way around could the be so and still be byte swap trouble ??? > > One thing that might help is to use a known blocksize. Some unixs > have different ideas about blocksize. it looks like default block size > > Also somthing to look at is byte swapping. you can use dd to get > around this problem with the swab command. > > -branson > > -- > ============================================================================= > Branson Matheson | Ferguson Enterprises | If Pete and Repeat were > System Administrator | W: (804) 874-7795 | sittin on a fence and Pete > Unix, Perl, WWW | branson@widomaker.com | fell off, who is left? > >