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
© 版权声明
THE END
喜欢就支持一下吧
点赞0赞赏 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容