1. Community Tip: Please Give Thanks to Those Sharing Their Knowledge.
    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.
  2. Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)
    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

Primary Tapes

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

  1. Flyboy60

    Flyboy60 Active Newcomer

    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,805
    Likes Received:
    358
    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 Active Newcomer

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

    marclant ADSM.ORG Moderator

    Joined:
    Jun 16, 2006
    Messages:
    2,486
    Likes Received:
    348
    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