Author Topic: Need to move TSM volumes to new Disk  (Read 3788 times)

waytec

  • Jr. Member
  • **
  • Posts: 18
    • View Profile
Need to move TSM volumes to new Disk
« on: February 25, 2013, 08:46:13 AM »
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 ???
Wayne Henderson
Sr. Server Systems Engineer

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Need to move TSM volumes to new Disk
« Reply #1 on: February 25, 2013, 01: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.

IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR