Files is in server but TSM detect as currently unavailable

fadzlirot

ADSM.ORG Member
Joined
Jan 21, 2015
Messages
52
Reaction score
1
Points
0
Hi,
Wondering if anyone know why TSM client doesn't detect the file I am trying to restore is in the server. I am sure the data is in the server because Q libvol shows that the tape required is in the server. I tried to restore alot of it but this is just one of them


Code:
ANS4035W File '/ribapp/ribwas2/logs/ribwas2/SystemOut_16.11.23_17.23.07.log' currently unavailable on server



Code:
      VOLUME_NAME: D1555BL4
        NODE_NAME: RIBAPP2_DAILY
             TYPE: Bkup
   FILESPACE_NAME: /ribapp
       AGGREGATED: Yes
        FILE_SIZE: 1050437
          SEGMENT: 1/1
         FRAGMENT:
           CACHED: NO
     FILESPACE_ID: 2
FILESPACE_HEXNAME: 2F726962617070
       BITFILE_ID: 1643962037
        OBJECT_ID: 1643962063
           COPIED: No
          DAMAGED: No
        FILE_NAME: /ribwas2/logs/ribwas2/SystemOut_16.11.23_17.23.07.log
     FILE_HEXNAME: 2F726962776173322F6C6F67732F726962776173322F53797374656D4F75745F31362E31312E32335F31372E32332E30372E6C6F67


EDIT
I tried restoring yesterday's file, same error.
 
Q vol D1555BL4 f=d
q libvol {libary_name} D1555BL4
show invo 1643962037
 
Don't worry. Just make sure that the media which has these files is in ReadWrite access level.

You can check which all media are there in the same storage pool (q vol * stg=STORAGEPOOLNAME)
Once you have the list, please check which all media were written when the backup was taken (which you are trying to restore)
change it to read write access (update vol VOLNAME access=readw)

If it is incremental backup, I recommend marking all the media of the Storage Pool to READW and then trigger the restore... keep on checking the Q REQ and insert the media it asks for within the time frame.

Cheers
RB
 
@marclant
Code:
 TSM_BAB>Q vol D1555BL4 f=d

                   Volume Name: D1555BL4
             Storage Pool Name: BAB_DAILY_3576POOL
             Device Class Name: 3576CLASS
            Estimated Capacity: 960.3 G
       Scaled Capacity Applied:
                      Pct Util: 75.6
                 Volume Status: Full
                        Access: Read/Write
        Pct. Reclaimable Space: 24.4
               Scratch Volume?: No
               In Error State?: No
      Number of Writable Sides: 1
       Number of Times Mounted: 44
             Write Pass Number: 1
     Approx. Date Last Written: 11/27/16   07:57:36
        Approx. Date Last Read: 11/24/16   10:01:28
           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): ITG00572
         Last Update Date/Time: 11/30/16   10:44:36
          Begin Reclaim Period:
            End Reclaim Period:
  Drive Encryption Key Manager: None
       Logical Block Protected: No


Code:
tsm: TSM_BAB>q libvol TS3310LIB D1555BL4

Library Name     Volume Name     Status               Owner          Last Use      Home        Device
                                                                                   Element     Type
------------     -----------     ----------------     ----------     ---------     -------     ------
TS3310LIB        D1555BL4        Private                             Data          4,135       LTO

Code:
tsm: TSM_BAB>show invo 1643962037
Inventory object 1643962037 of copy type Backup has attributes:
  NodeName: RIBAPP2_DAILY, Filespace(2): /ribapp,
  ObjName: /ribwas2/logs/ribwas2/SystemOut_16.11.23_05.48.22.log.
  hlID: 860F08F5E78F31879F1B7C90016F0FA520DA1475
  llID: ECF35C9C2742E1049EEF5CC759F3DE59F8E0A714
  Type: 2 (File)  MC: 1 (DEFAULT) CG: 1  Size: 1050624  HeaderSize: 353
  Active, Inserted 11/23/16 21:59:41 (UTC 11/23/16 13:59:41)
  GroupMap   00000000, bypassRecogToken NULL, flags 0000

Bitfile Object: 1643962037
**Super-bitfile 1643962037 contains following aggregated bitfiles,
Bitfile Id, offset, length, active state or owner, link bfid
1643962037    0             1050405       Active
1643962055    1050405       1050406       Active
1643962056    2100811       1050374       Active
1643962057    3151185       1050429       Active
1643962059    4201614       1050430       Active
1643962060    5252044       1050412       Active
1643962061    6302456       1050382       Active
1643962062    7352838       1050434       Active
1643962063    8403272       1050437       Active
1643962064    9453709       1050356       Active

