Results 1 to 3 of 3
  1. #1
    Newcomer
    Join Date
    Jul 2010
    Posts
    42
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 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

  2. #2
    Member
    Join Date
    Jan 2011
    Posts
    108
    Thanks
    13
    Thanked 3 Times in 2 Posts

    Default

    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

  3. #3
    Member
    Join Date
    Jun 2008
    Posts
    94
    Thanks
    1
    Thanked 4 Times in 4 Posts

    Default

    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

  1. Missing tapes-not in library and not at valut
    By unixandtsm in forum Tape / Media Library
    Replies: 22
    Last Post: 04-10-2011, 11:34 PM
  2. Finding Archives tapes
    By penguinperk in forum Backup / Archive Discussion
    Replies: 2
    Last Post: 01-02-2008, 08:03 PM
  3. Missing Tapes in Library
    By FireFly in forum Tape / Media Library
    Replies: 1
    Last Post: 10-30-2005, 04:41 PM
  4. missing tapes with in TSM or 3584 Library
    By TOSTIVOLIADMIN in forum Tape / Media Library
    Replies: 6
    Last Post: 06-14-2004, 11:44 AM
  5. Finding all tapes for one client
    By mricca in forum Tape / Media Library
    Replies: 2
    Last Post: 08-06-2003, 11:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •