ADSM-L

Re: Deleting a tape that doesn't exist

2006-09-12 10:52:36
Subject: Re: Deleting a tape that doesn't exist
From: Andy Huebner <Andy.Huebner AT ALCONLABS DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Tue, 12 Sep 2006 09:38:54 -0500
Perfect.  I am guessing that volume is an under documented option.

Andy Huebner

-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of
William Boyer
Sent: Tuesday, September 12, 2006 8:13 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: [ADSM-L] Deleting a tape that doesn't exist

This is on your library manager instance. If you delete the volhist
TYPE=REMOTE entries, the next time you do an AUDIT LIBRARY from
the library client they will re-sync all the volume information from the
client and build new TYPE=REMOTE entries for only the
volumes that the client has assigned.

Or run this select command to a file and then feed it back in on your
library manager:

select 'del volhist type=remote tod=+0 force=yes volume=' || volume_name
from volhistory where devclass='<devclass naem in upper
case>'

Bill Boyer
"A life? Cool! Where can I download one of those?" - ??


-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of
Andy Huebner
Sent: Monday, September 11, 2006 7:01 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: Deleting a tape that doesn't exist

We have about 800 volumes that are Remote Type.  We only need to delete
the ones with a specific device class.  Is there a way to
accomplish this?  If we delete all of the remote types from the volhist,
will the in use volumes generate new history if we delete
their old history?



Andy Huebner
-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of
Dennis, Melburn W IT743
Sent: Thursday, June 29, 2006 11:57 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: [ADSM-L] Deleting a tape that doesn't exist

I had a similar problem once and TSM gave me this nifty command:

delete volhist todate=today type=remote volume=volumename force=yes

Works well if somehow a tape's status has been lost between server to
server communications, where your library manager shows the
tape as type remote (meaning that it has been given control over to
another server), and the server that is supposed to be using it
shows either no info in the volhist or the last entry shows it as being
stgdelete.  Hope this helps.


Mel Dennis
Systems Engineer - IT743
Siemens Power Generation
4400 Alafaya Trail
Orlando, FL 32826
MC Q1-108
Tel:  (407) 736-2360
Win:  439-2360
Fax: (407) 243-0260
Email:  melburn.dennis AT siemens DOT com

-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of
Zoltan Forray/AC/VCU
Sent: Thursday, June 29, 2006 12:42 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: [ADSM-L] Deleting a tape that doesn't exist

I have this problem tape.  The library manager server says the tape is
owned/used by a "remote" system/server.

When I check the "remote" system, it says it knows nothing about the
tape.

How can I convince the library manager server that the tape is
gone/deleted/kaput  so I can relabel the tape and reuse it ?

DELETE VOLUME ...  DISCARDDATA=YES does nothing.

Is there some kind of hidden "force=yes IreallyMeanIt=yes" option I can
use ?


This e-mail (including any attachments) is confidential and may be
legally privileged. If you are not an intended recipient or an
authorized representative of an intended recipient, you are prohibited
from using, copying or distributing the information in this
e-mail or its attachments. If you have received this e-mail in error,
please notify the sender immediately by return e-mail and
delete all copies of this message and any attachments.
Thank you.


This e-mail (including any attachments) is confidential and may be legally 
privileged. If you are not an intended recipient or an authorized 
representative of an intended recipient, you are prohibited from using, copying 
or distributing the information in this e-mail or its attachments. If you have 
received this e-mail in error, please notify the sender immediately by return 
e-mail and delete all copies of this message and any attachments.
Thank you.

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