Primary Tapes

Flyboy60

ADSM.ORG Member
Joined
Jul 1, 2017
Messages
13
Reaction score
0
Points
0
I had some damaged files and had to do a restore, which took about 2 weeks.
I did not have enough slots available so I had to checkout some tapes. How can I verify that I replaced the correct tapes?
In other words, how can I verify that the primary tapes are in the library?
 
Run 'q volume stgpool=<name_of_primary_pool>'. You will get a listing. Then run 'q libvolume', and you will get a second listing ('run audit library <library_name> checkl=barcode' first to be sure that the volumes in the library are correctly accounted for by TSM).

Compare the list. If the second list does not show tape/s from the first list, then you know that those tapes needs to be checked in.
 
If you have a long list of tapes to go through, you could do the following. It's essentially what Moon-buddy suggested with an added step.
- first audit the library
- then query the list of volumes for tapes that are unavailable or offsite:
Code:
query volume stgpool=PRIMARY_POOL access=unavailable,offsite
Any tapes in that output after an audit is not checked in.
 
Back
Top