打印

求助个技术问题,关于存储-SAN-HBA-LUN的问题

本帖已经被作者加入个人空间
上面提到的redhat官方说明档,就是:
http://www.redhat.com/docs/manuals/csgfs/browse/4.6/DM_Multipath/index.html
说明的太多太繁杂,偶尔又搜到了redhat中文网站上有更简单的说明,贴出来供大家参考:


如何在红帽企业Linux 4中设置 device-mapper 的多路径管理?


解决方法:


相关版本:红帽企业Linux 4 UPDATE 2为了设置 device-mapper-multipathing,需要完全的升级操作系统。早期的红帽企业Linux 4 不包含这个功能。编辑文件/etc/multipath.conf。在文件头部注释掉如下内容:
devnode_blacklist {
        devnode "*"
}
如下例:
# devnode_blacklist {
#        devnode "*"
# }
取消文件 /etc/multipath.conf中这段的注释,这段内容可以让 device-mapper multipathing 不用扫描所有的设备。etc/multipath.conf file:
defaults {
      multipath_tool  "/sbin/multipath -v0"
      udev_dir        /dev
      polling_interval 10
      default_selector        "round-robin 0"
      default_path_grouping_policy    multibus
      default_getuid_callout  "/sbin/scsi_id -g -u -s /block/%n"
      default_prio_callout    "/bin/true"
      default_features        "0"
      rr_wmin_io              100
      failback                immediate
}
devnode_blacklist {
      wwid 26353900f02796769
      devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
      devnode "^hd[a-z][[0-9]*]"
      devnode "^cciss!c[0-9]d[0-9]*[p[0-9]*]"
}
这段设置了默认的 device-mapper 的动作,并且去出了通常不会有多路径的设备,如IDE硬盘和软盘。默认的hd*设备的黑名单存在这一个排印错误。需要修改。
devnode "^hd[a-z][[0-9]*]"
把上行修改为如下:
devnode "^hd[a-z][0-9]*"
为了实现简单的failover功能,下例中,defaults 组中的默认的 default_path_grouping_policy 选项被设置成为 failover。
defaults {
      multipath_tool  "/sbin/multipath -v0"
      udev_dir        /dev
      polling_interval 10
      default_selector        "round-robin 0"
      default_path_grouping_policy    failover
      default_getuid_callout  "/sbin/scsi_id -g -u -s /block/%n"
      default_prio_callout    "/bin/true"
      default_features        "0"
      rr_wmin_io              100
      failback                immediate
}
退出编辑并保存设置,执行如下命令
modprobe dm-multipath
modprobe dm-round-robin
service multipathd start
multipath -v2
命令 multipath -v2 可以显示多路径,从而可以知道那些设备工作在多路径下。如果没有任何输出,确认所有的SAN连接被正确的设置,系统有没有正确的开启多路径功能。执行如下命令确认多路径服务有无启动。
chkconfig multipathd on
设备的设备名会被生成,/dev/dm-#,#指代的是多路径组,如果/dev/sda是唯一的多路径设备,/dev/dm-0将会是/dev/sda和/dev/sdb的多路径设备。注意:fdisk不能用于设备/dev/dm-#,使用fdisk只能操作基础磁盘,要在设备映射多路径映射设备上创建/dev/dm-#分区的操作. 执行一下命令。
kpartx -a /dev/dm-#
注意: dmsetup ls –target=multipath 是一个协助侦测系统上多路径设备的命令。如果在多路径设备数据库中没有发现硬件,请查看文章“How can I add moreproducts into the mutipathing database?”






来源:
http://www.redhat.com.cn/kbase/7170.php

TOP

先不动手做,机器还在线使用。

TOP

这是什么错误?

