Chinaunix
标题:
请教一个磁带设备配置问题
[打印本页]
作者:
ff_jxj
时间:
2023-04-08 09:28
标题:
请教一个磁带设备配置问题
很老的服务器了,很多年没用磁带设备,都是用的磁盘,最近有归档需求,开始配置磁带库
结果控制台无法添加驱动器,总是在最后一步告诉我没有指定设备主机,明明都通过设备主机扫描出设备进行配置的,鬼知道发生了什么
只能通过命令进行配置,先在连接带库的主机扫描设备,一切正常
[root@gfsnode08 ~]# /usr/openv/volmgr/bin/scan
************************************************************
*********************** SDT_TAPE ************************
*********************** SDT_CHANGER ************************
************************************************************
------------------------------------------------------------
Device Name : "/dev/sg11"
Passthru Name: "/dev/sg11"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : "IBM 03584L32 C070"
Vendor ID : "IBM "
Product ID : "03584L32 "
Product Rev: "C070"
Serial Number: "0000078264510408"
WWN : ""
WWN Id Type : 0
Device Identifier: "IBM 03584L32 0000078264510408"
Device Type : SDT_CHANGER
NetBackup Robot Type: 8
Removable : Yes
Device Supports: SCSI-6
Number of Drives : 4
Number of Slots : 1077
Number of Media Access Ports: 255
Drive 1 Serial Number : "00078AD6D7"
Drive 2 Serial Number : "00078AD6D0"
Drive 3 Serial Number : "00078AD6DB"
Drive 4 Serial Number : "00078AD742"
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name : "/dev/nst3"
Passthru Name: "/dev/sg10"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : "IBM ULT3580-TD5 C7R2"
Vendor ID : "IBM "
Product ID : "ULT3580-TD5 "
Product Rev: "C7R2"
Serial Number: "00078AD6D7"
WWN : ""
WWN Id Type : 0
Device Identifier: "IBM ULT3580-TD5 00078AD6D7"
Device Type : SDT_TAPE
NetBackup Drive Type: 10
Removable : Yes
Device Supports: SCSI-6
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name : "/dev/nst2"
Passthru Name: "/dev/sg9"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : "IBM ULT3580-TD5 C7R2"
Vendor ID : "IBM "
Product ID : "ULT3580-TD5 "
Product Rev: "C7R2"
Serial Number: "00078AD742"
WWN : ""
WWN Id Type : 0
Device Identifier: "IBM ULT3580-TD5 00078AD742"
Device Type : SDT_TAPE
NetBackup Drive Type: 10
Removable : Yes
Device Supports: SCSI-6
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name : "/dev/nst1"
Passthru Name: "/dev/sg8"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : "IBM ULT3580-TD5 C7R2"
Vendor ID : "IBM "
Product ID : "ULT3580-TD5 "
Product Rev: "C7R2"
Serial Number: "00078AD6D0"
WWN : ""
WWN Id Type : 0
Device Identifier: "IBM ULT3580-TD5 00078AD6D0"
Device Type : SDT_TAPE
NetBackup Drive Type: 10
Removable : Yes
Device Supports: SCSI-6
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name : "/dev/nst0"
Passthru Name: "/dev/sg7"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : "IBM ULT3580-TD5 C7R2"
Vendor ID : "IBM "
Product ID : "ULT3580-TD5 "
Product Rev: "C7R2"
Serial Number: "00078AD6DB"
WWN : ""
WWN Id Type : 0
Device Identifier: "IBM ULT3580-TD5 00078AD6DB"
Device Type : SDT_TAPE
NetBackup Drive Type: 10
Removable : Yes
Device Supports: SCSI-6
Flags : 0x0
Reason: 0x0
在master server运行
vmoprcmd -h XX_gfsnode0208 -autoconfig "-report_disc"
结果和在设备主机扫描的结果一致
然后进行配置
vmoprcmd -h XX_gfsnode0208 -devconfig "-add -drive -type hcart2 -path /dev/nst3 -robot 0 -robtype tld -robdrnum 1"
vmoprcmd -h XX_gfsnode0208 -devconfig "-add -drive -type hcart2 -path /dev/nst1 -robot 0 -robtype tld -robdrnum 2"
vmoprcmd -h XX_gfsnode0208 -devconfig "-add -drive -type hcart2 -path /dev/nst0 -robot 0 -robtype tld -robdrnum 3"
vmoprcmd -h XX_gfsnode0208 -devconfig "-add -drive -type hcart2 -path /dev/nst2 -robot 0 -robtype tld -robdrnum 4"
命令都正常完成
然后查看emm设备信息
[root@nbumaster211 ~]# tpconfig -emm_dev_list|more
==============================================================================
Robot: ROBOT0
Robot Number: 0
Robot Type: TLD(
Media Server: XX_gfsnode0208
Port: -1
Bus: -1
Target: -1
Lun: -1
PartiallyConfigured: 0
Pird: 0
Host: -
Apath: /dev/sg11
NDMP Attach Host: -
VMhost: nbumaster
DAhost: nbumaster
SN: 0000078264510408
Inquiry: IBM 03584L32 C070
WorldWideId: -
Old DAhost: nbumaster
RSM GUID: 00000000-0000-0000-0000-000000000000
==============================================================================
==============================================================================
Drive: XX_gfsnode0208
Index: 0
Drive Type: hcart2(10)
Media Server: XX_gfsnode0208
Occupy Index: 0
Opr Count: 0
Status: 2
Saved Mode Bits: 0
Access Mode: 0
Robot Type: TLD(
Robot Number: 0
Loc1: 1
Loc2: -1
Loc3: -1
Loc4: -1
Loc5: 0
Port: -1
Bus: -1
Target: -1
Lun: -1
VH Saved Mode Bits: 0
Flags: 1073741824
PathFlags: 0
DeviceFlags: 0
Time Mounted: 0
Total Time Mounted: 0
Cleaning Frequency: 0
Last Time Cleaned: 0
Vendor Device Num: 0
Tape Alert 1: 0
Tape Alert 2: 0
Last DA Call Time: 0
Application Type: 0
Drive Path: /dev/nst3
Volume Header Drive Path: -
Vendor Drive Name: -
Current RVSN: -
Current EVSN: -
Current User: -
Operator Comment: -
SN: 00078AD6D7
Inquiry Info: IBM ULT3580-TD5 C7R2
World Wide Id: -
NDMP Host: -
Scan Host: -
Assign Host: -
RSM GUID: 00000000-0000-0000-0000-000000000000
APPL_GUID: 00000000-0000-0000-0000-000000000000
==============================================================================
==============================================================================
Drive: XX_gfsnode0208000
Index: 1
Drive Type: hcart2(10)
这是截取的部分,四个设备都能看到
控制台的设备界面里也能看到四个设备。
但是,用tpconfig -dl就无法看到设备了
[root@nbumaster211 ~]# tpconfig -d
Id DriveName Type Residence
Drive Path Status
****************************************************************************
Currently defined robotics are:
EMM Server = nbumaster
也无法配置storage unit
自然也无法使用。
在控制台对这些设备进行测试,总是报错说资源不存在。
这是啥情况?
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2