From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075318306550.tru64-unix-managers.marc@archive.invalid> From: Chris Glenister Date: Wed, 15 Mar 1995 15:21:58 +0000 To: tru64-unix-managers Subject: SUMMARY: NSR and Tape JukeBoxes X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075318306550 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@tekla.fi Adrian Ho@nii.ncb.gov.sg Khan@informatik.fh-hamberg.de knut@bggfu2.nho.hydro.com Chris Glenister Cranfield University