<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri, sans-serif" size="2">
<div>hi all</div>
<div> </div>
<div>We have a rh linux server connected to two HP SAN controllers, one an HSV200 (on the way out), </div>
<div>the other an HSV400 (on the way in). (Via a Qlogic HBA).</div>
<div> </div>
<div>/etc/multipath.conf contains this : </div>
<div> </div>
<div><font face="Courier New, monospace">device</font></div>
<div><font face="Courier New, monospace">{</font></div>
<div><font face="Courier New, monospace"> vendor "(COMPAQ|HP)"</font></div>
<div><font face="Courier New, monospace"> product "HSV1[01]1|HSV2[01]0|HSV300|HSV4[05]0"</font></div>
<div><font face="Courier New, monospace"> getuid_callout "/sbin/scsi_id -g -u -s /block/%n"</font></div>
<div><font face="Courier New, monospace"> prio_callout "/sbin/mpath_prio_alua /dev/%n"</font></div>
<div><font face="Courier New, monospace"> hardware_handler "0"</font></div>
<div><font face="Courier New, monospace"> path_selector "round-robin 0"</font></div>
<div><font face="Courier New, monospace"> path_grouping_policy group_by_prio</font></div>
<div><font face="Courier New, monospace"> failback immediate</font></div>
<div><font face="Courier New, monospace"> rr_weight uniform</font></div>
<div><font face="Courier New, monospace"> no_path_retry 18</font></div>
<div><font face="Courier New, monospace"> rr_min_io 100</font></div>
<div><font face="Courier New, monospace"> path_checker tur</font></div>
<div><font face="Courier New, monospace">}</font></div>
<div> </div>
<div>- but our actual multipathing as shown by multipath –ll , and multipath –ll –v 3 looks as though for the </div>
<div>HSV400 it is using the defaults rather than these settings. The defaults are </div>
<div> </div>
<div><font face="Courier New, monospace">#defaults {</font></div>
<div><font face="Courier New, monospace"># udev_dir /dev</font></div>
<div><font face="Courier New, monospace"># polling_interval 10</font></div>
<div><font face="Courier New, monospace"># selector "round-robin 0"</font></div>
<div><font face="Courier New, monospace"># path_grouping_policy multibus</font></div>
<div><font face="Courier New, monospace"># getuid_callout "/sbin/scsi_id -g -u -s /block/%n"</font></div>
<div><font face="Courier New, monospace"># prio_callout /bin/true</font></div>
<div><font face="Courier New, monospace"># path_checker readsector0</font></div>
<div><font face="Courier New, monospace"># rr_min_io 100</font></div>
<div><font face="Courier New, monospace"># rr_weight priorities</font></div>
<div><font face="Courier New, monospace"># failback immediate</font></div>
<div><font face="Courier New, monospace"># no_path_retry fail</font></div>
<div><font face="Courier New, monospace"># user_friendly_name yes</font></div>
<div> </div>
<div> </div>
<div>and multipath –ll reports :</div>
<div> </div>
<div><font face="Courier New, monospace">.</font></div>
<div><font face="Courier New, monospace">.</font></div>
<div><font face="Courier New, monospace">[snip other HSV400 paths – all similar]</font></div>
<div><font face="Courier New, monospace">mpath12 (3600508b40007518f0000900000520000) dm-1 HP,HSV400</font></div>
<div><font face="Courier New, monospace">[size=150G][features=0][hwhandler=0]</font></div>
<div><font face="Courier New, monospace">\_ round-robin 0 [prio=1][active]</font></div>
<div><font face="Courier New, monospace"> \_ 0:0:5:9 sdab 65:176 [active][ready]</font></div>
<div><font face="Courier New, monospace">\_ round-robin 0 [prio=1][enabled]</font></div>
<div><font face="Courier New, monospace"> \_ 0:0:3:9 sdn 8:208 [active][ready]</font></div>
<div><font face="Courier New, monospace">\_ round-robin 0 [prio=1][enabled]</font></div>
<div><font face="Courier New, monospace"> \_ 0:0:4:9 sdu 65:64 [active][ready]</font></div>
<div><font face="Courier New, monospace">mpath11 (3600508b40007518f0000700000370000) dm-6 HP,HSV200</font></div>
<div><font face="Courier New, monospace">[size=200G][features=1 queue_if_no_path][hwhandler=0]</font></div>
<div><font face="Courier New, monospace">\_ round-robin 0 [prio=50][active]</font></div>
<div><font face="Courier New, monospace"> \_ 0:0:1:7 sdd 8:48 [active][ready]</font></div>
<div><font face="Courier New, monospace">\_ round-robin 0 [prio=10][enabled]</font></div>
<div><font face="Courier New, monospace"> \_ 0:0:2:7 sdh 8:112 [active][ready]</font></div>
<div><font face="Courier New, monospace">.</font></div>
<div><font face="Courier New, monospace">.</font></div>
<div><font face="Courier New, monospace">[snip other HSV200 paths – all similar]</font></div>
<div> </div>
<div> </div>
<div> </div>
<div>multipath –ll –v 3 includes explicit statements that defaults are being used for the HSV400</div>
<div> </div>
<div>(long output snipped…)</div>
<div> </div>
<div><font face="Courier New, monospace">sdaa: path checker = readsector0 (config file default)</font></div>
<div> </div>
<div><font face="Courier New, monospace">versus</font></div>
<div> </div>
<div><font face="Courier New, monospace">sda: path checker = tur (controller setting)</font></div>
<div> </div>
<div><font face="Courier New, monospace">sdx: getprio = NULL (internal default)</font></div>
<div> </div>
<div><font face="Courier New, monospace">versus</font></div>
<div><font face="Courier New, monospace"> </font></div>
<div><font face="Courier New, monospace">sdd: getprio = /sbin/mpath_prio_alua %n (controller setting)</font></div>
<div> </div>
<div> </div>
<div> </div>
<div>- furthermore we see in the log file messages from both readsector0 *<b>and</b>* tur </div>
<div>rather than just tur if the correct settings were used , which also backs that up.</div>
<div> </div>
<div>My questions are basically – why is it happening , and how to fix it ? </div>
<div> </div>
<div>The vendor and product regexps definitely do match both “HSP” and both “HSV200” and “HSV400” respectively</div>
<div>so it doesn’t seem that fiddling with the patterns will work , and I’m sure this config has been tested.</div>
<div> </div>
<div>Its not due to this server having to deal with two controllers – we have a second server that only mounts from </div>
<div>the HSV400, and its multipath settings appear to be entirely the defaults, and not what we have set.</div>
<div> </div>
<div>(And conversely, its not due to the conf file not being read at all – since the server with two controllers</div>
<div>is using the correct config for one of them , but not the other.)</div>
<div> </div>
<div>thanks for any tips and I will summarise.</div>
<div> </div>
<div>Cheers</div>
<div> </div>
<div>AMcC</div>
<div> </div>
<div> </div>
</font>
<P align=left><FONT face=Arial size=1></FONT> </P><FONT face=Arial size=1>
<P align=left>
<HR>
</P>
<P align=left><STRONG>Attention: </STRONG>The information contained in this
message and/or attachments from AgResearch Limited is intended only for the
persons or entities to which it is addressed and may contain confidential and/or
privileged material. Any review, retransmission, dissemination or other use of,
or taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch Limited.
If you have received this message in error, please notify the sender
immediately.</P>
<P align=left>
<HR>
</P>
<P> </P></FONT>
</body>
</html>