From owner-freebsd-questions@FreeBSD.ORG Sat Jun 12 03:57:12 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6581216A4CE for ; Sat, 12 Jun 2004 03:57:12 +0000 (GMT) Received: from gw.woopwoop.com (gw.woopwoop.com [203.18.85.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED7AB43D2D for ; Sat, 12 Jun 2004 03:57:10 +0000 (GMT) (envelope-from raymond@unixworks.com.au) Received: from unixworks.com.au (pup.local [10.10.10.1]) by gw.www.woopwoop.com (8.12.6/8.11.6) with SMTP id i5BLRtia014971 for freebsd-questions@FreeBSD.org; Sat, 12 Jun 2004 07:27:56 +1000 (EST) (envelope-from raymond@unixworks.com.au) Date: Sat, 12 Jun 2004 07:27:55 +1000 (EST) Message-Id: <200406112127.i5BLRtia014971@gw.www.woopwoop.com> Subj: Sony AIT SDX-420 ATAPI tape drive on FreeBSD 5.2.1 To: freebsd-questions@FreeBSD.org From: raymond@unixworks.com.au Subject: Sony AIT SDX-420 ATAPI tape drive on FreeBSD 5.2.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jun 2004 03:57:12 -0000 I have added a Sony SDX-420 ATAPI tape drive to a FreeBSD 5.2.1-RELEASE system. The tape successfully does a dump and restore on this system but when the tape is taken to a Sony SDX-400 SCSI tape drive on a FreeBSD 4.7-RELEASE system, restore insists that the tape blocks are 512 bytes and this is not a multiple of 1024 (the tape was created with a -b 32). I have then taken the backup from the SCSI drive (where it reads) and attempted to read it on the ATAPI drive; the result looks like: monster# mt -f /dev/nast0 status Mode Density Blocksize bpi Compression Current: 0x01:X3.22-1983 512 bytes 800 0x1 ---------available modes--------- 0: default variable 0 none 1: default variable 0 none 2: default variable 0 none 3: default variable 0 none --------------------------------- File Number: 0 Record Number: 0 Residual Count 0 monster# mt -f /dev/nast0 rew monster# restore -t -b32 -f /dev/nast0 Tape read error while trying to set up tape continue? [yn] y Tape is not a dump tape monster# atacontrol info 1 Master: ast0 ATA/ATAPI rev 5 Slave: acd0 ATA/ATAPI rev 0 monster# atacontrol mode 1 Master = UDMA66 <<<--- I had set this Slave = PIO4 monster# atacontrol reinit 1 Master: ast0 ATA/ATAPI rev 5 Slave: acd0 ATA/ATAPI rev 0 monster# atacontrol mode 1 Master = PIO4 <<<--- It reverts Slave = PIO4 monster# mt -f /dev/nast0 rew monster# restore -t -b32 -f /dev/nast0 Tape read error while trying to set up tape continue? [yn] y Tape is not a dump tape Any help gratefully received. Ray Newman 12 Jun 2004