From owner-freebsd-questions Sat Aug 16 00:03:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA11307 for questions-outgoing; Sat, 16 Aug 1997 00:03:01 -0700 (PDT) Received: from nico.telstra.net (nico.telstra.net [139.130.204.16]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id AAA11302 for ; Sat, 16 Aug 1997 00:02:55 -0700 (PDT) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by nico.telstra.net (8.6.10/8.6.10) with ESMTP id RAA25858; Sat, 16 Aug 1997 17:02:14 +1000 From: Greg Lehey Received: (grog@localhost) by freebie.lemis.com (8.8.7/8.6.12) id QAA05900; Sat, 16 Aug 1997 16:32:13 +0930 (CST) Message-Id: <199708160702.QAA05900@freebie.lemis.com> Subject: Re: Reading an Archive that was created on DEC. In-Reply-To: <199708152006.QAA20404@arthur.ct-yardley.com> from rajesha at "Aug 15, 97 04:07:01 pm" To: rajesha@ct-yardley.com (rajesha) Date: Sat, 16 Aug 1997 16:32:13 +0930 (CST) Cc: questions@FreeBSD.ORG Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8250 Fax: +61-8-8388-8250 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk rajesha writes: > I am trouble reading the archive that was made on the DEC AlphaServer 1000 > which had a DEC proprietary tape drive. The tape is a 4mm DAT and I am > trying to read from a Sony 5000 Tape drive. In all probability, the drive will not be particularly proprietary. > When I made backup, I used 'tar -cv /*'. I tried to list the archive using > 'tar -t' and I get a block size error. Interesting. I wonder what they're doing. > How does block size effect between different drives. This isn't really a drive issue. It's a tar issue. Normal tars expect a block size of 10240 K (20 "blocks" of 512 bytes). Your DEC machine obviously has a different default. > I do not remember the block size when I created an archive. If you just said 'tar -cf', you didn't specify a block size, and you got the default. Look on the console or in /var/log/messages. Along with the message on the terminal: tar: read error on /dev/nrst0 : Input/output error you should get a message: Aug 16 16:30:53 freebie /kernel: st0: 65536-byte record too big That's the blcok size. This particular tape can be read with: tar tvb 128 The -b option specifies block sizes in "blocks" of 512 bytes. Greg