[root@KABUSR2 /]# lvm
lvm> pvs
  /dev/sdq: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdag: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdbm: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdcc: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdb: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdr: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdah: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdax: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdbn: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdcd: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdct: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdc: read failed after 0 of 4096 at 0: Input/output error
  /dev/sds: read failed after 0 of 4096 at 0: Input/output error
  /dev/sday: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdbo: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdd: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdt: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdaj: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdaz: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdbp: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdcf: read failed after 0 of 4096 at 0: Input/output error
  /dev/sde: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdu: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdba: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdbq: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdf: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdv: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdal: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdbb: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdbr: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdch: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdg: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdw: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdbc: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdbs: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdh: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdx: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdan: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdbd: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdbt: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdcj: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdi: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdy: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdbe: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdbu: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdj: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdz: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdap: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdbf: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdbv: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdcl: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdk: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdaa: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdbg: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdbw: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdl: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdab: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdar: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdbh: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdbx: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdcn: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdm: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdac: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdbi: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdby: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdn: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdad: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdat: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdbj: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdbz: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdcp: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdo: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdae: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdbk: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdca: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdp: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdaf: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdav: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdbl: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdcb: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdcr: read failed after 0 of 4096 at 0: Input/output error
  PV         VG         Fmt  Attr PSize   PFree  
  /dev/sda3  VolGroup00 lvm2 a-   132.50G      0
  /dev/sdai  dbvg       lvm2 a-    40.00G      0
  /dev/sdak  dbvg       lvm2 a-    40.00G      0
  /dev/sdam  dbvg       lvm2 a-    40.00G      0
  /dev/sdao  dbvg       lvm2 a-    40.00G      0
  /dev/sdaq  dbvg       lvm2 a-    40.00G      0
  /dev/sdas  dbvg       lvm2 a-    40.00G      0
  /dev/sdau  dbvg       lvm2 a-    40.00G      0
  /dev/sdaw  dbvg       lvm2 a-    40.00G  56.00M
  /dev/sdce  dbvg       lvm2 a-    40.00G      0
  /dev/sdcg  dbvg       lvm2 a-    40.00G 900.00M
  /dev/sdci  dbvg       lvm2 a-    40.00G      0
  /dev/sdck  dbvg       lvm2 a-    40.00G      0
  /dev/sdcm  dbvg       lvm2 a-    40.00G      0
  /dev/sdco  dbvg       lvm2 a-    40.00G      0
  /dev/sdcq  dbvg       lvm2 a-    40.00G      0
  /dev/sdcs  dbvg       lvm2 a-    40.00G      0
  /dev/sdcu  dbvg       lvm2 a-    40.00G 956.00M
lvm>


注明一下,之前有同事做过device-mapper-multipathing。
但重启之后发现多出一个1GB的磁盘,后来就放弃了,然后让我来研究下,呵呵...


谁能告诉我这是哪里出错了?

TOP

顶起来

按照redhat官方说法,做了一遍,-l显示如下:




[root@KABUSR2 /]# multipath -l
mpath2 (3600a0b80001162e200000942458e0853) dm-18 IBM,1815      FAStT
[size=40G][features=0][hwhandler=0]
\_ round-robin 0 [prio=0][active]
\_ 2:0:1:1  sdai 66:32  [active][undef]
\_ round-robin 0 [prio=0][enabled]
\_ 3:0:1:1  sdcf 69:48  [failed][undef]
mpath1 (3600a0b800011624400008ef2458e08c6) dm-17 IBM,1815      FAStT
[size=40G][features=0][hwhandler=0]
\_ round-robin 0 [prio=0][enabled]
\_ 2:0:1:0  sdah 66:16  [failed][undef]
\_ round-robin 0 [prio=0][active]
\_ 3:0:1:0  sdce 69:32  [active][undef]
mpath0 (1_) dm-16 IBM,1742-900
[size=1.0G][features=0][hwhandler=0]
\_ round-robin 0 [prio=0][enabled]
\_ 2:0:0:25 sdaa 65:160 [failed][undef]
\_ 2:0:0:26 sdab 65:176 [failed][undef]
\_ 2:0:0:27 sdac 65:192 [failed][undef]
\_ 2:0:0:28 sdad 65:208 [failed][undef]
\_ 2:0:0:29 sdae 65:224 [failed][undef]
\_ 2:0:0:30 sdaf 65:240 [failed][undef]
\_ 2:0:0:31 sdag 66:0   [failed][undef]
\_ 3:0:0:0  sday 67:32  [failed][undef]
\_ 3:0:0:1  sdaz 67:48  [failed][undef]
\_ 3:0:0:2  sdba 67:64  [failed][undef]
\_ 3:0:0:3  sdbb 67:80  [failed][undef]
\_ 3:0:0:4  sdbc 67:96  [failed][undef]
\_ 3:0:0:5  sdbd 67:112 [failed][undef]
\_ 3:0:0:6  sdbe 67:128 [failed][undef]
\_ 3:0:0:7  sdbf 67:144 [failed][undef]
\_ 3:0:0:8  sdbg 67:160 [failed][undef]
\_ 3:0:0:9  sdbh 67:176 [failed][undef]
\_ 3:0:0:10 sdbi 67:192 [failed][undef]
\_ 3:0:0:11 sdbj 67:208 [failed][undef]
\_ 3:0:0:12 sdbk 67:224 [failed][undef]
\_ 3:0:0:13 sdbl 67:240 [failed][undef]
\_ 3:0:0:14 sdbm 68:0   [failed][undef]
\_ 3:0:0:15 sdbn 68:16  [failed][undef]
\_ 3:0:0:16 sdbo 68:32  [failed][undef]
\_ 3:0:0:17 sdbp 68:48  [failed][undef]
\_ 3:0:0:18 sdbq 68:64  [failed][undef]
\_ 3:0:0:19 sdbr 68:80  [failed][undef]
\_ 3:0:0:20 sdbs 68:96  [failed][undef]
\_ 3:0:0:21 sdbt 68:112 [failed][undef]
\_ 3:0:0:22 sdbu 68:128 [failed][undef]
\_ 3:0:0:23 sdbv 68:144 [failed][undef]
\_ 3:0:0:24 sdbw 68:160 [failed][undef]
\_ 3:0:0:25 sdbx 68:176 [failed][undef]
\_ 3:0:0:26 sdby 68:192 [failed][undef]
\_ 3:0:0:27 sdbz 68:208 [failed][undef]
\_ 2:0:0:0  sdb  8:16   [failed][undef]
\_ 3:0:0:28 sdca 68:224 [failed][undef]
\_ 3:0:0:29 sdcb 68:240 [failed][undef]
\_ 3:0:0:30 sdcc 69:0   [failed][undef]
\_ 3:0:0:31 sdcd 69:16  [failed][undef]
\_ 2:0:0:1  sdc  8:32   [failed][undef]
\_ 2:0:0:2  sdd  8:48   [failed][undef]
\_ 2:0:0:3  sde  8:64   [failed][undef]
\_ 2:0:0:4  sdf  8:80   [failed][undef]
\_ 2:0:0:5  sdg  8:96   [failed][undef]
\_ 2:0:0:6  sdh  8:112  [failed][undef]
\_ 2:0:0:7  sdi  8:128  [failed][undef]
\_ 2:0:0:8  sdj  8:144  [failed][undef]
\_ 2:0:0:9  sdk  8:160  [failed][undef]
\_ 2:0:0:10 sdl  8:176  [failed][undef]
\_ 2:0:0:11 sdm  8:192  [failed][undef]
\_ 2:0:0:12 sdn  8:208  [failed][undef]
\_ 2:0:0:13 sdo  8:224  [failed][undef]
\_ 2:0:0:14 sdp  8:240  [failed][undef]
\_ 2:0:0:15 sdq  65:0   [failed][undef]
\_ 2:0:0:16 sdr  65:16  [failed][undef]
\_ 2:0:0:17 sds  65:32  [failed][undef]
\_ 2:0:0:18 sdt  65:48  [failed][undef]
\_ 2:0:0:19 sdu  65:64  [failed][undef]
\_ 2:0:0:20 sdv  65:80  [failed][undef]
\_ 2:0:0:21 sdw  65:96  [failed][undef]
\_ 2:0:0:22 sdx  65:112 [failed][undef]
\_ 2:0:0:23 sdy  65:128 [failed][undef]
\_ 2:0:0:24 sdz  65:144 [failed][undef]
mpath17 (3600a0b800011624400008f1b458e2e4a) dm-33 IBM,1815      FAStT
[size=40G][features=0][hwhandler=0]
\_ round-robin 0 [prio=0][enabled]
\_ 2:0:1:16 sdax 67:16  [failed][undef]
\_ round-robin 0 [prio=0][active]
\_ 3:0:1:16 sdcu 70:32  [active][undef]
mpath16 (3600a0b80001162e20000096c458e2d91) dm-32 IBM,1815      FAStT
[size=40G][features=0][hwhandler=0]
\_ round-robin 0 [prio=0][active]
\_ 2:0:1:15 sdaw 67:0   [active][undef]
\_ round-robin 0 [prio=0][enabled]
\_ 3:0:1:15 sdct 70:16  [active][undef]
mpath9 (3600a0b800011624400008f07458e2cc0) dm-25 IBM,1815      FAStT
[size=40G][features=0][hwhandler=0]
\_ round-robin 0 [prio=0][enabled]
\_ 2:0:1:8  sdap 66:144 [failed][undef]
\_ round-robin 0 [prio=0][active]
\_ 3:0:1:8  sdcm 69:160 [active][undef]
mpath15 (3600a0b800011624400008f16458e2dfa) dm-31 IBM,1815      FAStT
[size=40G][features=0][hwhandler=0]
\_ round-robin 0 [prio=0][enabled]
\_ 2:0:1:14 sdav 66:240 [failed][undef]
\_ round-robin 0 [prio=0][active]
\_ 3:0:1:14 sdcs 70:0   [active][undef]
mpath8 (3600a0b80001162e200000954458e0ab9) dm-24 IBM,1815      FAStT
[size=40G][features=0][hwhandler=0]
\_ round-robin 0 [prio=0][active]
\_ 2:0:1:7  sdao 66:128 [active][undef]
\_ round-robin 0 [prio=0][enabled]
\_ 3:0:1:7  sdcl 69:144 [active][undef]
mpath14 (3600a0b80001162e200000966458e2d3f) dm-30 IBM,1815      FAStT
[size=40G][features=0][hwhandler=0]
\_ round-robin 0 [prio=0][active]
\_ 2:0:1:13 sdau 66:224 [active][undef]
\_ round-robin 0 [prio=0][enabled]
\_ 3:0:1:13 sdcr 69:240 [active][undef]
mpath7 (3600a0b800011624400008f02458e0b2c) dm-23 IBM,1815      FAStT
[size=40G][features=0][hwhandler=0]
\_ round-robin 0 [prio=0][enabled]
\_ 2:0:1:6  sdan 66:112 [failed][undef]
\_ round-robin 0 [prio=0][active]
\_ 3:0:1:6  sdck 69:128 [active][undef]
mpath13 (3600a0b800011624400008f11458e2d44) dm-29 IBM,1815      FAStT
[size=40G][features=0][hwhandler=0]
\_ round-robin 0 [prio=0][enabled]
\_ 2:0:1:12 sdat 66:208 [failed][undef]
\_ round-robin 0 [prio=0][active]
\_ 3:0:1:12 sdcq 69:224 [active][undef]
mpath6 (3600a0b80001162e20000094e458e0a81) dm-22 IBM,1815      FAStT
[size=40G][features=0][hwhandler=0]
\_ round-robin 0 [prio=0][active]
\_ 2:0:1:5  sdam 66:96  [active][undef]
\_ round-robin 0 [prio=0][enabled]
\_ 3:0:1:5  sdcj 69:112 [active][undef]
mpath12 (3600a0b80001162e200000960458e2c97) dm-28 IBM,1815      FAStT
[size=40G][features=0][hwhandler=0]
\_ round-robin 0 [prio=0][active]
\_ 2:0:1:11 sdas 66:192 [active][undef]
\_ round-robin 0 [prio=0][enabled]
\_ 3:0:1:11 sdcp 69:208 [failed][undef]
mpath5 (3600a0b800011624400008efc458e096e) dm-21 IBM,1815      FAStT
[size=40G][features=0][hwhandler=0]
\_ round-robin 0 [prio=0][enabled]
\_ 2:0:1:4  sdal 66:80  [failed][undef]
\_ round-robin 0 [prio=0][active]
\_ 3:0:1:4  sdci 69:96  [active][undef]
mpath11 (3600a0b800011624400008f0c458e2cfc) dm-27 IBM,1815      FAStT
[size=40G][features=0][hwhandler=0]
\_ round-robin 0 [prio=0][enabled]
\_ 2:0:1:10 sdar 66:176 [failed][undef]
\_ round-robin 0 [prio=0][active]
\_ 3:0:1:10 sdco 69:192 [active][undef]
mpath4 (3600a0b80001162e200000948458e089f) dm-20 IBM,1815      FAStT
[size=40G][features=0][hwhandler=0]
\_ round-robin 0 [prio=0][active]
\_ 2:0:1:3  sdak 66:64  [active][undef]
\_ round-robin 0 [prio=0][enabled]
\_ 3:0:1:3  sdch 69:80  [failed][undef]
mpath10 (3600a0b80001162e20000095a458e2c53) dm-26 IBM,1815      FAStT
[size=40G][features=0][hwhandler=0]
\_ round-robin 0 [prio=0][active]
\_ 2:0:1:9  sdaq 66:160 [active][undef]
\_ round-robin 0 [prio=0][enabled]
\_ 3:0:1:9  sdcn 69:176 [active][undef]
mpath3 (3600a0b800011624400008ef7458e08f8) dm-19 IBM,1815      FAStT
[size=40G][features=0][hwhandler=0]
\_ round-robin 0 [prio=0][enabled]
\_ 2:0:1:2  sdaj 66:48  [failed][undef]
\_ round-robin 0 [prio=0][active]
\_ 3:0:1:2  sdcg 69:64  [active][undef]

