1. Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING) Click the link 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 message will disappear after you have made at least 12 posts. Thank you for your cooperation.

Restore failed: storage volume is inaccessible

Discussion in 'Restore / Recovery Discussion' started by unixandtsm, Oct 2, 2012.

  1. unixandtsm

    unixandtsm New Member

    Joined:
    Feb 9, 2011
    Messages:
    307
    Likes Received:
    0
    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!
     
  2.  
  3. moon-buddy

    moon-buddy Moderator

    Joined:
    Aug 24, 2005
    Messages:
    6,149
    Likes Received:
    275
    Occupation:
    Electronics Engineer, Security Professional
    Location:
    Somewhere in the US
    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'.
     
  4. unixandtsm

    unixandtsm New Member

    Joined:
    Feb 9, 2011
    Messages:
    307
    Likes Received:
    0
    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.
    
    
     
  5. moon-buddy

    moon-buddy Moderator

    Joined:
    Aug 24, 2005
    Messages:
    6,149
    Likes Received:
    275
    Occupation:
    Electronics Engineer, Security Professional
    Location:
    Somewhere in the US
    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: Oct 3, 2012
  6. unixandtsm

    unixandtsm New Member

    Joined:
    Feb 9, 2011
    Messages:
    307
    Likes Received:
    0
    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
     
  7. moon-buddy

    moon-buddy Moderator

    Joined:
    Aug 24, 2005
    Messages:
    6,149
    Likes Received:
    275
    Occupation:
    Electronics Engineer, Security Professional
    Location:
    Somewhere in the US
    The library should be idle to run an audit to get fast and accurate results.
     
  8. smajl

    smajl Senior Member

    Joined:
    Dec 10, 2009
    Messages:
    134
    Likes Received:
    19
    Location:
    Brno
    If you have automated library with barcode scanner you can:
    checkin IBM3494-05A search=yes vollist=C00636 checklabel=barcode
     
  9. rallingham

    rallingham Senior Member

    Joined:
    Dec 16, 2003
    Messages:
    496
    Likes Received:
    20
    Occupation:
    Sr. TSM Solutions Specialist
    Location:
    Greater Toronto Area Canada
    No response to this
     
    Last edited: Oct 4, 2012
  10. unixandtsm

    unixandtsm New Member

    Joined:
    Feb 9, 2011
    Messages:
    307
    Likes Received:
    0
    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 ?
     
  11. smajl

    smajl Senior Member

    Joined:
    Dec 10, 2009
    Messages:
    134
    Likes Received:
    19
    Location:
    Brno
    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
     

Share This Page