<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=GB2312" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 06/05/2012 11:23 AM, Guozhonghua wrote:
    <blockquote
cite="mid:71604351584F6A4EBAE558C676F37CA417BC1D78@H3CMLB02-EX.srv.huawei-3com.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=GB2312">
      <style>
<!--
@font-face
        {font-family:宋体}
@font-face
        {font-family:黑体}
@font-face
        {font-family:楷体_GB2312}
@font-face
        {font-family:"\@宋体"}
@font-face
        {font-family:"\@黑体"}
@font-face
        {font-family:"\@楷体_GB2312"}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-indent:21.0pt;
        line-height:150%;
        text-autospace:none;
        font-size:10.5pt;
        font-family:"Times New Roman"}
h1
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:12.0pt;
        margin-left:21.6pt;
        text-align:justify;
        text-justify:inter-ideograph;
        text-indent:-21.6pt;
        page-break-after:avoid;
        font-size:16.0pt;
        font-family:Arial}
h2
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:12.0pt;
        margin-left:28.8pt;
        text-align:justify;
        text-justify:inter-ideograph;
        text-indent:-28.8pt;
        page-break-after:avoid;
        font-size:12.0pt;
        font-family:Arial;
        font-weight:normal}
h3
        {margin-top:13.0pt;
        margin-right:0cm;
        margin-bottom:13.0pt;
        margin-left:36.0pt;
        text-align:justify;
        text-justify:inter-ideograph;
        text-indent:-36.0pt;
        line-height:173%;
        page-break-after:avoid;
        font-size:12.0pt;
        font-family:"Times New Roman";
        font-weight:normal}
p.MsoHeader, li.MsoHeader, div.MsoHeader
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        layout-grid-mode:char;
        font-size:9.0pt;
        font-family:Arial}
p.MsoFooter, li.MsoFooter, div.MsoFooter
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:9.0pt;
        font-family:Arial}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {margin:0cm;
        margin-bottom:.0001pt;
        text-indent:21.0pt;
        line-height:150%;
        text-autospace:none;
        font-size:9.0pt;
        font-family:宋体}
p.a, li.a, div.a
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:54.45pt;
        margin-bottom:.0001pt;
        text-align:center;
        text-indent:-18.45pt;
        font-size:9.0pt;
        font-family:Arial}
p.a0, li.a0, div.a0
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Arial}
p.a1, li.a1, div.a1
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:center;
        font-size:10.5pt;
        font-family:Arial;
        font-weight:bold}
p.a2, li.a2, div.a2
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:12.0pt;
        margin-left:54.45pt;
        text-align:center;
        text-indent:-18.45pt;
        font-size:9.0pt;
        font-family:Arial}
p.a3, li.a3, div.a3
        {margin-top:4.0pt;
        margin-right:0cm;
        margin-bottom:4.0pt;
        margin-left:0cm;
        text-align:center;
        line-height:150%;
        page-break-after:avoid;
        text-autospace:none;
        font-size:10.5pt;
        font-family:"Times New Roman"}
p.a4, li.a4, div.a4
        {margin-top:15.0pt;
        margin-right:0cm;
        margin-bottom:15.0pt;
        margin-left:0cm;
        text-align:center;
        line-height:150%;
        text-autospace:none;
        font-size:18.0pt;
        font-family:Arial}
p.a5, li.a5, div.a5
        {margin:0cm;
        margin-bottom:.0001pt;
        line-height:150%;
        text-autospace:none;
        font-size:10.5pt;
        font-family:"Times New Roman"}
p.a6, li.a6, div.a6
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        line-height:150%;
        text-autospace:none;
        border:none;
        padding:0cm;
        font-size:9.0pt;
        font-family:Arial}
p.a7, li.a7, div.a7
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        text-indent:18.0pt;
        line-height:150%;
        text-autospace:none;
        border:none;
        padding:0cm;
        font-size:9.0pt;
        font-family:Arial}
