From owner-freebsd-questions@FreeBSD.ORG Sat Nov 1 03:11:15 2003 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 98DD416A4CE for ; Sat, 1 Nov 2003 03:11:15 -0800 (PST) Received: from anybots.com (w055.z066088028.sjc-ca.dsl.cnc.net [66.88.28.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1025D43F93 for ; Sat, 1 Nov 2003 03:11:15 -0800 (PST) (envelope-from tlb@anybots.com) Received: from [10.10.10.16] (tlb [10.10.10.16]) by fester.anybots.com (8.12.6/8.12.3) with ESMTP id h9UNrkSV023679 for ; Thu, 30 Oct 2003 15:54:02 -0800 (PST) (envelope-from tlb@anybots.com) From: Trevor Blackwell To: freebsd-questions@freebsd.org Content-Type: text/plain Message-Id: <1067558026.53841.86.camel@tlb> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.0 Date: 30 Oct 2003 15:53:46 -0800 Content-Transfer-Encoding: 7bit Subject: Travan SCSI tape random failures 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, 01 Nov 2003 11:11:15 -0000 I'm running 4.7-RELEASE on a dual P4-Xeon machine and trying to back up to a Seagate 10/20 GB Travan tape drive: sa0 at ahd1 bus 0 target 4 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 10.000MB/s transfers (10.000MHz, offset 15) It's in the default mode: tlb tlb$ sudo mt -f /dev/sa0.ctl status Mode Density Blocksize bpi Compression Current: 0x47 variable 0 disabled ... When I write to it, it usually fails after a few hundred MB, but the amount of data is not repeatable even when I write identical files. For example: tlb tlb$ sudo dd of=/dev/nsa0 if=[huge file] bs=10240 dd: /dev/nsa0: short write on tape device 18139+0 records in 18138+1 records out The kernel reports: /kernel: (sa0:ahd1:0:4:0): WRITE FILEMARKS. CDB: 10 0 0 0 1 0 /kernel: (sa0:ahd1:0:4:0): MEDIUM ERROR info:1 asc:c,0 /kernel: (sa0:ahd1:0:4:0): Write error /kernel: (sa0:ahd1:0:4:0): failed to write terminating filemark(s) /kernel: (sa0:ahd1:0:4:0): tape is now frozen- use an OFFLINE, REWIND or MTEOM command to clear this state. The drive and tape are both new; I haven't used this kind before. Any suggestions? -- Trevor Blackwell tlb@anybots.com (650) 210-9272