IBM Support

Volumes needed for HSM client recall operation

Troubleshooting


Problem

This technote provides steps to match the volume ids generated by the "dsmrecall -Preview" command to real volume names on the Tivoli Storage Manager Server.

Cause

Tivoli Storage Manager for Space Management's optimize recall do recall from the tapes in the pre-generated orders. This technote helps to find the Tivoli Storage Manager Server volumes that will be used by certain optimized recalls.

Environment

Tivoli Storage Manager for Space management

Diagnosing The Problem

The "dsmrecall –PREView /hsm_fs_name " command creates a list of files which is used by HSM optimized recall. The list will be created under the /hsm_fs_name/.SpaceMan/tapeOptimizedRecall directory. For example :

ls -Ral /hsm_fs_name/.SpaceMan/tapeOptimizedRecall/

..


-rw-r--r-- 1 root bin 1127 Jan 15 23:32 filelist.ordered.collection
-rw-r--r-- 1 root bin 36047264 Jan 15 23:27 filelist.ordered.tape.00002866
-rw-r--r-- 1 root bin 5406338 Jan 15 22:23 filelist.ordered.tape.0000286A
-rw-r--r-- 1 root bin 23718759 Jan 15 23:13 filelist.ordered.tape.00002878
-rw-r--r-- 1 root bin 429293 Jan 15 22:04 filelist.ordered.tape.0000287D
..

The last part of the of the filelist.ordered.tape.* file represents the Tivoli Storage Manager server volume id. In the above output, the files are located on the following volume ids :

00002866
0000286A
00002878
0000287D

Resolving The Problem

Use the steps below to match the volume id reported by the "dsmrecall -Preview" operation to real volume names on Tivoli Storage Manager server.

1: The volume id is represented in hexadecimal. Convert the hexadecimal value to decimal. For example, the hexadecimal volume ids in this example become the following decimal values :


10342
10346
10360
10365


2: Once the decimal volume id values are determined, login as the instance owner and run the following db2 commands :


db2 connect to TSMDB1
db2 set schema TSMDB1
db2 "select Volname from SS_VOLUME_IDS where volid=<decimal volume id from step1>"

[{"Product":{"code":"SSSR2R","label":"Tivoli Storage Manager for Space Management"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"6.3;6.4;7.1;7.1.2;7.1.3;7.1.4","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
17 June 2018

UID

swg21623486