Tuesday, April 17, 2012

TSM Locating volume names for both primary and copy file objects

Problem(Abstract)

Explains how to find out which volumes in both primary and copy storage pools contain a specific file object

Resolving the problem

To find out which volumes in primary and copy storage pools hold a specific file object, perform the following:

1) Run a select statement to view a particular file and get the Object_ID. Example:
select * from backups
select * from archives

2) Run the following command:
show bfo 0 OBJECT_ID



Example:

select * from archives WHERE node_name='TEST01' AND ll_name='TEST.ZIP'
     NODE_NAME: TEST01
FILESPACE_NAME: \\host\c$
  FILESPACE_ID: 1
          TYPE: FILE
       HL_NAME: \TEMP\
       LL_NAME: TEST.ZIP
     OBJECT_ID: 7328
  ARCHIVE_DATE: 2012-04-17 15:17:08.000000
         OWNER:
   DESCRIPTION: Archive Date: 04/17/2012
    CLASS_NAME: DEFAULT_MC

tsm: TSM1>show bfo 0 7328

Bitfile Object: 7328

**Archival Bitfile Entry
  Bitfile Type: PRIMARY  Storage Format: 22
  Bitfile Size: 0.107387927  Number of Segments: 1, flags: 0
  Storage Pool ID: 10  Volume ID: 535  Volume Name: /FS/file.BFS

Source:
https://www-304.ibm.com/support/docview.wss?uid=swg21114873

No comments:

Post a Comment