开始新对话

此帖子已超过 5 年

Solved!

Go to Solution

4302

2015年1月27日 22:00

大家帮忙看一下aix下执行inquire为何扫不到磁带驱动器

我们单位networker备份近期一发起备份,业务访问就很慢,经排查发现备份数据走的是lan网络,lan-free不起作用了!!!

我就在storange node aix下用rmdev命令删除了磁带设备以及HBAfcs4,执行cfgmgr -v 重新扫面设备,系统可以识别到分配的

两个hp lto4磁带驱动器及i500机械手,但执行inquire命令扫不到磁带驱动器,我把networket storange node软件也卸载重装过,

不起作用,这都三天了,试了很多办法执行inquire总扫不到磁带驱动器,这样的话lan-free就没有办法配置!望大家给小弟说一下

这种情况该怎么操作!

#

# oslevel -s

5300-09-01-0847

# lslpp -l |grep -i lgto

  LGTOnmda.rte               1.2.0.1  COMMITTED  NetWorker Module for Databases

  LGTOnw.clnt.rte            7.6.5.0  COMMITTED  NetWorker Client

  LGTOnw.man.rte             7.6.5.0  COMMITTED  NetWorker Man Pages

  LGTOnw.node.rte            7.6.5.0  COMMITTED  NetWorker Storage Node

  LGTOnmda.rte               1.2.0.1  COMMITTED  NetWorker Module for Databases

  LGTOnw.clnt.rte            7.6.5.0  COMMITTED  NetWorker Client

  LGTOnw.node.rte            7.6.5.0  COMMITTED  NetWorker Storage Node

# lsdev -Cc tape

rmt0 Available 00-08-00 SAS 4mm Tape Drive

rmt1 Available 0A-08-02 Other FC SCSI Tape Drive

rmt2 Available 0A-08-02 Other FC SCSI Tape Drive

# lsdev -Cc adapter

ent0    Available 0K-08 Gigabit Ethernet-SX PCI-X Adapter (14106802)

ent1    Available 08-08 10/100/1000 Base-TX PCI-X Adapter (14106902)

ent2    Available 0D-08 Gigabit Ethernet-SX PCI-X Adapter (14106802)

ent3    Available 0P-08 10/100/1000 Base-TX PCI-X Adapter (14106902)

ent4    Available       EtherChannel / IEEE 802.3ad Link Aggregation

ent5    Available       EtherChannel / IEEE 802.3ad Link Aggregation

fcs0    Available 01-08 FC Adapter

fcs1    Available 0J-08 FC Adapter

fcs2    Available 0C-08 FC Adapter

fcs3    Available 0O-08 FC Adapter

fcs4    Available 0A-08 FC Adapter

fcs5    Available 0A-09 FC Adapter

lai0    Available 0G-00 GXT135P Graphics Adapter

sa0     Available 05-08 IBM 8-Port EIA-232/RS-422A (PCI) Adapter

scsi0   Available 0H-08 Wide/Ultra-3 SCSI I/O Controller

scsi1   Available 0I-08 Wide/Ultra-3 SCSI I/O Controller

scsi2   Available 0M-08 Wide/Ultra-3 SCSI I/O Controller

scsi3   Available 0N-08 Wide/Ultra-3 SCSI I/O Controller

sissas0 Available 00-08 PCI-X266 Ext Dual-x4 3Gb SAS Adapter

vsa0    Available       LPAR Virtual Serial Adapter

# lsdev -Cl fcs4

fcs4 Available 0A-08 FC Adapter

# lsdev -p fcs4

fcnet4 Defined   0A-08-01 Fibre Channel Network Protocol Device

fscsi4 Available 0A-08-02 FC SCSI I/O Controller Protocol Device

# lsdev -p fcs0

fcnet0 Defined   01-08-01 Fibre Channel Network Protocol Device

fscsi0 Available 01-08-02 FC SCSI I/O Controller Protocol Device

# lsdev -C -l fcs4 -F parent

pci10

#

# inquire

scsidev@4.1.0:ADIC    Scalar i500     100A|Autochanger (Jukebox)

                                           S/N: VL01SV0939BVA22161    

                                           ATNN=ADIC    Scalar i500     VL01SV0939BVA22161

                                           IEPN=220108001BC102FE

                                           WWPN=220108001BC102FE

                                           PORT=0000000E

                                           Virtual device

scsidev@5.8.0:IBM     ST3146855LC     4338|Disk, /dev/rhdisk0

scsidev@5.9.0:IBM     ST3146855LC     4338|Disk, /dev/rhdisk1

scsidev@5.15.0:IBM     HSBP04MDPU3SCSI 0018|(Unknown Device Type d)

scsidev@6.15.0:IBM     HSBP04MCPU3SCSI 0018|(Unknown Device Type d)

scsidev@7.8.0:IBM     ST3146855LC     4338|Disk, /dev/rhdisk2

scsidev@7.9.0:IBM     ST3146855LC     4338|Disk, /dev/rhdisk3

scsidev@7.15.0:IBM     HSBP04MBPU3SCSI 0018|(Unknown Device Type d)

scsidev@8.15.0:IBM     HSBP04MAPU3SCSI 0018|(Unknown Device Type d)

#

78 消息

2015年2月2日 19:00

您这边只重装了存储节点,我建议您重装客户端和存储节点。如果重装不能解决问题的话,您看看下面的信息:

同时aix需要满足下列要求,您的aix环境满足吗?

. The minimum recommended version of Atape driver is 9.7.5.0. The recommended driver is from the v11 family, and the latest test version is 11.1.3.0. A new driver can be installed and reloaded online without a system reboot. Avoid using drivers from the Atape v10 family due to multiple issues. Use either the suggested v9 or v11 drivers.

