下面的清单来自Linux框。我对以下不一致之处感到有点困惑。
在这里,我们为多路径绑定文件中的每个LUN定义了别名:
mpath0 36006016071602e0026025fa3eff2e111
mpath1 36006016071602e008cec8699eff2e111
mpath2 36006016071602e00485dffadeff2e111
mpath3 360060160b6502e00e63f011ab359e211但是这里我们有用于设备文件名的WWN和别名。为什么要混合?
ll /dev/mpath
lrwxrwxrwx 1 root root 8 Sep 25 17:39 36006016071602e0026025fa3eff2e111 -> ../dm-15
lrwxrwxrwx 1 root root 8 Sep 25 17:39 36006016071602e0026025fa3eff2e111p1 -> ../dm-20
lrwxrwxrwx 1 root root 8 Sep 25 17:39 36006016071602e00485dffadeff2e111 -> ../dm-17
lrwxrwxrwx 1 root root 8 Sep 25 17:39 36006016071602e00485dffadeff2e111p1 -> ../dm-18
lrwxrwxrwx 1 root root 8 Sep 25 17:43 mpath1 -> ../dm-16
lrwxrwxrwx 1 root root 8 Sep 25 17:43 mpath1p1 -> ../dm-19
lrwxrwxrwx 1 root root 8 Jan 8 14:50 mpath3 -> ../dm-27/etc/multipath.conf . would没有定义会导致这种情况的任何定义。
服务多路径重新启动(以及启动/停止)已经执行。
multipath -ll
mpath2 (36006016071602e00485dffadeff2e111) dm-17 DGC,VRAID
[size=209G][features=1 queue_if_no_path][hwhandler=1 emc][rw]
\_ round-robin 0 [prio=1][active]
\_ 1:0:0:2 sdd 8:48 [active][ready]
\_ round-robin 0 [prio=0][enabled]
\_ 2:0:0:2 sdg 8:96 [active][ready]
mpath1 (36006016071602e008cec8699eff2e111) dm-16 DGC,VRAID
[size=55G][features=1 queue_if_no_path][hwhandler=1 emc][rw]
\_ round-robin 0 [prio=1][active]
\_ 1:0:0:1 sdc 8:32 [active][ready]
\_ round-robin 0 [prio=0][enabled]
\_ 2:0:0:1 sdf 8:80 [active][ready]
mpath0 (36006016071602e0026025fa3eff2e111) dm-15 DGC,VRAID
[size=9.0G][features=1 queue_if_no_path][hwhandler=1 emc][rw]
\_ round-robin 0 [prio=1][active]
\_ 2:0:0:0 sde 8:64 [active][ready]
\_ round-robin 0 [prio=0][enabled]
\_ 1:0:0:0 sdb 8:16 [active][ready]
mpath3 (360060160b6502e00e63f011ab359e211) dm-27 DGC,VRAID
[size=210G][features=1 queue_if_no_path][hwhandler=1 emc][rw]
\_ round-robin 0 [prio=1][active]
\_ 2:0:0:3 sdi 8:128 [active][ready]
\_ round-robin 0 [prio=0][enabled]
\_ 1:0:0:3 sdh 8:112 [active][ready]其他系统是一致的:
ll /dev/mpath
lrwxrwxrwx 1 root root 8 Dec 26 12:18 3600601601c902e000ef2100e1e3ee211 -> ../dm-15
lrwxrwxrwx 1 root root 8 Dec 26 12:18 36006016033902e007a63bd7820fce111 -> ../dm-14
lrwxrwxrwx 1 root root 8 Dec 26 12:18 36006016033902e00d2bee6bc1ffce111 -> ../dm-13
ll /dev/mpath
lrwxrwxrwx 1 root root 8 Dec 26 18:47 3600601601c902e000ef2100e1e3ee211 -> ../dm-15
lrwxrwxrwx 1 root root 8 Dec 26 18:47 3600601601c902e00160c21202a07e211 -> ../dm-14
lrwxrwxrwx 1 root root 8 Dec 26 18:47 3600601601c902e003eedbf312a07e211 -> ../dm-13提前谢谢你,
泽维尔
发布于 2013-01-14 19:16:28
默认位置/var/lib/多路径/绑定。/var是一个挂载点,Red建议将它重新定位到/--但我怀疑这是个问题。-1月11日9:50 XO01
你为什么那么想?例如,请参见https://bugzilla.redhat.com/show_bug.cgi?id=357331,您可以将绑定文件设置为例如/etc /filesystem. bindings (假设/etc不是一个单独的文件系统)。确保安装了http://rhn.redhat.com/errata/RHBA-2008-0337.html。
发布于 2013-01-15 20:57:43
由于不知道这台机器上的行政历史,这一问题的起因是LUN以不洁的方式从系统中得不到代表。建议重新启动系统,并解决了这个问题。
lrwxrwxrwx 1 root root 8 Jan 15 15:44 36006016071602e0026025fa3eff2e111 -> ../dm-15
lrwxrwxrwx 1 root root 8 Jan 15 15:44 36006016071602e0026025fa3eff2e111p1 -> ../dm-21
lrwxrwxrwx 1 root root 8 Jan 15 15:44 36006016071602e00485dffadeff2e111 -> ../dm-17
lrwxrwxrwx 1 root root 8 Jan 15 15:44 36006016071602e00485dffadeff2e111p1 -> ../dm-19
lrwxrwxrwx 1 root root 8 Jan 15 15:44 36006016071602e008cec8699eff2e111 -> ../dm-16
lrwxrwxrwx 1 root root 8 Jan 15 15:44 36006016071602e008cec8699eff2e111p1 -> ../dm-20
lrwxrwxrwx 1 root root 8 Jan 15 15:44 36006016071602e00966edb05ab5de211 -> ../dm-18坦克帮助大家
https://serverfault.com/questions/466042
复制相似问题