Restore failed: storage volume is inaccessible

unixandtsm

ADSM.ORG Member
Joined
Feb 9, 2011
Messages
307
Reaction score
0
Points
0
PREDATAR Control23

Hi all,
tried to restore a file from tape but endup with error saying that "storage volume is inaccessible"


dsmc restore /TM/planfiles/plan.20120311.131713 /tmp/testrestore/


ANS4035W File '/TM/planfiles/plan.20120311.131713' currently unavailable on server.

** Interrupted **
ANS1114I Waiting for mount of offline media.



on TSM server's actlog

Code:
>q actlog search=restore

Date/Time                Message
--------------------     ----------------------------------------------------------
10/02/12   16:05:38      ANR0565W Retrieve or restore failed for session 72355 for
                          node LNX8 (Linux86). The storage volume
                          C00636 is inaccessible. (SESSION: 72355)

and

Code:
>q volume C00636 f=d

                   Volume Name: C00636
             Storage Pool Name: BKUP
             Device Class Name: 3592H-C
            Estimated Capacity: 1.0 T
       Scaled Capacity Applied: 100
                      Pct Util: 93.1
                 Volume Status: Full
                        [B][B]Access: Unavailable[/B][/B]
        Pct. Reclaimable Space: 7.0
               Scratch Volume?: Yes
               In Error State?: No
      Number of Writable Sides: 1
       Number of Times Mounted: 5,991
             Write Pass Number: 1
     Approx. Date Last Written: 03/23/12   16:25:36
        Approx. Date Last Read: 01/20/12   23:03:33
           Date Became Pending:
        Number of Write Errors: 0
         Number of Read Errors: 0
               Volume Location:
Volume is MVS Lanfree Capable : No
Last Update by (administrator):
         Last Update Date/Time: 01/20/12   23:03:23
          Begin Reclaim Period:
            End Reclaim Period:
  Drive Encryption Key Manager: None

How to troubleshoot this ?

Thanks in advance!
 
PREDATAR Control23

Is the tape physically in the library?

If it is, do this: 'update libvol <library_name> <volume> access=reado (or readw).

If the tape is outside the library, check it in with 'status=private' - see help 'checkin libvol'.
 
PREDATAR Control23

Hi Ed,

how do we check if it is inside library or not ?

At AIX prompt, i got below with mtlib command
Code:
# mtlib -l /dev/lmcp0 -qI |grep C00636
C00636 012C 00 20 04

and in TSM, q vol returned the output but not the q libvol command, does this mean it is not in library ?

Code:
>q volume C00636

Volume Name                  Storage         Device         Estimated       Pct      Volume
                             Pool Name       Class Name      Capacity      Util      Status
------------------------     -----------     ----------     ---------     -----     --------
C00636                       BKUP          3592H-C            1.0 T      93.1       Full


>q libvol IBM3494-05A C00636
ANR2034E QUERY LIBVOLUME: No match found using this criteria.
ANS8001I Return code 11.
 
PREDATAR Control23

If it is inside the library, q libvol should show it. Do an audit of the library to make sure - 'audit library <library_name> checkl=barcode'
 
Last edited:
PREDATAR Control23

Hi Ed,

to audit the library, should all the sessions and processess be cancelled ?
Right now there are lots of backups running so just wondering if TSM needs be quiet during the audit process
 
PREDATAR Control23

Hi Ed,

to audit the library, should all the sessions and processess be cancelled ?
Right now there are lots of backups running so just wondering if TSM needs be quiet during the audit process

The library should be idle to run an audit to get fast and accurate results.
 
PREDATAR Control23

If you have automated library with barcode scanner you can:
checkin IBM3494-05A search=yes vollist=C00636 checklabel=barcode
 
PREDATAR Control23

If you have automated library with barcode scanner you can:
checkin IBM3494-05A search=yes vollist=C00636 checklabel=barcode

Hi smajl,

will this checkin the volume if it is present in the library ?
or
just check if the volume is present in the library ?
 
PREDATAR Control23

if it doens't work move (physically) the volume out of library into I/O slots (bulk) and run
checkin IBM3494-05A search=bulk vollist=C00636 status=private
 
Top