From owner-freebsd-questions@FreeBSD.ORG Tue Jul 29 19:01:29 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 9F23B37B401 for ; Tue, 29 Jul 2003 19:01:29 -0700 (PDT) Received: from post3.inre.asu.edu (post3.inre.asu.edu [129.219.110.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id E763943F75 for ; Tue, 29 Jul 2003 19:01:28 -0700 (PDT) (envelope-from David.Bear@asu.edu) Received: from conversion.post3.inre.asu.edu by asu.edu (PMDF V6.2 #30756) id <0HIT00901EXXXL@asu.edu> for freebsd-questions@freebsd.org; Tue, 29 Jul 2003 19:01:09 -0700 (MST) Received: from smtp.asu.edu (smtp.asu.edu [129.219.110.107]) by asu.edu (PMDF V6.2 #30756) with ESMTP id <0HIT00MP6EXX4X@asu.edu> for freebsd-questions@freebsd.org; Tue, 29 Jul 2003 19:01:09 -0700 (MST) Received: from moroni.pp.asu.edu (moroni.pp.asu.edu [129.219.120.183]) by smtp.asu.edu (8.11.0/8.11.0/asu_smtp_relay,nullclient,tcp_wrapped) with ESMTP id h6U219Q22531 for ; Tue, 29 Jul 2003 19:01:10 -0700 (MST) Received: (from iddwb@localhost) by moroni.pp.asu.edu (8.11.6/8.11.6) id h6U21A617251 for freebsd-questions@freebsd.org; Tue, 29 Jul 2003 19:01:10 -0700 Date: Tue, 29 Jul 2003 19:01:09 -0700 From: David Bear To: freebsd-questions@freebsd.org Message-id: <20030729190109.B16674@asu.edu> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline User-Agent: Mutt/1.2.5.1i Subject: tape driver turmoil X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David.Bear@asu.edu List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jul 2003 02:01:29 -0000 I have two freebsd boxes. Box A is 4.4. Box B is 4.7. Box A has a cybernetics DAT tape drive. Box B has a cybernetics AIT/dlt tape drive. I found that with the DAT drive I must set the tape density and blocksize or else the tapes are unreadable, ie the default driver status set the tape to variable block with some strange density. If it don't set the blocksize to 512 and the density to dds4 prior to writing to the tape, it is unreadable. That lead me to check these parms on the AIT drive. However, issueing a density command causes an error. See below. I was using linux on this system prior to fbsd. I made tapes of data sets I wanted to restore with tar. However, after fbsd was installed, the tapes were unreadable. So, I thought I'd hit the same issue with density and blocksize. But I can't set density. I'm beginning to really hate tape units as they all see very different in the way they behave. Is there a really good FAQ on tape units for fbsd? ======================================= # Issuing commands mt density 0x41 mt: /dev/nsa0: density: Invalid argument assurbanipal# mt density DLTapeIV Using "DLTapeIV" as an alias for 0x1a:DLTapeIV(20GB) mt: /dev/nsa0: density: Invalid argument # cause these kernel messages (sa0:ahc1:0:10:0): MODE SELECT(06). CDB: 15 0 0 0 c 0 (sa0:ahc1:0:10:0): ILLEGAL REQUEST asc:26,0 (sa0:ahc1:0:10:0): Invalid field in parameter list sks:8f,4 (sa0:ahc1:0:10:0): MODE SELECT(06). CDB: 15 0 0 0 c 0 (sa0:ahc1:0:10:0): ILLEGAL REQUEST asc:26,0 (sa0:ahc1:0:10:0): Invalid field in parameter list sks:8f,4 mt blocksize 512 assurbanipal# mt status Mode Density Blocksize bpi Compression Current: 0x30 512 bytes 0 unsupported ---------available modes--------- 0: 0x30 512 bytes 0 unsupported 1: 0x30 512 bytes 0 unsupported 2: 0x30 512 bytes 0 unsupported 3: 0x30 512 bytes 0 unsupported --------------------------------- Current Driver State: at rest. --------------------------------- File Number: 0 Record Number: 0 Residual Count 0 ================================ not also that in the man page for mt, there is no 0x30 density mode listed.. And I have tried other modes as well. They all through errors. -- David Bear phone: 480-965-8257 fax: 480-965-9189 College of Public Programs/ASU Wilson Hall 232 Tempe, AZ 85287-0803 "Beware the IP portfolio, everyone will be suspect of trespassing"