Off-site copy pool tape audit / scratch

Posted on 2009-02-10
Last Modified: 2013-11-14
I have 45 tape off site.

How can I determine which tapes can be returned as scratch?

I'm fairly sure, over time, some have been "returned  on-site"  but not checked in...

Thank you..

Question by:ajosephson
    LVL 68

    Expert Comment

    the general approach to this is
    'query drmedia'
    You can restrict this query  to report media in special locations (courier, vault - lookup the names you use by issuing 'q drmstatus'), or to report on state (courier, vault... ).
    You can also let 'q drmedia' create a cmdfile for you. This file will conatin the command you specify (e.g. checkin ...) augmented by the results of the query.
    'help query drmedia' brings much useful information.
    Equally, have a look at 'move drmedia' to process the expired or empty volumes that are to be moved onsite (issue 'help move drmedia').
    Hope this helps as a first approach. Should you have problems/questions please come back and tell me!

    Author Comment


    query drmedia  lists 37 tapes (45 tapes are physically off site)

    I have retrieved the 8 office sites tapes not listed.

    Can I assume the data has expired on these tapes.

    To get the tapes back into the library as scratch are the   following move and checkin process commands correct (example for PKQ620L2)  ->

    TSM> move drmedia PKQ620L2  tostate=ONSITERETRIEVE
    TSM> checkin libvol 3582 search=yes checklabel=barcode status=scratch

    Thank you.


    Author Comment

    Another question

    query drmedia  shows PKQ654L2 as mountable ->

      PKQ654L2             Mountable             02/13/2009 04:21:16     3582            

    Is the following correct - to get the tape out of the library and off-site

    TSM> move drmedia PKQ654L2  mountable  vault
    TSM> checkout libvol 3582 PKQ654L2

    Thank you for the help.

    LVL 68

    Accepted Solution


    For some reason your nonlisted volumes are not DR media.
    I don't know what your DR procedure is but I guess you did a move drmedia to ONSITERETRIEVE  and did not checkin the resulting scratch tapes
    move drmedia is not possible for non-DR tapes.
    q libvol 3582 PKQ620L2  and q vol PKQ620L2  should both give a 'No match...'
    If both above was true, simply do
    checkin libvol 3582 PKQ620L2  status=scratch checklabel=barcode
    If the above queries give some output, please post it so I can have a look at it.
    Nearly correct.
    move drmedia PKQ654L2  tostate=vault remove=yes
    Do not use checkout (move drmedia will do it for you).
    To get a tape back -
     Wait until the tape reaches VAULTRETRIEVE, the do a move drmedia to ONSITERETRIEVE, then checkin as SCRATCH.
     (Of course you can use the intermediate states/locations, if you like).


    Author Closing Comment

    Thank you.. aj

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    How to fix error ""Failed to validate the vCentre certificate. Either install or verify the certificate by using the vSphere Data Protection Configuration utility" when you are trying to connect to VDP instance from Vcenter.
    Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
    This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
    This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    27 Experts available now in Live!

    Get 1:1 Help Now