处理办法:
q path f=d
update path tsmdrive01 srctype=server desttype=drive library=ts3310 device=mt0.0.0.5online=yes
updatepath tsm drive02 srctype=serverdesttype=drive library=ts3310 device=mt1.0.0.5 online=yes
更新完成后 测试备份发现报错:
即使重新更新drive和path 查看驱动器f=d时 状态仍显示unknown
做法:删除路径、删除驱动器 重新定义:
delete path tsmdrive01 srctype=server desttype=drive library=ts3310
delete path tsmdrive02 srctype=server desttype=drive library=ts3310
delete path tsm_stadrive02 srctype=server desttype=drive library=ts3310
deletepath tsm_sta drive01srctype=server desttype=drive library=ts3310
delete drive ts3310drive02
deletedrive ts3310 drive01
提示库ts3310不可用
删除库、带库路径 重新定义
delete libraryts3310
deletepath tsm ts3310 srctype=serverdesttype=library
def libr ts3310libtype=scsi shared=yes autolabel=yes
define path tsm ts3310 srctype=serverautodetect=yes desttype=library device=lb0.1.0.5 online=yes
define drive ts3310 drive01element=autodetect cleanfrequency=500 online=yes
define drive ts3310drive02 element=autodetect cleanfrequency=500 online=yes
define path tsmdrive01 srctype=server desttype=drive library=ts3310 device=mt0.0.0.5online=yes
define path tsm drive02 srctype=serverdesttype=drive library=ts3310 device=mt1.0.0.5online=yes
define path tsm_sta drive01 srctype=server desttype=drivelibrary=ts3310 device=/dev/rmt0 online=yes
define path tsm_sta drive02 srctype=serverdesttype=drive library=ts3310 device=/dev/rmt1online=yes
tsm: TSM>def librts3310 libtype=scsi shared=yes autolabel=yes
卸载两个驱动程序 关闭TSM服务器主机 ------关闭带库---------------开机带库---------------开机TSM服务器 重新安装驱动-----在dsmadmc命令行下重新定义库ts3310 定义库路径path(define path tsm ts3310srctype=server autodetect=yes desttype=library device=lb0.1.0.5 online=yes)重新定义驱动器-定义路径(一定要核对drive01--------256----------.------------mt0.0.0.5---------------rmt0对应关系)
完成以上操作后 最为关键的一步::::::将各卷检入带库
checkin libvol ts3310 search=yes checklabel=barcode status=scratch
checkin libvol ts3310 search=yes checklabel=barcode status=private
之后 测试备份即可
validate lanfreeDB01 tsm_sta
查看lan-free流量:tsm_sta:qse
tsm:TSM> checkin libv ts3310 A000001 status=scratch
当需要添加新的磁带时,使用该命令在TSM中注册该磁带;
当TSM Log中提示需要checkin某盘已经注册的磁带时,上述命令需要将status改为private。
后续跟踪:
接下来 清洗驱动器02 利用ITDT工具检测两个驱动器,结果drive01驱动器发生硬件错误,初始化失败,驱动器drive02正常
利用之前换下来的性能差的备件更换drive01 再次测试性能较差其他均可