Problem:
---------------
I could not get the Polycentre NSR program to recognise my tape drive (TLZ6L) as
a jukebox to access the tapes in Random Access Mode. When specifying a control
port through which communication takes place the program "jbm_enabler" was
always failing.
Solution:
--------------
Use the "scu" program to find out the correct Bus, Target id and Lun number the
tape drive is currently using.
In my case :-
scu> sh edt bus 2
I knew the tape device was on SCSI bus 2, but you could use any bus number.
This resulted in the following :-
CAM Equipment Device Table (EDT) Information
Bus: 2, Target 5, Lun: 0, Device Type: Sequential Access
Bus: 2, Target 5, Lun: 1, Device Type: Changer
Bus: 2, Target 5, Lun: 2, Device Type: (not present)
etc...
from this I could work out the correct character special file
unit_number = (8 * bus_number) + target_id
21 = (8 * 2) + 5
Finally I could then create the special file using
/dev/MAKEDEV.MC mc21b (b - represents Lun 1)
This was the final solution, so thanks to alle those who helped
Big Thanks to :
Harald Lundberg_at_tekla.fi
Adrian Ho_at_nii.ncb.gov.sg
Khan_at_informatik.fh-hamberg.de
knut_at_bggfu2.nho.hydro.com
Chris Glenister
Cranfield University
Received on Wed Mar 15 1995 - 10:23:04 NZDT