delete volume without confirmation

shahim

ADSM.ORG Member
Joined
Dec 15, 2008
Messages
12
Reaction score
0
Points
0
Hi guys,
I would like to know if there is a command to delete volumes without any confirmation.

I had created about 210 volumes on a 5.5 TB disk about a week back. SInce the performance has been very bad, i would like to use RAID-0 instead of RAID-5 and thus need to re-do the array. This requires me to delete all the storage pool volumes created on it.
So far I have been running the following commands for each volume name:
delete volume K:\TSMDATA\FS-POOL\CHNL2DISK1.DSK01C discarddata=yes​
delete volume K:\TSMDATA\FS-POOL\CHNL2DISK1.DSK01D discarddata=yes​
delete volume K:\TSMDATA\FS-POOL\CHNL2DISK1.DSK01E discarddata=yes​
delete volume K:\TSMDATA\FS-POOL\CHNL2DISK1.DSK01F discarddata=yes​
delete volume K:\TSMDATA\FS-POOL\CHNL2DISK1.DSK020 discarddata=yes​
delete volume K:\TSMDATA\FS-POOL\CHNL2DISK1.DSK021 discarddata=yes​
 
put all commands in a file on the sytem and then run the file as a macro
macro c:\del_them_all
Not sure if deleting this many volumes can lock up TSM. You might consider "wait=yes" added to each entry
 
start dsmadmc using the option "-noconfirm".

> dsmadmc -noconfirm
 
Back
Top