OnDemand Users Group

Support Forums => CMOD for Multiplatforms => Topic started by: waytec on February 25, 2013, 03:46:13 PM

Title: Need to move TSM volumes to new Disk
Post by: waytec on February 25, 2013, 03:46:13 PM
Good morning CMOD brethren.   I am in need of moving all of our TSM data to new disk\TSM Volumes.  I am down to the 'move data' portion and am in need of a script so that I may move 10-20 volumes at a time.  I wish I could use a batch file but...  Can anyone help with a move data script that can be ran from the TSM command line.  Thank you ???
Title: Re: Need to move TSM volumes to new Disk
Post by: Justin Derrick on February 25, 2013, 08:06:41 PM
That's not something anyone is likely to be able to write 'blind'. 

You can learn about 'for' loops in bash and ksh (UNIX shell scripting languages) to help create multi-line scripts.  You put the names of the volumes in a file, then use the 'for' look to iterate over each volume name, then print the command you want to run with the echo command.

-JD.