ADSM-L

Re: Tape content / Tape usage / Tape view

2004-12-17 10:11:36
Subject: Re: Tape content / Tape usage / Tape view
From: "Stapleton, Mark" <mark.stapleton AT BERBEE DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Fri, 17 Dec 2004 09:03:46 -0600
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On 
Behalf Of Mark Strasheim
When i type: q libv i get this report form the Tivoli Manager  

Library Name     Volume Name     Status         Last Use      Home
                                                              Element
4560SLXLIB       AKZ900L1        Private                      32
4560SLXLIB       AKZ901L1        Scratch                      33
4560SLXLIB       AKZ902L1        Private        DbBackup      34
4560SLXLIB       AKZ903L1        Private        DbBackup      35
4560SLXLIB       AKZ904L1        Private        Data          36
4560SLXLIB       AKZ910L1        Private        DbBackup      47
4560SLXLIB       AKZ911L1        Scratch                      48
4560SLXLIB       AKZ912L1        Private                      37
4560SLXLIB       AKZ914L1        Scratch                      51
>
>Some Tapes are private, that is OK, but as the administrator I 
>think they should be Scratch. I can't change the status to 
>Scratch with: update volume As far as i understood TSM thinks 
>that there is still Data on that tape that is in use. 
>I have already asked the maillinglist how I could view the 
>content of a tape, the answer was q con "volume", but this is 
>only true if the volume would be defined as a Storagepool:
>q con akz912l1
>ANR2401E QUERY CONTENT: Volume akz912l1 is not defined in a 
>storage pool.
>ANS8001I Return code 11.

Bottom line: if it's not defined in a storage pool, it does not contain
client data, and therefore Q CONTENT will not work. What do you get when
you run

  select * from volhistory where volume_name='AKZ9121L'

To change the volume from private to scratch, if it contains no data,
you perform

  UPDATE LIBVOLUME 4560SLXLIB AKZ9121L STATUS=SCRATCH

--
Mark Stapleton (stapleton AT berbee DOT com)
Berbee Information Networks
Office 262.521.5627  

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