Topics: Backup & restore, Spectrum Protect

Tape library commands

How many times can the tape drives be cleaned?

# mtlib -l /dev/lmcp0 -qL
Look for "avail xxxx cleaner cycles" at the bottom.

Which cleaning tapes are in the library?
# mtlib -l /dev/lmcp0 -qC -s FFFD
The first column in the output is the volume serial number of the cleaning tapes.

When was the cleaning tape last used?
# mtlib -l /dev/lmcp0 -qE -V [tape-volume-serial-number] -u
Look for "last used" at the bottom of the output.

How are my tape drives doing (from a TSM viewpoint)?
# dsmadmc -c comma -id=readonly -password=readonly q dr f=d
Look for "On-Line" and "Drive State" in the output. Also check if the paths to your tape drives are on-line.
# query path

If you found this useful, here's more on the same topic(s) in our blog:

UNIX Health Check delivers software to scan Linux and AIX systems for potential issues. Run our software on your system, and receive a report in just a few minutes. UNIX Health Check is an automated check list. It will report on perfomance, capacity, stability and security issues. It will alert on configurations that can be improved per best practices, or items that should be improved per audit guidelines. A report will be generated in the format you wish, and the report includes the issues discovered and information on how to solve the issues as well.

Interested in learning more?