User Tools

Site Tools


tsm:movek7_to_another_server

TSM:Move K7 from one logical library to another

We have IBM 3494 tape library, shared into multiple logical library. Then into on physical library, it's possible to move K7 from one logical library belonging to the first TSM server, to another logical library from second TSM server:

First in the source library, look for scratch tapes:

 tsm: TSM2>q libv lib3592

 Library Name     Volume Name     Status               Owner          Last Use      Home        Device
                                                                                   Element     Type  
 ------------     -----------     ----------------     ----------     ---------     -------     ------
 LIB3592          501036          Private              TSM2           DbBackup                        
 LIB3592          501052          Private              TSM2           Data                            
 LIB3592          501087          Private              TSM2           Data                            
 LIB3592          501093          Private              TSM2           DbBackup                        
 LIB3592          501106          Scratch                                                             
 LIB3592          501109          Private              TSM2                                           
 LIB3592          501152          Private              TSM2           Data                            
 LIB3592          501170          Scratch                                                                          
 LIB3592          501216          Scratch                                                             
 LIB3592          501217          Scratch                                       

On the source TSM server, checkout the scratch volume from logical library LIB3592:

 TSM2> checkout libv LIB3592 501217 remove=no

On the target TSM server, checkin the scratch volume into the same physical library, but in the logical LIB3592R:

 TSM1 > checkin libv  LIB3592R 501217 checkl=no status=scratch

Force deletion volume from volhist

Here is an exmple

del volh todate=today tot=now type=backupset volume=177ads force=yes
tsm/movek7_to_another_server.txt · Last modified: 2021/01/01 21:25 (external edit)