. If the AIX dynamic tracking feature is set to enabled, then the Atape device driver does not report any external FC/SCSI resets to the operating system, thus causing a tape rewind during backup without notification.

. AIX automatically keeps device files reserved, so no additional steps are needed unless device files under /dev are manually removed.

. If device files are deleted and re-created, ensure that device ordering within NetWorker is correct.

. A new feature in newer versions of the Atape driver known as dynamic tracking can cause stability issues due to corruption of SCSI ioctl messages, resulting in SCSI resets. At this time, the Atape Dynamic Tracking option should be set toDISABLE.

.The AIX native SMC driver interferes with direct SCSI communication to a changer device. If an AIX system is used for access to the library, it should be disabled.

Use the following command to check the SMC status:

# lsdev -Cc tape | grep smc

The status should be Defined and not Available. If the status is Available, disable it for each instance of smc by running the

following command on each reboot:

# rmdev -l smc0

If drives are shared (used in the DDS environment), the operating system-level SCSI reserve/release must be disabled. For generic devices, the field name is res_support, and for newer IBM LTO drives, the field name is retain_reserve.

To test, run the following command:

# lsattr -El rmt0.1 | grep res_support

This should be set to No (ignore True at the end of the line). To disable it, either use the SMIT tool under the device config section or use the following command:

# /usr/sbin/chdev -l rmt0 -a =no

如果都满足,麻烦您同时在aix的环境下面您确认一下 :

Make sure LUS is configured in ODM database by running

lsdev -l " grep lus or

lsdev -C -l lus or

odmget -q"type=lus" PdDv

Lus can be loaded/unloaded running:

mkdev -l lus (load) or rmdev -l lus (unload)

如果以上都不能解决问题,同时环境不允许重启,我建议您还是联系emc networker专家进行诊断,可能需要收集相关日志进行排查了。

1.2K 消息

2015年1月28日 00:00

Born比较有经验~

另外可以看一下这个KB对你是否有帮助:The inquire command cannot see tape devices or the robot

这类问题故障排查的步骤:

  1. Confirm that inquire -c reports 'incorrect function', 'permission denied', 'unknown error' or , 'no such device or address'. Also try running inquire -sl (at NetWorker 7.x or later) to see if it reports anything different.
  2. Inquire issues due to JNI driver name changed in 5.3.
  3. Confirm that the operating system can see the devices.
  4. Inquire will hang on a Sun V440 box (fiber setup).
  5. Verify that the operating system is patched to the latest levels. Create the device files at the OS level.
  6. Verify FC HBA configurations.
  7. Confirm that the SAN switch and router (if available) can see the devices from the SAN.
  8. Verify that zoning is setup correctly so that machines are not blocked from inquire seeing public devices.

1.8K 消息

2015年1月28日 00:00

尝试在图形界面下扫描试下?

4K 消息

2015年1月29日 22:00

楼主问题搞定了吗?最后能备份了不?

4K 消息

2015年1月29日 23:00

楼上几位说的办法都试过了不?

我看你说“lan-free不起作用了”,那一开始lan-free配置有起过作用?

16 消息

2015年1月29日 23:00

目前备份是可以备的,但是数据走的是lan网络,lan-free不起作用了,备份窗口发起时影响业务的正常访问!

1.8K 消息

2015年1月30日 01:00

你得看下,是否有配lan free啊。

1.8K 消息

2015年1月30日 06:00

哦不是,你现在是扫描不到。什么版本?为啥不用图形化界面去扫呢?

16 消息

2015年1月31日 19:00

networker版本:7.6.5

aix版本:5300-09-01-0847

以前lan-free备份好着呢,是最近几个月备份老有问题,我就把device给删除了,重新配置一下;win2003下面配置的server、

storage node、nmc识别带库都正常这。但是在aix storage node下我用rmdev命令删除磁带机后用cfgmgr -v可以扫出带库,

执行inquire就不正常了,识别不了带库的drive

但是用inquire -sl可以扫出带库!

16 消息

2015年1月31日 19:00

以前lan-free备份好着呢

16 消息

2015年1月31日 19:00

可以备份,但是lan-free有问题(aix storage node下我用rmdev命令删除磁带机后用cfgmgr -v可以扫出带库,执行inquire就不正常了,识别不了带库的drive),备份数据走lan网络了!!!!!

16 消息

2015年1月31日 19:00

win2003下面配置的server、storage node、nmc识别带库都正常这,就是在aix storage node下我用rmdev命令删除磁带机后用cfgmgr -v可以扫出带库,执行inquire就不正常了,识别不了带库的drive

16 消息

2015年1月31日 19:00

aix storage node下我用rmdev命令删除磁带机后用cfgmgr -v可以扫出带库,执行inquire就不正常了,识别不了带库的drive,我想请教大家我如果吧这台小机重启一下能解决“执行inquire就不正常了,识别不了带库的drive”的问题吗???

我们这的业务是金融类业务7*24小时对公众服务的,重启设备需要打报告、审批,流程很麻烦的。我担心如果重启小机解决不了这个问题,那就闹笑话了,给领导不好交代呀。拜托各位帮忙给个解决办法啊,我搞不定了!(大家前面说的方法我尝试过了,不起作用)

1.8K 消息

2015年2月1日 05:00

我的意思是,直接在NW服务器上,图形界面添加AIX的存储节点,然后改成专用存储节点。

16 消息

2015年2月1日 17:00

直接在NW服务器上,图形界面下扫描不出aix storage node下面的drive,因为aix storage node下执行inquire时发现没有drive(详见1楼信息)

找不到事件!

Top