**Sub-bitfile 1643962037 is stored in the following aggregate(s)
  Super-bitfile: 1643962037, Offset: 0, Length 1050405, Deduped: F

**Archival Bitfile Entry
  Bitfile Type: PRIMARY  Storage Format: 22
  Bitfile Size: 10505409  Number of Segments: 1, flags: 0
  Storage Pool ID: 15  Volume ID: 32402  Volume Name: D1555BL4
 
run command q vol * stg=BAB_DAILY_3576POOL

see how many media are present and if other media are also Readw
 
run command q vol * stg=BAB_DAILY_3576POOL

see how many media are present and if other media are also Readw
No need, SHOW INVO shows that the file that failed to restore doesn't span across multiple tapes.

@marclant
Code:
 TSM_BAB>Q vol D1555BL4 f=d

                   Volume Name: D1555BL4
             Storage Pool Name: BAB_DAILY_3576POOL
             Device Class Name: 3576CLASS
            Estimated Capacity: 960.3 G
       Scaled Capacity Applied:
                      Pct Util: 75.6
                 Volume Status: Full
                        Access: Read/Write
        Pct. Reclaimable Space: 24.4
               Scratch Volume?: No
               In Error State?: No
      Number of Writable Sides: 1
       Number of Times Mounted: 44
             Write Pass Number: 1
     Approx. Date Last Written: 11/27/16   07:57:36
        Approx. Date Last Read: 11/24/16   10:01:28
           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): ITG00572
         Last Update Date/Time: 11/30/16   10:44:36
          Begin Reclaim Period:
            End Reclaim Period:
  Drive Encryption Key Manager: None
       Logical Block Protected: No


Code:
tsm: TSM_BAB>q libvol TS3310LIB D1555BL4

Library Name     Volume Name     Status               Owner          Last Use      Home        Device
                                                                                   Element     Type
------------     -----------     ----------------     ----------     ---------     -------     ------
TS3310LIB        D1555BL4        Private                             Data          4,135       LTO

Code:
tsm: TSM_BAB>show invo 1643962037
Inventory object 1643962037 of copy type Backup has attributes:
  NodeName: RIBAPP2_DAILY, Filespace(2): /ribapp,
  ObjName: /ribwas2/logs/ribwas2/SystemOut_16.11.23_05.48.22.log.
  hlID: 860F08F5E78F31879F1B7C90016F0FA520DA1475
  llID: ECF35C9C2742E1049EEF5CC759F3DE59F8E0A714
  Type: 2 (File)  MC: 1 (DEFAULT) CG: 1  Size: 1050624  HeaderSize: 353
  Active, Inserted 11/23/16 21:59:41 (UTC 11/23/16 13:59:41)
  GroupMap   00000000, bypassRecogToken NULL, flags 0000

Bitfile Object: 1643962037
**Super-bitfile 1643962037 contains following aggregated bitfiles,
Bitfile Id, offset, length, active state or owner, link bfid
1643962037    0             1050405       Active
1643962055    1050405       1050406       Active
1643962056    2100811       1050374       Active
1643962057    3151185       1050429       Active
1643962059    4201614       1050430       Active
1643962060    5252044       1050412       Active
1643962061    6302456       1050382       Active
1643962062    7352838       1050434       Active
1643962063    8403272       1050437       Active
1643962064    9453709       1050356       Active

**Sub-bitfile 1643962037 is stored in the following aggregate(s)
  Super-bitfile: 1643962037, Offset: 0, Length 1050405, Deduped: F

**Archival Bitfile Entry
  Bitfile Type: PRIMARY  Storage Format: 22
  Bitfile Size: 10505409  Number of Segments: 1, flags: 0
  Storage Pool ID: 15  Volume ID: 32402  Volume Name: D1555BL4
Everything looks good. The volume is has access=readwrite, it's checked in, the file that failed to restore doesn't span on another tape, so we just need to focus on this tape.

Did you check the TSM Server activity log around the time you received ANS4035W on the client? There could be other error messages that may indicate what the problem is.

If there's no indication of the cause, let's try to audit that tape to see if there is something wrong with it:
Code:
audit volume D1555BL4
The result of the audit will be in the activity log.
 
Recently I have experienced same problem, after TSM server upgrade, when tried to restore file on node with very old TSM client (5.4)
After upgrade of TSM server to 7.1.5, i have noticed that I can't restore files backuped from that node before server upgrade, but I can restore files backuped after server upgrade.
I have restored files I needed from another server (connecting as original nodename), which have newer TSM client (I couldn't upgrade client on original node because of old OS).
Not sure if it is your case, but worth trying...
 
Back
Top