Spirit Software Solutions - TSM Administration and Reporting made easy
Spirit Software Solutions
  • DownloadDownload Products
  • PurchasePurchase Products
  • ProductsOur Products
    • SP Studio
    • TSM Studio Server
  • SupportProduct Support
    • Open a case
    • Helpful TSM SQL Commands
    • Knowledge Base
    • Known Issues
    • Pre Release
    • TSM Studio Documentation
  • ResellersResell TSM Studio
  • Contact UsGet in Touch With Us
Auditing a Library

Auditing a Tape Library is the process in which TSM verifies the information it has stored internally about the tapes, their labels and where they are located in the library (slot numbers) with the Physical Tape Library.

Why do you need to audit your library?
From time to time your Library will have maintenance performed on it, Tape Library Arms get jammed, tapes get stuck in drives and need to be manually moved back to their slot and tapes can be manually inserted in Tape Libraries. When problems or tasks like these described happen in your tape library it is good practice to run the Audit Library command.

The Audit Library Command can verify the tapes in the Library in one of  two ways.
1.By Barcode, this option verifies the barcode information and slot position and runs quickly as the Tape Library already has this information stored in its internal memory.
2.By Internal Label, every tape that TSM uses has an internal label that has been written to the start of the tape by TSM when running the label command when the tape was initially placed into the Library. Using this method causes TSM to mount every tape into a drive and verify its label. As every tape is physically mounted and read this option can be time consuming.

Which option should you use?

In a physical library it is extremely rare for the barcode label and the internal label to not match, but it can happen, so if you have the time then I would recommend using option 2, but if you don’t have a big window for your tape library to be out of action then use option 1.

If you are using a Virtual Tape Libraries and have the Relabel option set then I strongly advise running option 2 from time to time on your virtual library.

When running either variation of the Audit Library command there must be no activity happening on the Library. Run the Query Mount command and make sure there are no tapes mounted or even idle.  Cancel all processes and Sessions that are using the Drives.   Once there are no drives in use run the Audit Library
From the Admin CLI   Using barcode information only AUDIT LIBRARY LibraryName CHECKLABEL=BARCODE

Using Internal Labels AUDIT LIBRARY LibraryName CHECKLABEL=YES   Where LibraryName is the name of your Library

From TSM Studio Go to the Libraries and Volumes Category and open the Libraries Dataview

libraries.png

Select the Library you wish to Audit  Right Click to bring up the Command Options and select either the Audit Library ( Check Label ) or Audit Library ( Check Barcode )

auditlibrarymenu.png

In TSM Studio you can check for label mis-matches, it requires that you first run the AUDIT LIBRARY command with the CHECKLABEL=YES option then from the Main Menu Select Tools–> Check TSM Tape Labels

checktapelabelsmenu.png

Choose the TSM Server and Library and then hit the Refresh Button   Use the View drop down to show you the mis-matched tape labels

checktsmlabelsdialog.png

Posted in: TSM Studio

  • Twitter

    • #WCF If you are looking for an easy authentication method that you can use in WCF with multiple service contracts - http://t.co/ZjGu8UNJvF 25 April from Twitter Web Client
    • See the new blog on #TSMStudio posted on the tsmblog website - http://t.co/WHhd2oWRXa. 25 April from Twitter Web Client
    • Just finished the Microsoft WCF learning stream at http://t.co/oy2RmpnBqy absolutely fantastic way to understand WCF in-depth. 16 April from Twitter Web Client
    @spirit_software
  • Recent Comments

    • Operational Reporting Viewer - Spirit Software Solutions on How to uninstall4 years ago[…] Supported on Windows XP SP3, Vista. ...
    • TSM Studio Alerting - Spirit Software Solutions on How to uninstall4 years ago[…] TSM Studio Alerting Client Supported on ...
    • TSM Studio Operational Reporting - Spirit Software Solutions on How to uninstall4 years ago[…] TSM Studio Operational Reporting Client Supported ...
  • RSS IBM TSM Notifications

    • An error has occurred, which probably means the feed is down. Try again later.
© 2014 Spirit Software Solutions
  • Download
  • Purchase
  • Products
  • Support
  • Resellers
  • Contact Us