Thanks!
Actualy I typed in: macro <filename>
and it began executing the deletes
they are running now.
>>> Wanda.Prather AT JHUAPL DOT EDU 12/06/06 11:18 AM >>>
If you are working directly on your TSM server, save those commands
into
a file: blah.txt
>From the TSM admin command line, type: macro blah.txt
If you are working from the ADMIN GUI,
Go to Object View -> Automation -> Server Scripts
Save those lines as a script.
>From the command line, type: RUN scriptname
>From the ISC, you can do the same thing by opening server Properties
and
creating a script.
Wanda Prather
"I/O, I/O, It's all about I/O" -(me)
-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf
Of
Lawrence Clark
Sent: Wednesday, December 06, 2006 11:13 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: wildcard del vol?
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.
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.
|