p.a8, li.a8, div.a8
        {margin:0cm;
        margin-bottom:.0001pt;
        text-indent:21.0pt;
        line-height:150%;
        text-autospace:none;
        font-size:10.5pt;
        font-family:Arial;
        color:blue;
        font-style:italic}
@page Section1
        {margin:72.0pt 126.65pt 72.0pt 126.65pt;
        layout-grid:15.6pt}
div.Section1
        {}
ol
        {margin-bottom:0cm}
ul
        {margin-bottom:0cm}
-->
</style>
      <div class="Section1" style="">
        <p class="MsoPlainText" style="text-indent: 18pt;"><font
            face="宋体" size="1"><span style="font-size: 9pt; line-height:
              150%;"><span style="line-height: 150%;">  <span
                  lang="EN-US">Hi</span>,<span lang="EN-US"> I am using
                  ocfs2 for test and find one issue, would someone give
                  some help about it.</span></span></span></font></p>
        <p class="MsoPlainText" style="text-indent: 18pt;"><font
            face="宋体" size="1"><span style="font-size: 9pt; line-height:
              150%;"><span style="line-height: 150%;">  <span
                  lang="EN-US"></span></span></span></font></p>
        <p class="MsoPlainText" style="text-indent: 18pt;"><font
            face="宋体" size="1"><span style="font-size: 9pt; line-height:
              150%;"><span style="line-height: 150%;">  <span
                  lang="EN-US">The background is that we are using ocfs2
                  over iSCSI on Ubuntu 12.04, with kernel version
                  3.2.0-23. </span></span></span></font></p>
        <p class="MsoPlainText" style="text-indent: 18pt;"><font
            face="宋体" size="1"><span style="font-size: 9pt; line-height:
              150%;"><span style="line-height: 150%;">  <span
                  lang="EN-US">Linux 3.2.0-23-generic x86_64 GNU/Linux</span></span></span></font></p>
        <p class="MsoPlainText" style="text-indent: 18pt;"><font
            face="宋体" size="1"><span style="font-size: 9pt; line-height:
              150%;"><span style="line-height: 150%;">  <span
                  lang="EN-US"></span></span></span></font></p>
        <p class="MsoPlainText" style="text-indent: 18pt;"><font
            face="宋体" size="1"><span style="font-size: 9pt; line-height:
              150%;"><span style="line-height: 150%;">  <span
                  lang="EN-US">We changed the configuration file of
                  iSCSI, initiatorname.iscsi file, so as to restart the
                  iSCSI service with the command "service open-iscsi
                  restart".</span></span></span></font></p>
        <p class="MsoPlainText" style="text-indent: 18pt;"><font
            face="宋体" size="1"><span style="font-size: 9pt; line-height:
              150%;"><span style="line-height: 150%;">  <span
                  lang="EN-US">After the restart of iscsi service, the
                  device that ocfs2 using is missed, and the log is
                  written to kern.log as below: </span></span></span></font></p>
        <p class="MsoPlainText" style="text-indent: 18pt;"><font
            face="宋体" size="1"><span style="font-size: 9pt; line-height:
              150%;"><span style="line-height: 150%;">  <span
                  lang="EN-US">Jun&nbsp; 5 09:10:06 vmc-7 kernel:
                  [45946.187897] sd 6:0:0:13: [sde] Attached SCSI disk</span></span></span></font></p>
        <p class="MsoPlainText" style="text-indent: 18pt;"><font
            face="宋体" size="1"><span style="font-size: 9pt; line-height:
              150%;"><span style="line-height: 150%;">  <span
                  lang="EN-US">Jun&nbsp; 5 09:10:07 vmc-7 kernel:
                  [45946.439225]
                  (o2hb-692FC96E2F,2786,5):o2hb_bio_end_io:389 ERROR: IO
                  Error -19</span></span></span></font></p>
        <p class="MsoPlainText" style="text-indent: 18pt;"><font
            face="宋体" size="1"><span style="font-size: 9pt; line-height:
              150%;"><span style="line-height: 150%;">  <span
                  lang="EN-US">Jun&nbsp; 5 09:10:07 vmc-7 kernel:
                  [45946.439673]
                  (o2hb-692FC96E2F,2786,5):o2hb_do_disk_heartbeat:1017
                  ERROR: status = -19</span></span></span></font></p>
        <p class="MsoPlainText" style="text-indent: 18pt;"><font
            face="宋体" size="1"><span style="font-size: 9pt; line-height:
              150%;"><span style="line-height: 150%;">  <span
                  lang="EN-US">Jun&nbsp; 5 09:10:07 vmc-7 kernel:
                  [45947.117979]
                  (o2hb-58592532BC,2804,2):o2hb_bio_end_io:389 ERROR: IO
                  Error -19</span></span></span></font></p>
        <p class="MsoPlainText" style="text-indent: 18pt;"><font
            face="宋体" size="1"><span style="font-size: 9pt; line-height:
              150%;"><span style="line-height: 150%;">  <span
                  lang="EN-US">Jun&nbsp; 5 09:10:07 vmc-7 kernel:
                  [45947.118413]</span></span></span></font></p>
        <p class="MsoPlainText" style="text-indent: 18pt;"><font
            face="宋体" size="1"><span style="font-size: 9pt; line-height:
              150%;"><span style="line-height: 150%;">  <span
                  lang="EN-US">... ... .... ...</span></span></span></font></p>
        <p class="MsoPlainText" style="text-indent: 18pt;"><font
            face="宋体" size="1"><span style="font-size: 9pt; line-height:
              150%;"><span style="line-height: 150%;">  <span
                  lang="EN-US">
                  (o2hb-58592532BC,2804,0):o2hb_bio_end_io:389 ERROR: IO
                  Error -19</span></span></span></font></p>
        <p class="MsoPlainText" style="text-indent: 18pt;"><font
            face="宋体" size="1"><span style="font-size: 9pt; line-height:
              150%;"><span style="line-height: 150%;">  <span
                  lang="EN-US">Jun&nbsp; 5 09:10:53 vmc-7 kernel:
                  [45993.143578]
                  (o2hb-58592532BC,2804,0):o2hb_do_disk_heartbeat:1017
                  ERROR: status = -19</span></span></span></font></p>
        <p class="MsoPlainText" style="text-indent: 18pt;"><font
            face="宋体" size="1"><span style="font-size: 9pt; line-height:
              150%;"><span style="line-height: 150%;">  <span
                  lang="EN-US"></span></span></span></font></p>
        <p class="MsoPlainText" style="text-indent: 18pt;"><font
            face="宋体" size="1"><span style="font-size: 9pt; line-height:
              150%;"><span style="line-height: 150%;">  <span
                  lang="EN-US">The heartbeat timeout is 31 seconds
                  configured as below.</span></span></span></font></p>
        <p class="MsoPlainText" style="text-indent: 18pt;"><font
            face="宋体" size="1"><span style="font-size: 9pt; line-height:
              150%;"><span style="line-height: 150%;">  <span
                  lang="EN-US"># O2CB_HEARTBEAT_THRESHOLD: Iterations
                  before a node is considered dead.</span></span></span></font></p>
        <p class="MsoPlainText" style="text-indent: 18pt;"><font
            face="宋体" size="1"><span style="font-size: 9pt; line-height:
              150%;"><span style="line-height: 150%;">  <span
                  lang="EN-US">O2CB_HEARTBEAT_THRESHOLD=31</span></span></span></font></p>
      </div>
    </blockquote>
    O2CB_HEARTBEAT_THRESHOLD = 31 means time out is 60 seconds, not 31
    seconds.<br>
    You can read the ocfs2 faq about this:<br>
    O2CB_HEARTBEAT_THRESHOLD = (((timeout in secs) / 2) + 1)<br>
    <br>
    Tiger<br>
  </body>
</html>