AIX operating systems

tsmdlst (Display information about devices)

Use the tsmdlst utility to view device names and other information about medium changer, and tape devices that are controlled by the IBM Storage Protect device driver.

The tsmdlst utility is part of the IBM Storage Protect device driver package that is the same for the server and the storage agent. You must install the IBM Storage Protect device driver to run the tsmdlst utility for the storage agent.

After devices are configured, you can run the tsmdlst utility to display device information. The utility saves this information in output files that you can retrieve. The output files are named lbinfo for medium changer devices, and mtinfo for tape devices. After a device is added or reconfigured, you can update these output files by running the tsmdlst utility again.

The tsmdlst utility and the output files it generates are in the devices/bin directory, which is /opt/tivoli/tsm/devices/bin, by default. Before you run the tsmdlst utility, make sure that either the IBM Storage Protect storage agent is stopped or that all device activities are stopped. If a device is in use by the IBM Storage Protect storage agent when the tsmdlst utility runs, a device busy error is issued.

Options

/t
Displays trace messages for the tsmdlst utility.
/?
Displays usage information about tsmdlst and its parameters.

Example: Display information about all devices

Display information about all devices that were configured by the IBM Storage Protect device driver:

tsmdlst
TSM Device Name   Vendor  Product  Firmware  World Wide Name  Serial Number
----------------  ------  -------  --------  ---------------  -------------
/dev/rmt/tsmlb39  ATL     P3000    0100      1333508999

TSM Device Name     Vendor   Product  Firmware  World Wide Name  Serial Number
------------------  ---–---  -------  --------  ---------------  -------------
/dev/rmt/tsmmt1001  QUANTUM  DLT7000  0100      1333508000
/dev/rmt/tsmmt1002  QUANTUM  DLT7000  0100      1333508002
/dev/rmt/tsmmt1003  QUANTUM  DLT7000  0100      1333508001
/dev/rmt/tsmmt1004  QUANTUM  DLT7000  0100      1333508003

  o Library configuration information has been saved in lbinfo
  o Tape drive configuration information has been saved in mtinfo