TOP

恭喜您,您遇上财神了,送给你2庆典金币!
mpath0 (1_) dm-16 IBM,1742-900
[size=1.0G][features=0][hwhandler=0]


是不是有问题?

TOP

恭喜您,您遇上财神了,送给你4庆典金币!
原本做了17个LUN,但为什么多出一个1G的mpath0呢?

为什么呢?

TOP

重启了之后,mpath#都变成了wwid了:

恭喜您,您遇上财神了,送给你7庆典金币!
[root@KABUSR2 mpath]# ls -l
total 0
lrwxrwxrwx 1 root root 7 Sep  9 13:29 1_ -> ../dm-6
lrwxrwxrwx 1 root root 7 Sep  9 13:29 3600a0b800011624400008ef2458e08c6 -> ../dm-7
lrwxrwxrwx 1 root root 7 Sep  9 13:29 3600a0b800011624400008ef7458e08f8 -> ../dm-9
lrwxrwxrwx 1 root root 8 Sep  9 13:29 3600a0b800011624400008efc458e096e -> ../dm-11
lrwxrwxrwx 1 root root 8 Sep  9 13:29 3600a0b800011624400008f02458e0b2c -> ../dm-13
lrwxrwxrwx 1 root root 8 Sep  9 13:29 3600a0b800011624400008f07458e2cc0 -> ../dm-15
lrwxrwxrwx 1 root root 8 Sep  9 13:29 3600a0b800011624400008f0c458e2cfc -> ../dm-17
lrwxrwxrwx 1 root root 8 Sep  9 13:29 3600a0b800011624400008f11458e2d44 -> ../dm-19
lrwxrwxrwx 1 root root 8 Sep  9 13:29 3600a0b800011624400008f16458e2dfa -> ../dm-21
lrwxrwxrwx 1 root root 8 Sep  9 13:29 3600a0b800011624400008f1b458e2e4a -> ../dm-23
lrwxrwxrwx 1 root root 7 Sep  9 13:29 3600a0b80001162e200000942458e0853 -> ../dm-8
lrwxrwxrwx 1 root root 8 Sep  9 13:29 3600a0b80001162e200000948458e089f -> ../dm-10
lrwxrwxrwx 1 root root 8 Sep  9 13:29 3600a0b80001162e20000094e458e0a81 -> ../dm-12
lrwxrwxrwx 1 root root 8 Sep  9 13:29 3600a0b80001162e200000954458e0ab9 -> ../dm-14
lrwxrwxrwx 1 root root 8 Sep  9 13:29 3600a0b80001162e20000095a458e2c53 -> ../dm-16
lrwxrwxrwx 1 root root 8 Sep  9 13:29 3600a0b80001162e200000960458e2c97 -> ../dm-18
lrwxrwxrwx 1 root root 8 Sep  9 13:29 3600a0b80001162e200000966458e2d3f -> ../dm-20
lrwxrwxrwx 1 root root 8 Sep  9 13:29 3600a0b80001162e20000096c458e2d91 -> ../dm-22

TOP

解决了。
错误现象其实就是多路径识别问题。

解决方法见:http://blog.ixpub.net/10097933/viewspace-338331

TOP

发现很多问题都是我自问自答...

TOP

是不是图画得不太对呀?
应该是每个hba分别连接两个san swith,每个san swith连接到存储上,不是只有一个lun吗

TOP


感谢一直以来您对我们的支持!
当前时区 GMT+8, 现在时间是 2008-12-2 13:17 京ICP证060528 号