免费注册 查看新帖 |

Chinaunix

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

[求助]RHEL4U4下的SAN多路径问题(HP EVA4000,emulax光纤卡) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-10-22 11:15 |只看该作者 |倒序浏览
设备情况:
存储设备为HP EVA4000双控,光纤交换机为HP OEM Brocade 4/12 SAN Switch(刀片模块型)
服务器IBM X3650,x64 cpu,8G内存,光纤卡是IBM OEM emulax lpe11002的4gbps 双端
虽然服务器的光纤卡是双端口,但是因为光纤交换机口不够,只是接了一条光纤线到光纤交换机。因为EVA4000是双控,所以在linux操作系统下,每个LU还是认到2条路径。

OS是RHEL 4U4版本,安装了HP eva4000 for rhel4u4 for emulex的驱动。启动的时候都能认到SAN的磁盘设备。跑的是oracle 10g应用。

问题一:
dmesg中发现有这样的错误信息:
device-mapper: dm-multipath: Failing path 8:192.
但是,oracle应用却好像没事一样,而且打multipath -ll也没有发现failed或者faulty的错误。

问题一:
#multipath -ll,发现有些LU的两个路径是active/enabled的,有些是enabled/enabled,很奇怪。


  1. mpath7 (3600508b400103ec10001900000c00000)
  2. [size=50G][features="1 queue_if_no_path"][hwhandler="0"]
  3. \_ round-robin 0 [prio=50][active]
  4. \_ 2:0:0:8 sdi 8:128 [active][ready]
  5. \_ round-robin 0 [prio=10][enabled]
  6. \_ 2:0:1:8 sdq 65:0  [active][ready]

  7. mpath6 (3600508b400103ec100019000008b0000)
  8. [size=50G][features="1 queue_if_no_path"][hwhandler="0"]
  9. \_ round-robin 0 [prio=50][enabled]
  10. \_ 2:0:1:7 sdp 8:240 [active][ready]
  11. \_ round-robin 0 [prio=10][enabled]
  12. \_ 2:0:0:7 sdh 8:112 [active][ready]
复制代码


不知道会不会有什么问题???

论坛徽章:
0
2 [报告]
发表于 2007-10-22 11:48 |只看该作者
active - Path group currently receiving I/O requests.
enabled - Path groups to try if the active path group has no paths

in the ready state.

disabled - Path groups to try if the active path group and all

enabled path groups have no paths in the active state.

论坛徽章:
0
3 [报告]
发表于 2007-10-22 13:21 |只看该作者
dmesg中发现有这样的错误信息:device-mapper: dm-multipath: Failing path 8:192.
怎么解决呢?
部分dmesg信息:

  1. Emulex LightPulse Fibre Channel SCSI driver 8.0.16.21
  2. Copyright(c) 2003-2005 Emulex.  All rights reserved.
  3. ACPI: PCI interrupt 0000:1c:00.0[A] -> GSI 16 (level, low) -> IRQ 169
  4. PCI: Setting latency timer of device 0000:1c:00.0 to 64
  5. lpfc 0000:1c:00.0: 0:1303 Link Up Event x1 received Data: x1 xf7 x10 x2
  6. scsi2 : IBM 42C2071 4Gb 2-Port PCIe FC HBA for System x on PCI bus 1c device 00 irq 169 port 0
  7. scsi: unknown device type 12
  8.   Vendor: HP        Model: HSV200            Rev: 6110
  9.   Type:   RAID                               ANSI SCSI revision: 05
  10.   Vendor: HP        Model: HSV200            Rev: 6110
  11.   Type:   Direct-Access                      ANSI SCSI revision: 05
  12. SCSI device sdb: 104857600 512-byte hdwr sectors (53687 MB)
  13. SCSI device sdb: drive cache: write through
  14. SCSI device sdb: 104857600 512-byte hdwr sectors (53687 MB)
  15. SCSI device sdb: drive cache: write through
  16. sdb: sdb1 < sdb5 >
  17. Attached scsi disk sdb at scsi2, channel 0, id 0, lun 1
  18.   Vendor: HP        Model: HSV200            Rev: 6110
  19.   Type:   Direct-Access                      ANSI SCSI revision: 05
  20. SCSI device sdc: 4194304 512-byte hdwr sectors (2147 MB)
  21. SCSI device sdc: drive cache: write through
  22. SCSI device sdc: 4194304 512-byte hdwr sectors (2147 MB)
  23. SCSI device sdc: drive cache: write through
  24. sdc: sdc1 < sdc5 sdc6 sdc7 sdc8 >
  25. Attached scsi disk sdc at scsi2, channel 0, id 0, lun 2
  26.   Vendor: HP        Model: HSV200            Rev: 6110
  27.   Type:   Direct-Access                      ANSI SCSI revision: 05



  28. SCSI device sdj: 104857600 512-byte hdwr sectors (53687 MB)
  29. SCSI device sdj: drive cache: write through
  30. SCSI device sdj: 104857600 512-byte hdwr sectors (53687 MB)
  31. SCSI device sdj: drive cache: write through
  32. sdj: sdj1 < sdj5 >
  33. Attached scsi disk sdj at scsi2, channel 0, id 1, lun 1
  34.   Vendor: HP        Model: HSV200            Rev: 6110
  35.   Type:   Direct-Access                      ANSI SCSI revision: 05
  36. SCSI device sdk: 4194304 512-byte hdwr sectors (2147 MB)
  37. SCSI device sdk: drive cache: write through
  38. SCSI device sdk: 4194304 512-byte hdwr sectors (2147 MB)



  39. Fusion MPT base driver 3.02.62.01rh
  40. Copyright (c) 1999-2005 LSI Logic Corporation
  41. Fusion MPT misc device (ioctl) driver 3.02.62.01rh
  42. mptctl: Registered with Fusion MPT base driver
  43. mptctl: /dev/mptctl @ (major,minor=10,220)
  44. ioctl32(java:7672): Unknown cmd fd(7) cmd(00042164){00} arg(ffffa610) on /dev/aac0
  45. ioctl32(java:9811): Unknown cmd fd(7) cmd(00042164){00} arg(e981ee84) on /dev/aac0
  46. audit(1192760560.678:2): user pid=10367 uid=0 auid=4294967295 msg='avc:  1 AV entries and 1/512 buckets used, longest chain length 1
  47. '
  48. ioctl32(java:9811): Unknown cmd fd(7) cmd(00042164){00} arg(e981f1f0) on /dev/aac0
  49. ioctl32(java:9811): Unknown cmd fd(7) cmd(00042164){00} arg(e981f1f0) on /dev/aac0
  50. ioctl32(java:9811): Unknown cmd fd(7) cmd(00042164){00} arg(e981f1f0) on /dev/aac0
  51. ioctl32(java:9811): Unknown cmd fd(7) cmd(00042164){00} arg(e981f1f0) on /dev/aac0
  52. ioctl32(java:9811): Unknown cmd fd(7) cmd(00042164){00} arg(e981f1f0) on /dev/aac0
  53. device-mapper: dm-multipath: Failing path 8:192.
复制代码

论坛徽章:
0
4 [报告]
发表于 2007-10-22 19:07 |只看该作者
学习,高手啊!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP