Hi Everyone,
We have been using TSM for about 4 years and I consider myself still a novice. One of the issues we have is our consultant generated scripts that email us reports of what tapes are going to the vault each day and which tapes should come from the vault back to the library. The email we get that has tapes going back to the library seems to miss tapes though and we end up with a bunch of tapes that are in the vault that have been removed from the pools. (i think they might be the db backup tapes, but i'm not sure).
anyways, here is an output from the actlog that shows a particular tape 000006L4 that was used, but theres no indication that it was ever expired from inventory:
tsm: GDC-UTIL-2>q actlog search=000006L4 begindate=09/01/2014
Date/Time Message
-------------------- ----------------------------------------------------------
09/03/2014 12:11:25 ANR1423W Scratch volume 000006L4 is empty but will not be deleted - volume access mode is "offsite".
09/04/2014 07:00:03 ANR1341I Scratch volume 000006L4 has been deleted from storage pool COPYPOOL. (SESSION: 46346, PROCESS: 647)
09/04/2014 07:00:03 ANR6684I MOVE DRMEDIA: Volume 000006L4 was deleted. (SESSION: 46346, PROCESS: 647)
09/04/2014 07:00:03 ANR2753I (ADMIN_RETURN_TAPES):000006L4 was deleted. (SESSION: 46346)
09/04/2014 19:33:08 ANR8810I Volume 000006L4 has been labeled in library LIBRARY. (SESSION: 46601, PROCESS: 654)
09/05/2014 09:31:25 ANR8337I LTO volume 000006L4 mounted in drive DRIVE2 (mt6.0.0.5). (SESSION: 47495, PROCESS: 659)
09/05/2014 09:31:25 ANR0513I Process 659 opened output volume 000006L4. (SESSION: 47495, PROCESS: 659)
09/05/2014 09:31:31 ANR1360I Output volume 000006L4 opened (sequence number 1). (SESSION: 47495, PROCESS: 659)
09/05/2014 09:36:02 ANR1361I Output volume 000006L4 closed. (SESSION: 47495, PROCESS: 659)
09/05/2014 09:36:02 ANR0515I Process 659 closed volume 000006L4. (SESSION: 47495, PROCESS: 659)
09/05/2014 09:36:10 ANR8336I Verifying label of LTO volume 000006L4 in drive DRIVE2 (mt6.0.0.5). (SESSION: 47495, PROCESS: 659)
09/05/2014 09:37:19 ANR8468I LTO volume 000006L4 dismounted from drive DRIVE2(mt6.0.0.5) in library LIBRARY. (SESSION: 47495, PROCESS: 659)
09/05/2014 09:50:44 ANR2017I Administrator ADMIN issued command: MOVE DRMEDIA 000006L4 wherest=mountable tost=vault wait=no (SESSION: 47509, PROCESS: 661)
09/05/2014 09:50:44 ANR6696I MOVE DRMEDIA: CHECKOUT LIBVOLUME for volume 000006L4 in library LIBRARY starting. (SESSION: 47509, PROCESS: 663)
09/05/2014 09:51:12 ANR8829I Remove volume 000006L4 from slot 17 of library LIBRARY at your convenience. (SESSION: 47509, PROCESS: 663)
09/05/2014 09:51:12 ANR6697I MOVE DRMEDIA: CHECKOUT LIBVOLUME for volume 000006L4 in library LIBRARY completed successfully. (SESSION: 47509, PROCESS: 663)
09/05/2014 09:51:12 ANR6683I MOVE DRMEDIA: Volume 000006L4 was moved from MOUNTABLE state to VAULT. (SESSION: 47509, PROCESS: 663)
09/17/2014 09:18:49 ANR2017I Administrator ADMIN issued command: QUERY ACTLOG search=000006L4 begindate=09/01/2014 (SESSION: 60863)
09/17/2014 09:20:10 ANR2017I Administrator ADMIN issued command: QUERY ACTLOG search=000006L4 begindate=09/01/2014 (SESSION: 60863)
tsm: GDC-UTIL-2>q vol 000006L4
ANR2034E QUERY VOLUME: No match found using this criteria.
ANS8001I Return code 11.
tsm: GDC-UTIL-2>q drmedia 000006L4
ANR2034E QUERY DRMEDIA: No match found using this criteria.
ANS8001I Return code 11.
how can we capture that that tape is no longer needed and can be returned to the library w/o having to manually inventory the difference between q drmedia and what's actually in the vault?
Thanks in advance.
Matt.