Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2002 21:57:44 -0600 (CST)
From:      Jamie <jamie@gnulife.org>
To:        freebsd-isp@freebsd.org
Subject:   multiple SCSI tape drives
Message-ID:  <20021107214152.Y62682-100000@floyd.gnulife.org>

next in thread | raw e-mail | index | archive | help



        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: <DEC DLT2000 971E> 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: <DEC DLT2000 9823> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021107214152.Y62682-100000>