免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 9588 | 回复: 0
打印 上一主题 下一主题

[Veritas NBU] 请教一个磁带设备配置问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 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

自然也无法使用。

在控制台对这些设备进行测试,总是报错说资源不存在。

这是啥情况?


您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP