If you run your TSM on AIX read on…
Tape drives need to be changed out from time to time. The process can get tricky if you don’t remember the steps. I’ll give them to you in a bit and you can always reference this page when you need to perform this action again. This is test on AIX 5.3 and Tivoli 5.5.
Step 1. Log into TSM and determine which drive you need to change. You can use query drive, show library and query path f=d to get this information. Lets assume it is a drive named “DRIVE00″ and that its path is /dev/rmt0.
Step 2. Delete the path definition in TSM for the Drive. An example command would be “del path server1 drive00 srct=server destt=drive library0. You can run a help delete path. Remember the settings because we can use them later.
Step 3. Delete the drive definition in TSM. An example command would be “del drive
rmdev -dl lb0
rmdev -dl rmt1
rmdev -dl rmt2
rmdev -dl rmt3
Smit, Devices, Tivoli, Discover Supported Devices, Both fscsi adapters. This gives us lb’s and mt’s. We do not want mt’s.
rmdev -dl mt0
rmdev -dl mt1
rmdev -dl mt2
run cfgmgr in aix to get the rmt’s back.
delete path ZPHBACKUP01 DRIVE00 SRCT=SERV DESTT=DR LIBR=ML6020
delete path ZPHBACKUP01 DRIVE01 SRCT=SERV DESTT=DR LIBR=ML6020
delete path ZPHBACKUP01 DRIVE02 SRCT=SERV DESTT=DR LIBR=ML6020
delete path ZPHBACKUP01 ML6020 SRCT=SERV DESTT=LIBR
delete drive ML6020 DRIVE00
delete drive ML6020 DRIVE01
delete drive ML6020 DRIVE02
stop/start tivoli storage manager
define path ZPHBACKUP01 ML6020 SRCT=SERV DESTT=LIBR DEVI=/dev/lb0
def drive ML6020 DRIVE00
def drive ML6020 DRIVE01
def drive ML6020 DRIVE02
define path ZPHBACKUP01 DRIVE00 SRCT=SERV DESTT=DRIVE LIBR=ML6020 DEVI=/dev/rmt0
define path ZPHBACKUP01 DRIVE01 SRCT=SERV DESTT=DRIVE LIBR=ML6020 DEVI=/dev/rmt1
define path ZPHBACKUP01 DRIVE02 SRCT=SERV DESTT=DRIVE LIBR=ML6020 DEVI=/dev/rmt2







