Date: Mon, 12 Jan 1998 22:08:07 -0600 (CST) From: Kevin Day <toasty@home.dragondata.com> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: docs/5487: Adding documentation for scsi(8) usage with autoloaders Message-ID: <199801130408.WAA29958@home.dragondata.com>
next in thread | raw e-mail | index | archive | help
>Number: 5487
>Category: docs
>Synopsis: Adding documentation for scsi(8) usage with autoloaders
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jan 15 00:50:03 PST 1998
>Last-Modified:
>Originator: Kevin Day
>Organization:
DragonData
>Release: FreeBSD 2.2.1-RELEASE i386
>Environment:
FreeBSD witha Archive 4586NP DAT autoloader
>Description:
Somewhere in the handbook/FAQ you may want to mention how to use a DAT
autoloader. ch0 appears non-functional with these drives. It detects them,
but sends bad/incorrect commands to it.
Also tested on an HP autoloader (model number unknown) and couldn't get cd0
to grok it.
>How-To-Repeat:
See below.
>Fix:
The following command shows the correct scsi command to load/unload a tape.
x = Source bay
y = Destination bay
scsi -f /dev/rst0.ctl -s 100 -c "a5 20 0 0 0 x 0 y 0 0 0 0"
Bay 1 = Tape Drive
Bay 2 = Loader slot 1
Bay 3 = Loader slot 2
Bay n = Loader slot n+1
To load a tape in slot 2 to the drive, the following command works:
scsi -f /dev/rst0.ctl -s 100 -c "a5 20 0 0 0 3 0 1 0 0 0 0"
To eject the tape into slot 4:
scsi -f /dev/rst0.ctl -s 100 -c "a5 20 0 0 0 1 0 5 0 0 0 0"
You do get a bunch of odd errors if you try to load a tape into a bay that's
already got a tape in it, or one that doesn't exist.
Be warned that on the Archive 4586NP attempting to load a tape into position
0 makes the tape drive lockup. (you need to power cycle it to recover)
Kevin
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801130408.WAA29958>
