mtlib -l /dev/lmcp0 -f /dev/rmt1 -qD
Device Data:
   mounted volser.............none.
   device category............012E
   device state...............Device installed in Library.
                              Device available to Library.
                              ACL is installed.
                              Auto Fill is enabled.
   device class...............3590-E1A
   extended device status.....00

$ mtlib -l /dev/lmcp0 -D
  0, 00C33980 003590E1A00
  1, 00C39160 003590E1A01

$ mtlib -l /dev/lmcp0 -D -E
 Type   Mod  Serial #   Devnum   Cuid  Device  VTS Library
003590  E1A  13-C3398  00C33980    1      0
003590  E1A  13-C3916  00C39160    2      0

$  mtlib -l /dev/lmcp0 -qM
IBM016 C39160

$ tapeutil -f /dev/rmt1 inquiry
Issuing inquiry...

Inquiry Data,  Length 56

            0 1  2 3  4 5  6 7  8 9  A B  C D  E F   0123456789ABCDEF
    0000 - 0180 0302 3300 1000 4942 4D20 2020 2020  [...3...IBM     ]
    0010 - 3033 3539 3045 3141 2020 2020 2020 2020  [03590E1A        ]
    0020 - 4533 3731 3133 3030 3030 3030 3043 3333  [E371130000000C33]
    0030 - 3938 2030 0500 0181                      [98 0...        ]

$ lscfg -vl rmt1
  DEVICE            LOCATION          DESCRIPTION

  rmt1              14-08-01          IBM 3590 Tape Drive and Medium
                                      Changer (FCP)

        Manufacturer................IBM
        Machine Type and Model......03590E1A
        Serial Number...............0000000C3398
        Device Specific.(FW)........E371
        Loadable Microcode Level....A0B00E26

$ tapeutil -f /dev/rmt2 fuser
Device is currently open by process id 13474
$ ps -ef |grep dsms
    root 13474     1   1 08:24:41      -  1:08 ./dsmserv

-----Original Message-----
From: Gill, Geoffrey L. [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 20, 2002 10:46 AM
To: [EMAIL PROTECTED]
Subject: mtlib command


Good day all,

Somewhere I had documented an mtlib command that could be used to query
information about the drives attached to the system. With the changeover of
TSM servers it's hard to figure out what drive is what. I have identified a
few by looking in the side door of the 3494 when a tape got mounted.
Unfortunately I'll never be able to do this with the rest and have misplaced
my mtlib commands.

Can anyone send me the command gives info about the drive itself, as in
serial number, so I can match rmt(whatever) to it. All I can find is mtlib
-l /dev/lmcp0 -qD -f/dev/rmt6, and this one doesn't do it for me. I've got a
bad drive and need to locate it this way.

Thanks,
Geoff Gill
TSM Administrator
NT Systems Support Engineer
SAIC
E-Mail:    <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
Phone:  (858) 826-4062
Pager:   (877) 905-7154

Reply via email to