Question & Answer
Question
Is it possible to determine which volumes within the Tivoli Storage Manager Server contain the data for a specific Tivoli Storage Manager client node.
Answer
The QUERY NODEDATA command will list the volumes for a specific node.
It is also possible to obtain this information form a select statement. The use of Select statements can be very handy to obtain different types of data from the Tivoli Storage Manager server.
The Tivoli Storage Manager Server select statements are performed from a Tivoli Storage Manager Administrative client session (dsmadmc).
A Select statement against the Volume Usage table will provide the necessary information. The Volumeusage table contains the following fields:
| VOLUMEUSAGE | NODE_NAME | Node Name |
| VOLUMEUSAGE | COPY_TYPE | Type |
| VOLUMEUSAGE | FILESPACE_NAME | Filespace Name |
| VOLUMEUSAGE | STGPOOL_NAME | Storage Pool Name |
| VOLUMEUSAGE | VOLUME_NAME | Volume Name |
Examples of select statements:
- To select all fields
- To select specific fields
- To limit the select to not list the volume twice if a node has more than one filespace on a volume
- To order the select (this will use sort space in the Tivoli Storage Manager server database)
Select * from volumeusage
Select Node_name, Stgpool_name, Volume_name from volumeusage
Select distinct node_name, Stgpool_name, Volume_name from volumeusage
Select distinct node_name, Stgpool_name, Volume_name from volumeusage order by node_name
Product Synonym
TSM
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21446094