ADSM-L

Solaris TSM Server 5.2.4.0 and the Query Libvolume command

2005-04-25 15:03:02
Subject: Solaris TSM Server 5.2.4.0 and the Query Libvolume command
From: Robert R Price <rprice28 AT CSC DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Mon, 25 Apr 2005 14:56:26 -0400
Can someone confirm this before I report it to IBM?

Seems to be a bug in this release of TSM (5.2.4.0) with the command, "query
libvol", see below.  A "query volume wn3006" shows the tape WN3006 as being
used by the ARCHTAPE storage pool.  A "query libvolume wn3006" shows that
it is not in the library.  Yet, when I executed an audit volume, the tape
mounted and read without issue.  If I execute a "query libvolume qualstar
WN3006", the tape shows up in the library.  Note the difference is
explicitly stating the library name, qualstar.  The help file indicates
that the default for the library name is "all" libraries.  This matches how
all TSM Servers worked at earlier levels.  Note also that if one executes
"query libvolume" (without any parameters) the tape in question DOES shows
up.



********************************************************************************************
tsm: WINDSOR_TSM>q v wn3006

Volume Name                  Storage         Device         Estimated
Pct      Volume
                             Pool Name       Class Name      Capacity
Util      Status
                                                                 (MB)
------------------------     -----------     ----------     ---------
-----     --------
WN3006                       ARCHTAPE        AIT3           118,795.0
100.0     Filling

********************************************************************************************
tsm: WINDSOR_TSM>q libv wn3006
ANR2034E QUERY LIBVOLUME: No match found using this criteria. ANS8001I
Return code 11.

********************************************************************************************
tsm: WINDSOR_TSM>q libv qualstar wn3006

Library Name     Volume Name     Status         Owner          Last Use
Home        Device
Element     Type
------------     -----------     ----------     ----------     ---------
-------     ------
QUALSTAR         WN3006          Private                       Data
54

********************************************************************************************
tsm: WINDSOR_TSM>help q libv
QUERY LIBVOLUME

QUERY LIBVOLUME (Query a Library Volume)

Use this command to display information about one or more volumes that are
checked into an automated library for use by the Tivoli Storage Manager
server.

Privilege Class

Any administrator can issue this command.

Syntax

                    .-*------------.  .-*-----------.
>>-Query LIBVolume--+--------------+--+-------------+----------><
                    '-library_name-'  '-volume_name-'



Parameters

library_name
     Specifies the name of the library. You can use wildcard characters to
     specify this name. This parameter is optional. The default is all
     libraries.
volume_name
     Specifies the volume name. You can use wildcard characters to specify
     this name. This parameter is optional. The default is all volumes. ...

********************************************************************************************
tsm: WINDSOR_TSM>q libv

Library Name     Volume Name     Status         Owner          Last Use
Home        Device
Element     Type
------------     -----------     ----------     ----------     ---------
-------     ------
QUALSTAR         CLN044          Cleaner
3
QUALSTAR         CLN077          Cleaner
2
QUALSTAR         CLN078          Cleaner
1
QUALSTAR         CLN079          Cleaner
0
QUALSTAR         WN3006          Private                       Data
54
QUALSTAR         WN3011          Private                       Data
48
QUALSTAR         WN3013          Private                       Data
121

...


Robert R. Price
ADSM/TSM Administrator
Computer Sciences Corporation
Phone: 412-374-3247
Fax: 412-374-6371
rprice28 AT csc DOT com


----------------------------------------------------------------------------------------

This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>