IBM TSM更新path命令


[root@TSMSERVER scsi]# pwd
/proc/scsi
[root@TSMSERVER scsi]# cat IBMtape
lin_tape version: 3.0.16
lin_tape major number: 244
Attached Tape Devices:
Number  model       SN                HBA             SCSI            FO Path
0       ULT3580-TD4 00078C09BD        lpfc            1:0:0:0         NA
1       ULT3580-TD4 00078C09C1        lpfc            1:0:1:0         NA
2       ULT3580-TD4 00078C09BF        lpfc            1:0:2:0         NA
3       ULT3580-TD4 0007858176        lpfc            1:0:3:0         NA
[root@TSMSERVER scsi]# pwd
/proc/scsi
[root@TSMSERVER scsi]# cat IBMchanger
lin_tape version: 3.0.16
lin_tape major number: 244
Attached Changer Devices:
Number  model       SN                HBA             SCSI            FO Path
0       03584L32    0000078253410401  lpfc            1:0:0:1         NA
1       03584L32    0000078253410401  lpfc            1:0:1:1         NA
2       03584L32    0000078253410401  lpfc            1:0:2:1         NA
3       03584L32    0000078253410401  lpfc            1:0:3:1         NA
磁带驱动器SN对应错乱解决方法:
delete path TSMSERVER 3584DRV1 srctype=server desttype=drive library=TS3500
Delete path TSMSERVER 3584DRV2 srctype=server desttype=drive library=TS3500
Delete path TSMSERVER 3584DRV3 srctype=server desttype=drive library=TS3500
Delete path TSMSERVER 3584DRV4 srctype=server desttype=drive library=TS3500
Delete drive TS3500 3584DRV1
Delete drive TS3500 3584DRV2
Delete drive TS3500 3584DRV3
Delete drive TS3500 3584DRV4
define drive TS3500 3584DRV1
define drive TS3500 3584DRV2
define drive TS3500 3584DRV3
define drive TS3500 3584DRV4
define path TSMSERVER 3584DRV1 srctype=server desttype=drive library=TS3500 device=/dev/IBMtape0
define path TSMSERVER 3584DRV2 srctype=server desttype=drive library=TS3500 device=/dev/IBMtape1
define path TSMSERVER 3584DRV3 srctype=server desttype=drive library=TS3500 device=/dev/IBMtape2
define path TSMSERVER 3584DRV4 srctype=server desttype=drive library=TS3500 device=/dev/IBMtape3
自动更新path对应的drive信息
update path TSMSERVER 3584DRV2 srct=SERVER autod=yes destt=drive libr=TS3500 devi=/dev/IBMtape1 online=yes
© Copyright Notice
THE END
If you like it, please support it.
like0Appreciate Share
Comment Grab the sofa
avatar
Welcome to leave valuable insights!
submit
avatar

Nick name

Cancel
Nick nameexpressioncodepicture

    There are currently no comments available