In a TSM environment with Library Manager and Library Client configurations, it is common to observe that tape media volumes, once assigned to a Library Client TSM server, fail to be released after the data expires. As a result, these tape media volumes remain owned by the Library Client rather than returning to Scratch tape media status. Over time, this can lead to numerous instances of tape media running out, posing a challenge to manage the available tape media resources effectively. To resolve this issue, simply run the command below from Library Client TSM server.
audit library [LibraryName] checklabel=barcode <-- Run this on Library Client TSM Server
To ensure best practices, it is recommended to set the admin schedule to run the “audit library” command on a daily basis for the Library Client TSM server. This helps maintain the health and integrity of the library resources. Keep in mind that the “audit library” command should be executed on the Library Client.
define schedule audit_library cmd="audit library LibraryName checklabel=barcode" starttime=12:00 type=admin active=yes