From owner-freebsd-isp Thu Nov 7 19:43:39 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF51637B401 for ; Thu, 7 Nov 2002 19:43:37 -0800 (PST) Received: from floyd.gnulife.org (floyd.gnulife.org [199.86.41.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A5CD43E3B for ; Thu, 7 Nov 2002 19:43:37 -0800 (PST) (envelope-from jamie@gnulife.org) Received: by floyd.gnulife.org (Postfix, from userid 1000) id 038A9432C9; Thu, 7 Nov 2002 21:57:44 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by floyd.gnulife.org (Postfix) with ESMTP id E96FE432C6 for ; Thu, 7 Nov 2002 21:57:44 -0600 (CST) Date: Thu, 7 Nov 2002 21:57:44 -0600 (CST) From: Jamie To: freebsd-isp@freebsd.org Subject: multiple SCSI tape drives Message-ID: <20021107214152.Y62682-100000@floyd.gnulife.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I am running FreeBSD 4.5 and just installed a couple of scsi tape drives on the machine. For some reason, I can only seem to access one of the drives. The kernel finds both of the drives when the machine starts: Waiting 15 seconds for SCSI devices to settle sa0 at ahc0 bus 0 target 3 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 5.000MB/s transfers (5.000MHz, offset 15) sa1 at ahc0 bus 0 target 6 lun 0 sa1: Removable Sequential Access SCSI-2 device sa1: 5.000MB/s transfers (5.000MHz, offset 15) ...but for some reason I can't seem to use the device /dev/sa0 or /dev/sa1. When I try to rewind /dev/sa0, I get: machine# mt -f /dev/sa0 rewind /dev/sa0: Inappropriate ioctl for device I can only seem to get one of the machine to actually work right. I figured out which device driver it was using by mistake, when I did: machine# mt rdhpos It indicated /dev/nsa0 ! My first question is, why is it using nsa0? When the machine booted, it was sa0. My second question is, how do I access the other SCSI drive? When I do this: machine# ls /dev/*sa* ersa0 esa0 nrsa0 nsa0 rsa0 rsa0.ctl sa0.3 ersa0.0 esa0.0 nrsa0.0 nsa0.0 rsa0.0 sa0 sa0.ctl ersa0.1 esa0.1 nrsa0.1 nsa0.1 rsa0.1 sa0.0 sa1 ersa0.2 esa0.2 nrsa0.2 nsa0.2 rsa0.2 sa0.1 ersa0.3 esa0.3 nrsa0.3 nsa0.3 rsa0.3 sa0.2 ...There is only one sa1 device file, and when I try writing to it, it appears to take writes and reads, because I can see the files listed on the machine as tar "runs", but the tape machine isn't doing anything (no noice, light activity - but is the same model as the other). I am mystified by all these other "sa0" device files, but only one sa1 file. Anywone willing to point me in the right direction? I've tried reading the man pages on "sa", and "mt". They marginally helpful, but does anyone know of other docs out there that I may find useful? Thanks! - Jamie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message