ADSM-L

Re: wildcard del vol?

2006-12-06 11:14:55
Subject: Re: wildcard del vol?
From: Lawrence Clark <Larry_Clark AT THRUWAY.STATE.NY DOT US>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Wed, 6 Dec 2006 11:13:27 -0500
Well, from various fiddlings I have a text file from a SELECT with a
series of del files as so:

del vol /var/diskpool/satacopyvoc/00008738.BFS discard=yes wait=yes

del vol /var/diskpool/satacopyvoc/0000873E.BFS discard=yes wait=yes

How do I get TSM to execute each of these commands?

>>> asr AT UFL DOT EDU 12/05/06 5:32 PM >>>
>> On Tue, 5 Dec 2006 16:21:47 -0500, Lawrence Clark
<Larry_Clark AT THRUWAY.STATE.NY DOT US> said:


> Since I'm redoing the volumes on SAN and need to delete the ones
> auto generated by TSM, is there a way of wholesale deleteing the
> existing volumes without doing an explicit del vol on each?


dsmadmc -dataonly -tab " select 'del vol ',volume_name,' wait=yes'
where your_criterion_here " > something.macro

then

TSM:your_server > macro something.macro



- Allen S. Rout


The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain information that is confidential, privileged, and/or otherwise exempt 
from disclosure under applicable law.  If this electronic message is from an 
attorney or someone in the Legal Department, it may also contain confidential 
attorney-client communications which may be privileged and protected from 
disclosure.  If you are not the intended recipient, be advised that you have 
received this message in error and that any use, dissemination, forwarding, 
printing, or copying is strictly prohibited.  Please notify the New York State 
Thruway Authority immediately by either responding to this e-mail or calling 
(518) 436-2700, and destroy all copies of this message and any attachments.

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