<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"MS Sans Serif";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"MS Sans Serif";
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>Hi,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>With latest RHEL 4 DM modules and user
space tools, when the Storage controller is rebooted and if “multipath –ll”
is executed, the command is hung for a while (because of retries) and outputs
the following status:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>3600508b400102a990000100000710000<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>[size=4
GB][features="0"][hwhandler="0"]<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>\_ round-robin 0 [enabled]<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>  \_ 0:0:0:3 sdc 
8:32    [faulty][active]<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>  \_ 1:0:0:3 sdi 
8:128   [faulty][active]<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>\_ round-robin 0 [enabled]<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>  \_ 0:0:1:3 sdf 
8:80    [faulty][active]<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>  \_ 1:0:1:3 sdl 
8:176   [ready ][failed]<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>IO is not exercised during the above test. I
have tested the same by changing the Qlogic parameters for increasing the
timeout/retry values. The following are the various options used for testing. Each
line below have the Qlogic options which are used for building initrd images.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>options qla2xxx ql2xretrycount=40 <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>options qla2xxx ql2xretrycount=60<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>options qla2xxx  qlport_down_retry=10
ql2xretrycount=60<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>There is not much change in the time taken
for executing “multipath –ll” command.  Just that the
command is hung for 40-60 sec.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>If we have longer retry counts and if the
controller takes less time like a minute to reboot, the status should have been
updated as the contoller is back online within that time.  But in the
subsequent path verification daemon (multipathd) the path status gets updated
properly. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>The problem is when IO is running on these
devices, after the controller reboots, <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>“dd” reports -  <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>dd: reading `/dev/3600508b400102a990000100000710000’:
Input/output error   <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>This continues till the next path
verification is done. Attached is the log file.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>Why does the status not updated correctly? How
should I be setting the HBA (Qlogic in my case) for retry counts and command
timeouts ?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>Thanks and regards<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>-Murthy<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'><o:p> </o:p></span></font></p>

</div>

</body>

</html>