Hey all, I have a partial solution to my problem. Andy Bach has been helping me and I also finally found a hint to use the 'sg' driver from Sun out on the net after hours and hours of searching. Here's what I now know: 1.) There is a "generic scsi" driver, sg, for Solaris 2.6 and 2.7. I think this is similar to Solaris 8's sgen driver. You can get it from Sun patch 107502-01 which is downloadable from Sun. Install the SUNWmmgr pagkage (Sun StorEdge Enterprise NetBackup/HSM Media Manager) and follow the install instructions. 2.) Installing and configuring 'sg' creates devices in /dev/sg. The device I have been seeking suddenly appears, /dev/sg/c1t2l0 (controller 1, target 2, lun 0). 2.) I can talk to the library and move tapes using 'tldtest' from the SUNWmmgr package. 3.) MTX still refuses to work. Any thoughts? Following below is some potentially usefull output for anyone who can help. The first section shows that I can talk to the drive via 'sg'. The second that 'mtx' still says "INQUIRY Command Failed". Pete # pkginfo -l SUNWmmgr PKGINST: SUNWmmgr NAME: Sun StorEdge Enterprise NetBackup/HSM Media Manager CATEGORY: application,tools ARCH: sparc VERSION: 3.1 BASEDIR: /opt VENDOR: Sun Microsystems, Inc. DESC: Media Manager has device and media management components for handling tapes drives, optical disks, and robotic libraries. PSTAMP: heckle980227105019 INSTDATE: Oct 30 2001 14:24 HOTLINE: Please contact your local service provider STATUS: completely installed FILES: 256 installed pathnames 3 linked files 32 directories 61 executables 28325 blocks used (approx) # pwd /opt/openv/volmgr/bin # ./sgscan /dev/sg/c0t0l0: Disk (/dev/rdsk/c0t0d0): "SEAGATE ST34371W SUN4.2G" /dev/sg/c0t1l0: Disk (/dev/rdsk/c0t1d0): "IBM DDRS39130SUN9.0G" /dev/sg/c0t3l0: Disk (/dev/rdsk/c0t3d0): "SEAGATE ST336704LSUN36G" /dev/sg/c1t2l0: Changer: "QUALSTARTLS-4210" /dev/sg/c1t4l0: Tape (/dev/rmt/0): "SONY SDX-500C" /dev/sg/c1t5l0: Tape (/dev/rmt/1): "SONY SDX-500C" /dev/sg/c1t6l0: Cdrom: "TOSHIBA XM5701TASUN12XCD" # ./tldtest -r /dev/sg/c1t2l0 -d1 /dev/rmt/1n -d2 /dev/rmt/0n Opening /dev/sg/c1t2l0 Enter tld commands (? returns help information) ? inquiry Inquiry_data: QUALSTARTLS-4210 2.09 init Initiating INITIALIZE_ELEMENT_STATUS INITIALIZE_ELEMENT_STATUS complete mode First transport addr = 700, Number transport elements = 1 First storage addr = 0, Number storage elements = 12 First mailslot addr = 600, Number mailslot elements = 1 First drive addr = 500, Number drive elements = 2 MODE_SENSE complete m s1 s5 Initiating MOVE_MEDIUM from address 0 to 4 MOVE_MEDIUM complete # ./mtx -f /dev/sg/c1t2l0 inquiry mtx: Request Sense: Long Report=yes mtx: Request Sense: Valid Residual=no mtx: Request Sense: Error Code=0 (Unknown?!) mtx: Request Sense: Sense Key=No Sense mtx: Request Sense: FileMark=no mtx: Request Sense: EOM=no mtx: Request Sense: ILI=no mtx: Request Sense: Additional Sense Code = 00 mtx: Request Sense: Additional Sense Qualifier = 00 mtx: Request Sense: BPV=no mtx: Request Sense: Error in CDB=no mtx: Request Sense: SKSV=no INQUIRY Command Failed # ./loaderinfo -f /dev/sg/c1t2l0 mtx: Request Sense: Long Report=yes mtx: Request Sense: Valid Residual=no mtx: Request Sense: Error Code=0 (Unknown?!) mtx: Request Sense: Sense Key=No Sense mtx: Request Sense: FileMark=no mtx: Request Sense: EOM=no mtx: Request Sense: ILI=no mtx: Request Sense: Additional Sense Code = 00 mtx: Request Sense: Additional Sense Qualifier = 00 mtx: Request Sense: BPV=no mtx: Request Sense: Error in CDB=no mtx: Request Sense: SKSV=no INQUIRY Command Failed # ./tapeinfo -f /dev/rmt/0n Product Type: Tape Drive Vendor ID: 'SONY ' Product ID: 'SDX-500C ' Revision: '0107' Attached Changer: No SerialNumber: '0000910081' MinBlock:2 MaxBlock:16777215 Ready: no # ./tapeinfo -f /dev/rmt/1n Product Type: Tape Drive Vendor ID: 'SONY ' Product ID: 'SDX-500C ' Revision: '0107' Attached Changer: No SerialNumber: '0000913892' MinBlock:2 MaxBlock:16777215 Ready: no -----Original Message----- From: Pete Simpson Sent: Tuesday, October 30, 2001 8:18 AM To: sunmanagers@sunmanagers.org Subject: MTX, E450 & Solaris 2.6 I posted this to the MTX mailing list with no response, so I figured I'd try the good people here at sunmanagers... Good Morning, I have a new install of Solaris 2.6, recommended jumbo patchs, and a clean compile of mtx 1.2.13. This is on an E450 w/ 4 cpu, 3 internal disks & cdrom, and an external Qualstar 4120 tape library with two Sony AIT2 tape drives. I can see and operate the two Sony AIT2 tape drives in my changer cabinet with tar & mt, but I'm at a loss as to what the proper device name to pass to mtx for the changer is. The changer is on controller 1, ID 3. But I don't see an entry for the changer in /dev or /devices. The tape drives are also on controller 1, ID's 4 & 5, they work fine. And the CD-ROM is also on controller 1, at ID 6 (it's on the internal side of the SCSI bus). How do I determine (or define) my changer device to the system? The output of 'dmesg' is included below for reference. Thanks. Pete == [useless stuff removed from summary] _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Tue Oct 30 14:40:16 2001
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:27 EST