磁碟陣列
1758612 會員
2494 線上
108873 解決方案
發表新文章

RX1600 & HP UX 11.23 看不到 MSA1000 的 LUN

 
watermelonyu
教授

RX1600 & HP UX 11.23 看不到 MSA1000 的 LUN

Host:HP RX1600

HBA:A6795A(2Gbps Tachyon XL2 PCI Fibre Channel HBA)

OS:HP-UX 11.23

Array:HP MSA1000,單一Controller,2/3 Hub模組

請問各位,上述軟硬體直接連接,中間沒有san switch,MSA1000切一個LUN給HOST,在OS端使用ioscan確認光纖卡/dev/td0運作正常,就是看不到新增LUN.syslogd顯示(0/2/1/0: WARNING: It appears that there are (or were) more than one device with the same address (nport ID) setting of 0x0. One of them will be ignored.

請問有人知道是怎麼回事嗎? 謝謝
6則回覆 6
watermelonyu
教授

RX1600 & HP UX 11.23 看不到 MSA1000 的 LUN

是否能請你提供以下資訊呢 ? 謝謝.



In HPUX,

#/opt/fcms/bin/fcmsutil /dev/td0



In MSA1000 CLI,

"SHOW TECH_SUPPORT"
watermelonyu
教授

RX1600 & HP UX 11.23 看不到 MSA1000 的 LUN

上述資訊我可能要晚一些才能弄到,因為機器不在我身邊

HP MSA1000 firmware : 448.

In MSA1000 CLI=> show connections

可以看到 A6795A 的 WWPN,初步判定光纖連接無問題.

我研究了一下Brocade的光纖文件,發現環境中使用Hub的話,就要使用 Loop方式, N_port id 好像必須 0-125,Loop內的每個id都不能一樣,在比對我上述syslogd的內容說有device id 重複, 我在想是否是這個關鍵導致 LUN被系統忽略了.我有請教過HP 的MSA1000公程師,基本上都推薦整個環境最好是有SAN SWITCH,不過早期根本沒有SAN SWITCH這個東西,我在想應該還有其它方式,不一定需要SWITCH才行.
watermelonyu
教授

RX1600 & HP UX 11.23 看不到 MSA1000 的 LUN

你沒用san switch ,所以屬於private_loop mode

PRIVATE_LOOP.(FCAL, no switch)

The host bus adapter is attached to a

loop/loopback hood.



PUBLIC_LOOP. Supported by TACHYON TL, TACHYON XL2,

DUAL PORT and FC/GigE Combo cards. The host adapter is

attached to a loop connected to a Fibre Channel switch.





可以看一下你的設定嗎



/opt/fcms/bin/fcmsutil device_file get remote {all|remote-N-Port-ID}



Note: The remote-N-port-ID can be substituted with -l loop_id (in Private Loop), or -w wwn for all options that take remote-N-port-ID as an argument. The devstat all option displays the loop_id (in Private Loop) and the nport_id (in Fabric) along with the statistics for all N_Ports the initiator was able to communicate with.







watermelonyu
教授

RX1600 & HP UX 11.23 看不到 MSA1000 的 LUN

除了CLI之外,其他都有了

# fcmsutil /dev/td0

Vendor ID is = 0x00103c

Device ID is = 0x001029

XL2 Chip Revision No is = 2.3

PCI Sub-system Vendor ID is = 0x00103c

PCI Sub-system ID is = 0x00128c

Topology = PTTOPT_FABRIC

Link Speed = 2Gb

Local N_Port_id is = 0x020700

N_Port Node World Wide Name = 0x50060b00005ff4eb

N_Port Port World Wide Name = 0x50060b00005ff4ea

Driver state = ONLINE

Hardware Path is = 0/2/1/0

Number of Assisted IOs = 591

Number of Active Login Sessions = 0

Dino Present on Card = NO

Maximum Frame Size = 2048

Driver Version = @(#) libtd.a HP Fibre Channel Tachyon XL2 Driver B.11.23.02 (AR0304) /ux/kern/kisu/TL/src/common/wsio/td_glue.c: Jan 9 2004, 11:39:48



# fcmsutil /dev/td0 get remote all

Target N_Port_id is = 0x020600

Target state = DVS_UNOPENED

Symbolic Name =

Port Type = N_PORT

Target Port World Wide Name = 0x500805f3001b04f1

Target Node World Wide Name = 0x500805f3001b04f0

Common Service parameters (all values shown in hex):

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Version_Hi: 20 ; Version_Low: 9

BB_Credit: 0 ; Ciro: 1

Alt_BBcred: 1 ; Rxsz: 800

Conseq: ff ; RO_Bitmap: fe

Resolution: 0 ; EDTOV(ms): 0

Vendor version (in hex) 51435143 31303020 400 0

-------------------------------------------------------------
watermelonyu
教授

RX1600 & HP UX 11.23 看不到 MSA1000 的 LUN

有試過改接Brocade SAN Switch,也把CLI Enable Hardware address , 結果LUN有秀出來了,可是一個LUN變成15個LUNs.真是越來越頭大.
watermelonyu
教授

RX1600 & HP UX 11.23 看不到 MSA1000 的 LUN

我现在也遇到了相同的情况,请问一下,最后是如何解决的,是否可以正确看到设备映射给主机的LUN?