Partial SUMMARY: MTX, E450 & Solaris 2.6

Pete Simpson Pete.Simpson at realmed.com
Tue Oct 30 16:39:28 EST 2001


Hey all,=20

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"=20
/dev/sg/c1t5l0: Tape (/dev/rmt/1): "SONY    SDX-500C"=20
/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 =3D 700, Number transport elements =3D 1
First storage addr =3D 0, Number storage elements =3D 12
First mailslot addr =3D 600, Number mailslot elements =3D 1
First drive addr =3D 500, Number drive elements =3D 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=3Dyes
mtx: Request Sense: Valid Residual=3Dno
mtx: Request Sense: Error Code=3D0 (Unknown?!)
mtx: Request Sense: Sense Key=3DNo Sense
mtx: Request Sense: FileMark=3Dno
mtx: Request Sense: EOM=3Dno
mtx: Request Sense: ILI=3Dno
mtx: Request Sense: Additional Sense Code =3D 00
mtx: Request Sense: Additional Sense Qualifier =3D 00
mtx: Request Sense: BPV=3Dno
mtx: Request Sense: Error in CDB=3Dno
mtx: Request Sense: SKSV=3Dno
INQUIRY Command Failed

# ./loaderinfo -f /dev/sg/c1t2l0=20
mtx: Request Sense: Long Report=3Dyes
mtx: Request Sense: Valid Residual=3Dno
mtx: Request Sense: Error Code=3D0 (Unknown?!)
mtx: Request Sense: Sense Key=3DNo Sense
mtx: Request Sense: FileMark=3Dno
mtx: Request Sense: EOM=3Dno
mtx: Request Sense: ILI=3Dno
mtx: Request Sense: Additional Sense Code =3D 00
mtx: Request Sense: Additional Sense Qualifier =3D 00
mtx: Request Sense: BPV=3Dno
mtx: Request Sense: Error in CDB=3Dno
mtx: Request Sense: SKSV=3Dno
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=20
Sent: Tuesday, October 30, 2001 8:18 AM
To: sunmanagers at 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
=3D=3D

[useless stuff removed from summary]



More information about the sunmanagers mailing list