- 论坛徽章:
- 0
|
本帖最后由 achlice 于 2010-06-10 13:53 编辑
hp 465 刀片机做linux 系统 ,存储为 xp1024 ,主机两个hba卡 ,连接图见最下面
说明一下,现在情况,
1:机器 只能看到一条 链路,在/proc/scsi/scsi 文件里只看到 scsi0,看不到 scsi1
2:/proc/scis/qla2xxx/0 里面可以看到 存储端的 wwn号,以及 lun 信息, /proc/scsi/qla2xxx/1 里面看不到 xp1024的lun信息,只能看到wwn号
HBA卡设置为 failover ,
3 p1024 能看到 hba0, hba1的 wwn
4: hba0, xp1024 的 class0 上的控制器在同一个 zone , hba1,xp1024 class1 上的控制器,在同一个zone
r拔掉scsi0 上面的光纤, 本来看到的 scsi 设备不可用了,sda--sdl 为存储上的设备 (etc:pvcreate /dev/sdc 里提示找不到设备),但scsi1 的通道 仍然 不能用,重启主机后, scsi1 通道 能用了,scsi0 不能用了, 此时,/proc/scsi/qla2xxx/0 里面 只看到 xp1024 的wwn,而看不到 lun 信息, /proc/scsi/qla2xxx/1 里 能看到 xp1024的 lun 信息和 wwn 号了
[root@02 ~]# multipath -ll
mpath23 (0HP_OPEN-E*7_50060e80032a3134000200000000000000005c00) dm-13 HP,OPEN-E*7
[size=95G][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][active]
\_ 1:0:3:2 sdl 8:176 [active][ready]
mpath22 (0HP_OPEN-E*7_50060e80032a3134000000000000000000005c00) dm-11 HP,OPEN-E*7
[size=95G][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][active]
\_ 1:0:3:0 sdj 8:144 [active][ready]
mpath19 (0HP_OPEN-E*7_50060e80032a3136000200000000000000005500) dm-7 HP,OPEN-E*7
[size=95G][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][active]
\_ 1:0:1:2 sdf 8:80 [active][ready]
mpath21 (0HP_OPEN-E*7_50060e80032a3135000200000000000000005900) dm-10 HP,OPEN-E*7
[size=95G][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][active]
\_ 1:0:2:2 sdi 8:128 [active][ready]
mpath18 (0HP_OPEN-E*7_50060e80032a3136000000000000000000005500) dm-5 HP,OPEN-E*7
[size=95G][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][active]
\_ 1:0:1:0 sdd 8:48 [active][ready]
mpath20 (0HP_OPEN-E*7_50060e80032a3135000000000000000000005900) dm-8 HP,OPEN-E*7
[size=95G][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][active]
\_ 1:0:2:0 sdg 8:96 [active][ready]
mpath17 (0HP_OPEN-E*7_50060e80032a3137000200000000000000005300) dm-4 HP,OPEN-E*7
[size=95G][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][active]
\_ 1:0:0:2 sdc 8:32 [active][ready]
mpath16 (0HP_OPEN-E*7_50060e80032a3137000000000000000000005300) dm-2 HP,OPEN-E*7
[size=95G][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][active]
\_ 1:0:0:0 sda 8:0 [active][ready]
mpath15 (0HP_OPEN-E*7_50060e80032a3134000100000000000000005c00) dm-12 HP,OPEN-E*7
[size=95G][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][active]
\_ 1:0:3:1 sdk 8:160 [active][ready]
mpath14 (0HP_OPEN-E*7_50060e80032a3135000100000000000000005900) dm-9 HP,OPEN-E*7
[size=95G][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][active]
\_ 1:0:2:1 sdh 8:112 [active][ready]
mpath13 (0HP_OPEN-E*7_50060e80032a3136000100000000000000005500) dm-6 HP,OPEN-E*7
[size=95G][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][active]
\_ 1:0:1:1 sde 8:64 [active][ready]
mpath12 (0HP_OPEN-E*7_50060e80032a3137000100000000000000005300) dm-3 HP,OPEN-E*7
[size=95G][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][active]
\_ 1:0:0:1 sdb 8:16 [active][ready]
[root@02 ~]# uname -a
Linux HA5-02 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
[root@02 ~]# cat /etc/issue
Red Hat Enterprise Linux Server release 5.1 (Tikanga)
Kernel \r on an \m
[root@02 ~]# rpm -qa|grep qla
hp_qla2x00src-mezz-8.02.23-1
[root@02 ~]# lspci
00:03.0 VGA compatible controller: ATI Technologies Inc ES1000 (rev 02)
00:04.0 System peripheral: Compaq Computer Corporation Integrated Lights Out Controller (rev 03)
00:04.2 System peripheral: Compaq Computer Corporation Integrated Lights Out Processor (rev 03)
00:04.4 USB Controller: Hewlett-Packard Company Proliant iLO2 virtual USB controller
00:04.6 Class 0c07: Hewlett-Packard Company Proliant iLO2 virtual UART
00:05.0 PCI bridge: Broadcom BCM5785 [HT1000] PCI/PCI-X Bridge
00:06.0 Host bridge: Broadcom BCM5785 [HT1000] Legacy South Bridge
00:06.2 ISA bridge: Broadcom BCM5785 [HT1000] LPC
00:07.0 USB Controller: Broadcom BCM5785 [HT1000] USB (rev 01)
00:07.1 USB Controller: Broadcom BCM5785 [HT1000] USB (rev 01)
00:07.2 USB Controller: Broadcom BCM5785 [HT1000] USB (rev 01)
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] Link Control
00:19.0 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] HyperTransport Configuration
00:19.1 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] Address Map
00:19.2 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] DRAM Controller
00:19.3 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] Miscellaneous Control
00:19.4 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] Link Control
01:0d.0 PCI bridge: Broadcom BCM5785 [HT1000] PCI/PCI-X Bridge (rev c0)
02:03.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5706S Gigabit Ethernet (rev 02)
02:04.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5706S Gigabit Ethernet (rev 02)
40:0f.0 PCI bridge: Broadcom HT2100 PCI-Express Bridge (rev a2)
40:10.0 PCI bridge: Broadcom HT2100 PCI-Express Bridge (rev a2)
40:11.0 PCI bridge: Broadcom HT2100 PCI-Express Bridge (rev a2)
40:12.0 PCI bridge: Broadcom HT2100 PCI-Express Bridge (rev a2)
40:13.0 PCI bridge: Broadcom HT2100 PCI-Express Bridge (rev a2)
48:00.0 Fibre Channel: QLogic Corp. ISP2432-based 4Gb Fibre Channel to PCI Express HBA (rev 03)
48:00.1 Fibre Channel: QLogic Corp. ISP2432-based 4Gb Fibre Channel to PCI Express HBA (rev 03)
4f:00.0 PCI bridge: Broadcom EPB PCI-Express to PCI-X Bridge (rev b4)
50:04.0 PCI bridge: Broadcom BCM5785 [HT1000] PCI/PCI-X Bridge (rev b2)
50:08.0 RAID bus controller: Hewlett-Packard Company Smart Array E200i (SAS Controller)
[root@02 ~]# cat /etc/modprobe.conf
alias eth0 bnx2
alias eth1 bnx2
alias scsi_hostadapter cciss
alias scsi_hostadapter1 usb-storage
alias bond0 bonding
options bond0 miimon=100 mode=1
alias scsi_hostadapter2 qla2xxx_conf
alias scsi_hostadapter3 qla2xxx
options qla2xxx ql2xmaxqdepth=16 qlport_down_retry=30 ql2xloginretrycount=30 ql2xfailover=1 ql2xlbType=1 ql2xautorestore=0xa0 ConfigRequired=0
remove qla2xxx /sbin/modprobe -r --first-time --ignore-remove qla2xxx && { /sbin/modprobe -r --ignore-remove qla2xxx_conf; }
[root@02 ~]# cd /proc/scsi/qla2xxx/
[root@02 qla2xxx]# ls
0 1
[root@02 qla2xxx]# cat 0
QLogic PCI to Fibre Channel Host Adapter for QMH2462:
Firmware version 4.06.03 [IP] [84XX] , Driver version 8.02.23-fo
BIOS version 1.26
FCODE version 1.17
EFI version 1.09
Flash FW version 4.00.90 0082
ISP: ISP2432, Serial# MY592720TS
Request Queue = 0x22e980000, Response Queue = 0x22ef40000
Request Queue count = 4096, Response Queue count = 512
Total number of active commands = 0
Total number of interrupts = 4285
Device queue depth = 0x10
Number of free request entries = 4095
Number of mailbox timeouts = 0
Number of ISP aborts = 0
Number of loop resyncs = 0
Number of retries for empty slots = 0
Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0
Number of reqs in failover_q= 0
Host adapter:loop state = <DEAD>, flags = 0x5a03
Dpc flags = 0x4000000
MBX flags = 0x0
Link down Timeout = 008
Port down retry = 030
Login retry count = 030
Commands retried with dropped frame(s) = 0
Product ID = 0000 0000 0000 0000
SCSI Device Information:
scsi-qla0-adapter-node=5001438004c238d9;
scsi-qla0-adapter-port=5001438004c238d8;
FC Port Information:
SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS.
[root@HA5-WL02 qla2xxx]# cat 1
QLogic PCI to Fibre Channel Host Adapter for QMH2462:
Firmware version 4.06.03 [IP] [84XX] , Driver version 8.02.23-fo
BIOS version 1.26
FCODE version 1.17
EFI version 1.09
Flash FW version 4.00.90 0082
ISP: ISP2432, Serial# MY592720TS
Request Queue = 0x22ea80000, Response Queue = 0x22ea50000
Request Queue count = 4096, Response Queue count = 512
Total number of active commands = 0
Total number of interrupts = 8315
Device queue depth = 0x10
Number of free request entries = 123
Number of mailbox timeouts = 0
Number of ISP aborts = 0
Number of loop resyncs = 0
Number of retries for empty slots = 0
Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0
Number of reqs in failover_q= 0
Host adapter:loop state = <READY>, flags = 0x5a43
Dpc flags = 0x0
MBX flags = 0x0
Link down Timeout = 008
Port down retry = 030
Login retry count = 030
Commands retried with dropped frame(s) = 0
Product ID = 0000 0000 0000 0000
SCSI Device Information:
scsi-qla1-adapter-node=5001438004c238db;
scsi-qla1-adapter-port=5001438004c238da;
scsi-qla1-target-0=50060e80032a3137;
scsi-qla1-target-1=50060e80032a3136;
scsi-qla1-target-2=50060e80032a3135;
scsi-qla1-target-3=50060e80032a3134;
FC Port Information:
scsi-qla1-port-0=50060e80032a3137:50060e80032a3137:0bc800:81;
scsi-qla1-port-1=50060e80032a3136:50060e80032a3136:0bca00:82;
scsi-qla1-port-2=50060e80032a3135:50060e80032a3135:0bcc00:83;
scsi-qla1-port-3=50060e80032a3134:50060e80032a3134:0bce00:84;
SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS.
( 0: 0): Total reqs 318, Pending reqs 0, flags 0x2, Dflags 0x0, 1:0:81 00 00:01
( 0: 1): Total reqs 316, Pending reqs 0, flags 0x2, Dflags 0x0, 1:0:81 00 00:01
( 0: 2): Total reqs 316, Pending reqs 0, flags 0x2, Dflags 0x0, 1:0:81 00 00:01
( 1: 0): Total reqs 317, Pending reqs 0, flags 0x2, Dflags 0x0, 1:0:82 00 00:01
( 1: 1): Total reqs 316, Pending reqs 0, flags 0x2, Dflags 0x0, 1:0:82 00 00:01
( 1: 2): Total reqs 316, Pending reqs 0, flags 0x2, Dflags 0x0, 1:0:82 00 00:01
( 2: 0): Total reqs 317, Pending reqs 0, flags 0x2, Dflags 0x0, 1:0:83 00 00:01
( 2: 1): Total reqs 316, Pending reqs 0, flags 0x2, Dflags 0x0, 1:0:83 00 00:01
( 2: 2): Total reqs 316, Pending reqs 0, flags 0x2, Dflags 0x0, 1:0:83 00 00:01
( 3: 0): Total reqs 317, Pending reqs 0, flags 0x2, Dflags 0x0, 1:0:84 00 00:01
( 3: 1): Total reqs 316, Pending reqs 0, flags 0x2, Dflags 0x0, 1:0:84 00 00:01
( 3: 2): Total reqs 316, Pending reqs 0, flags 0x2, Dflags 0x0, 1:0:84 00 00:01
[ |
|