1. Please help support our sponsors by considering their products and services.
    Our sponsors enable us to maintain high-speed Internet connection and fast webservers.
    They support this free information and knowledge exchange forum service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions

Primary Tapes

Discussion in 'Tape / Media Library' started by Flyboy60, Aug 10, 2017.

  1. Flyboy60

    Flyboy60 ADSM.ORG Member

    Joined:
    Jul 1, 2017
    Messages:
    12
    Likes Received:
    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?
     
  2.  
  3. moon-buddy

    moon-buddy ADSM.ORG Moderator

    Joined:
    Aug 24, 2005
    Messages:
    6,861
    Likes Received:
    363
    Occupation:
    Electronics Engineer, Security Professional
    Location:
    Somewhere in the US
    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.
     
    Flyboy60 likes this.
  4. Flyboy60

    Flyboy60 ADSM.ORG Member

    Joined:
    Jul 1, 2017
    Messages:
    12
    Likes Received:
    0
    Thanks
     
  5. marclant

    marclant ADSM.ORG Moderator

    Joined:
    Jun 16, 2006
    Messages:
    2,644
    Likes Received:
    372
    Occupation:
    Accelerated Value Specialist for Spectrum Protect
    Location:
    Canada
    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.
     

Share This Page