On Fri, Feb 13, 2004 at 08:31:03AM -0900, Kevin S Secor wrote:
> sorry bout that the OS is sol 9
Great. So the only caveat here is that I've never personally run
MTX/sgen on a fibre-connected robot. No reason that shouldn't be
totally transparent (just like the tape drives themselves), I've just
never done it myself.
My more-or-less standard Solaris/Amanda/MTX spiel:
Build and install MTX, from http://mtx.badtux.net.
Read the shell script contrib/config_sgen_solaris.sh from the
MTX source directory and use that to teach yourself what to do. Resist
the temptation to just run the script; even if it would work, it's not
exactly what you want. The steps would be something like:
0) Read the sgen(7D) man page first, just to get a little familiar
with it. You don't have to completely understand it.
You will *not* use sgen(7D) devices to read/write your tape drives
(you already have st(7D) devices for that). You will only use
sgen(7D) to talk to the robot.
[That's not *quite* true... MTX's tapeinfo is can be very useful,
and you might want to look at using sgen(7D) for that later.]
1) You already have /kernel/drv/sgen.conf, with all entries commented
out, correct?
Create a new sgen.conf that points at your robot. If, for
example, it is at SCSI target 5, sgen.conf might look like:
device-type-config-list="changer";
name="sgen" class="scsi" target=5 lun=0;
The tape drive and robot should be at different addresses in some
way; they might be two different targets, both lun=0, or one
target with two luns (logical unit numbers).
probe-scsi-all should show you.
2) # rem_drv sgen
You shouldn't see any alarming messages here, sgen shouldn't be
loaded at all.
# add_drv -v sgen
The "-v" should make comments about finding your controller and making
device entries for it.
Now you should have /dev/scsi/changer/c?t0d0, and you should be
able to go:
# mtx -f /dev/scsi/changer/c?t0d0 inquiry
# mtx -f /dev/scsi/changer/c?t0d0 status
--
Jay Lessert jay_lessert AT accelerant DOT net
Accelerant Networks Inc. (voice)1.503.439.3461
Beaverton OR, USA (fax)1.503.466.9472
|