ADSM-L

Re: Which nodes on a given tape, what maxscr value to use ?

2003-09-05 09:32:12
Subject: Re: Which nodes on a given tape, what maxscr value to use ?
From: Richard Sims <rbs AT BU DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Fri, 5 Sep 2003 09:31:53 -0400
>Replace $1 with the volume name and this LONG RUNNING query will tell you
>what nodes are on a tape:
>
>select distinct node_name from volumeusage where volume_name='$1'

It may be more expeditious to do 'Query CONtent VolName > os-filename'
and process the report file externally, given the speed of the artificial
SQL layer over the TSM database and that the Query commands are optimized
for the true database.  This also provides the opportunity to harvest more
information from the contents spew (number of files, type, filespace, etc.)
without having to perform yet another Select.

  Richard Sims, BU