Results 1 to 3 of 3
-
10-11-2012, 06:52 AM #1Newcomer
- Join Date
- Jul 2010
- Posts
- 42
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Finding which tapes are missing from the library
Hi,
A while ago we ran out of slots in our library, so we just removed some "full" tapes and loaded scratch so that we could get a backup. The full tapes were sent off site. We have now upgraded the library with more slots.
When we try to run reclamation it tells us that certain tapes are needed that are not in the library. Does anyone have a command that i could run to list all tapes that should be in the library so that we can run reclamation without issue?
Many thanks
-
10-11-2012, 07:19 AM #2Member
- Join Date
- Jan 2011
- Posts
- 108
- Thanks
- 11
- Thanked 3 Times in 2 Posts
All primary tapes should be inside the library as a start!
select volume_name from volumes where STGPOOL_NAME='PRIMARY_STG' and volume_name not in ( select volume_name from libvolumes)
above command should get some info
-
10-11-2012, 04:10 PM #3Member
- Join Date
- Jun 2008
- Posts
- 69
- Thanks
- 1
- Thanked 1 Time in 1 Post
This will depend on whether you used the move media command to remove the full tapes. If you did, then the command will be :
q media * stg=<storage_pool_name> wherestate=mountablen
If you didn't, when reclaimation attempted to run, it would have failed marking the tapes as unavailable. This could be used.
q vol stg=<storage_pool_name> access=unavail
You could also search the event log for reclaim failures. To search the last day you would use this:
q act begind=-1 msg=1163
Similar Threads
-
Missing tapes-not in library and not at valut
By unixandtsm in forum Tape / Media LibraryReplies: 22Last Post: 04-10-2011, 11:34 PM -
Finding Archives tapes
By penguinperk in forum Backup / Archive DiscussionReplies: 2Last Post: 01-02-2008, 08:03 PM -
Missing Tapes in Library
By FireFly in forum Tape / Media LibraryReplies: 1Last Post: 10-30-2005, 04:41 PM -
missing tapes with in TSM or 3584 Library
By TOSTIVOLIADMIN in forum Tape / Media LibraryReplies: 6Last Post: 06-14-2004, 11:44 AM -
Finding all tapes for one client
By mricca in forum Tape / Media LibraryReplies: 2Last Post: 08-06-2003, 11:54 AM


Reply With Quote