Hi all<br><br>I'm trying to understand how dm works on a RHEL 4u4, ( and RHCS and GFS too). I have two QLC HBAs connected to a Sun Storage 3510 via a couple of SANBOX2 switches. Initially I uncommented all the entries in the configuration file to make some test and I manage to discover the three luns which where recognized correctly whit their path:
<br><br clear="all">[root@store1 ~]# multipath -ll<br>3600c0ff00000000009897a30ae0b0401<br>[size=369 GB][features="0"][hwhandler="0"]<br>\_ round-robin 0 [prio=2][active]<br> \_ 1:0:1:1 sde 8:64  [active][ready]
<br> \_ 2:0:1:1 sdh 8:112 [active][ready]<br><br>3600c0ff00000000009897a30ae0b0400<br>[size=40 GB][features="0"][hwhandler="0"]<br>\_ round-robin 0 [prio=2][active]<br> \_ 1:0:1:0 sdd 8:48  [active][ready]
<br> \_ 2:0:1:0 sdg 8:96  [active][ready]<br><br>3600c0ff00000000009897a5a29e3f800<br>[size=1091 GB][features="0"][hwhandler="0"]<br>\_ round-robin 0 [prio=2][active]<br> \_ 1:0:0:0 sdc 8:32  [active][ready]
<br> \_ 2:0:0:0 sdf 8:80  [active][ready]<br><br>Now, the problem is:<br>1) the default configuration should provide a failover policy, but it seems that it is actually using an active-active one<br>2) Any change I make to /etc/multipath.conf , the output of multipath -ll remains the same. Also tried to flush and reload, restart the daemon etc.. Always the same.
<br>3) If even I REMOVE the configuration file and reboot the server, it keeps discovering the same paths! :<br><br>[root@store1 ~]# ls /etc/multipath.conf<br>ls: /etc/multipath.conf: No such file or directory<br>[root@store1
 ~]# multipath -ll<br>3600c0ff00000000009897a30ae0b0401<br>[size=369 GB][features="0"][hwhandler="0"]<br>\_ round-robin 0 [prio=2][active]<br> \_ 1:0:1:1 sde 8:64  [active][ready]<br> \_ 2:0:1:1 sdh 8:112 [active][ready]
<br><br>3600c0ff00000000009897a30ae0b0400<br>[size=40 GB][features="0"][hwhandler="0"]<br>\_ round-robin 0 [prio=2][active]<br> \_ 1:0:1:0 sdd 8:48  [active][ready]<br> \_ 2:0:1:0 sdg 8:96  [active][ready]
<br><br>3600c0ff00000000009897a5a29e3f800<br>[size=1091 GB][features="0"][hwhandler="0"]<br>\_ round-robin 0 [prio=2][active]<br> \_ 1:0:0:0 sdc 8:32  [active][ready]<br> \_ 2:0:0:0 sdf 8:80  [active][ready]
<br>[root@store1 ~]# multipath -v2 -F<br>[root@store1 ~]#<br>[root@store1 ~]# multipath -ll<br>[root@store1 ~]#<br>[root@store1 ~]# /etc/init.d/multipathd restart<br>Stopping multipathd daemon:                                [  OK  ]
<br>Starting multipathd daemon:                                [  OK  ]<br>[root@store1 ~]#<br>[root@store1 ~]# multipath -v2 -ll<br>[root@store1 ~]# multipath -v2 -d<br>create: SSEAGATE_ST973401LSUN72G0210CB0H____________3LB0CB0H
<br>[size=68 GB][features="0"][hwhandler="0"]<br>\_ round-robin 0 [prio=1]<br> \_ 0:0:0:0 sda 8:0   [ready]<br><br>create: SSEAGATE_ST973401LSUN72G0210BTPF____________3LB0BTPF<br>[size=68 GB][features="0"][hwhandler="0"]
<br>\_ round-robin 0 [prio=1]<br> \_ 0:0:1:0 sdb 8:16  [ready]<br><br>create: 3600c0ff00000000009897a5a29e3f800<br>[size=1091 GB][features="0"][hwhandler="0"]<br>\_ round-robin 0 [prio=2]<br> \_ 1:0:0:0 sdc 8:32  [ready]
<br> \_ 2:0:0:0 sdf 8:80  [ready]<br><br>create: 3600c0ff00000000009897a30ae0b0400<br>[size=40 GB][features="0"][hwhandler="0"]<br>\_ round-robin 0 [prio=2]<br> \_ 1:0:1:0 sdd 8:48  [ready]<br> \_ 2:0:1:0 sdg 8:96  [ready]
<br><br>create: 3600c0ff00000000009897a30ae0b0401<br>[size=369 GB][features="0"][hwhandler="0"]<br>\_ round-robin 0 [prio=2]<br> \_ 1:0:1:1 sde 8:64  [ready]<br> \_ 2:0:1:1 sdh 8:112 [ready]<br>[root@store1
 ~]# multipath -v2 -ll<br>[root@store1 ~]# multipath -v2<br>create: 3600c0ff00000000009897a5a29e3f800<br>[size=1091 GB][features="0"][hwhandler="0"]<br>\_ round-robin 0 [prio=2]<br> \_ 1:0:0:0 sdc 8:32  [ready]
<br> \_ 2:0:0:0 sdf 8:80  [ready]<br><br>create: 3600c0ff00000000009897a30ae0b0400<br>[size=40 GB][features="0"][hwhandler="0"]<br>\_ round-robin 0 [prio=2]<br> \_ 1:0:1:0 sdd 8:48  [ready]<br> \_ 2:0:1:0 sdg 8:96  [ready]
<br><br>create: 3600c0ff00000000009897a30ae0b0401<br>[size=369 GB][features="0"][hwhandler="0"]<br>\_ round-robin 0 [prio=2]<br> \_ 1:0:1:1 sde 8:64  [ready]<br> \_ 2:0:1:1 sdh 8:112 [ready]<br><br>[root@store1
 ~]# multipath -v2 -ll<br>3600c0ff00000000009897a30ae0b0401<br>[size=369 GB][features="0"][hwhandler="0"]<br>\_ round-robin 0 [prio=2][active]<br> \_ 1:0:1:1 sde 8:64  [active][ready]<br> \_ 2:0:1:1 sdh 8:112 [active][ready]
<br><br>3600c0ff00000000009897a30ae0b0400<br>[size=40 GB][features="0"][hwhandler="0"]<br>\_ round-robin 0 [prio=2][active]<br> \_ 1:0:1:0 sdd 8:48  [active][ready]<br> \_ 2:0:1:0 sdg 8:96  [active][ready]
<br><br>3600c0ff00000000009897a5a29e3f800<br>[size=1091 GB][features="0"][hwhandler="0"]<br>\_ round-robin 0 [prio=2][active]<br> \_ 1:0:0:0 sdc 8:32  [active][ready]<br> \_ 2:0:0:0 sdf 8:80  [active][ready]
<br><br>[root@store1 ~]#               <br><br><br>How is it possible??<br><br>Thanks in advance<br><br>-- <br>Claudio Tassini