<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" 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 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:DengXian;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:DengXian;
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:DengXian;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="ZH-CN" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">Thanks for responding?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">If split-brain happen in such kind of test is reasonable, how to fix this split-brain situation?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" align="left" style="text-align:left"><b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:windowtext">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:windowtext">
 Ravishankar N [mailto:ravishankar@redhat.com] <br>
<b>Sent:</b> Thursday, February 08, 2018 12:12 AM<br>
<b>To:</b> Zhou, Cynthia (NSB - CN/Hangzhou) &lt;cynthia.zhou@nokia-sbell.com&gt;; Gluster-devel@gluster.org<br>
<b>Subject:</b> Re: query about a split-brain problem found in glusterfs3.12.3<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">On 02/07/2018 10:39 AM, Zhou, Cynthia (NSB - CN/Hangzhou) wrote:<o:p></o:p></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,sans-serif">&nbsp;</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Hi glusterfs expert:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span lang="EN-US"> Good day.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span lang="EN-US"> Lately, we meet a glusterfs split brain problem in our env in /mnt/export/testdir. We start 3 ior process (IOR tool) from non-sn nodes, which is
 creating/removing files repeatedly in testdir. then we reboot sn nodes(sn0 and sn1) by sequence. Then we meet following problem.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp;</span><span lang="EN-US"> Do you have some comments on how this could happen? And how to fix it in this situation? Thanks!<o:p></o:p></span></p>
</blockquote>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><br>
Is the problem that split-brain is happening? Is this a replica 2 volume? If yes, then it looks like it is expected behavior?<br>
Regards<br>
Ravi<br>
<br>
<o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,sans-serif">&nbsp;</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,sans-serif">&nbsp;</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">gluster volume heal export info<br>
Brick sn-0.local:/mnt/bricks/export/brick<br>
Status: Connected<br>
Number of entries: 0<br>
<br>
Brick sn-1.local:/mnt/bricks/export/brick<br>
/testdir - Is in split-brain<br>
<br>
/testdir - Possibly undergoing heal<br>
<br>
Status: Connected<br>
Number of entries: 2</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">wait for a while
</span><span style="font-size:10.0pt">&#8230;<span lang="EN-US">..</span></span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">gluster volume heal export info<br>
Brick sn-0.local:/mnt/bricks/export/brick<br>
Status: Connected<br>
Number of entries: 0<br>
<br>
Brick sn-1.local:/mnt/bricks/export/brick<br>
/testdir - Possibly undergoing heal<br>
<br>
/testdir - Possibly undergoing heal</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">and finally:</span><span lang="EN-US"><o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;background:white">
<span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#333333">[root@<a href="http://sn-0/root"><span style="font-size:12.0pt;color:#3B73AF">sn-0:/root</span></a>]<br>
# gluster v heal export info<br>
Brick sn-0.<a href="http://local/mnt/bricks/export/brick"><span style="font-size:12.0pt;color:#3B73AF">local:/mnt/bricks/export/brick</span></a><br>
Status: Connected<br>
Number of entries: 0</span><span lang="EN-US"><o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;background:white;font-variant-ligatures:
          normal;font-variant-caps: normal;orphans: 2;widows:
          2;-webkit-text-stroke-width: 0px;text-decoration-style:
          initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#333333">Brick sn-1.<a href="http://local/mnt/bricks/export/brick"><span style="font-size:12.0pt;color:#3B73AF">local:/mnt/bricks/export/brick</span></a><br>
/testdir - Is in split-brain</span><span lang="EN-US"><o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;background:white;font-variant-ligatures:
          normal;font-variant-caps: normal;orphans: 2;widows:
          2;-webkit-text-stroke-width: 0px;text-decoration-style:
          initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#333333">Status: Connected<br>
Number of entries: 1</span><span lang="EN-US"><o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;background:white;font-variant-ligatures:
          normal;font-variant-caps: normal;orphans: 2;widows:
          2;-webkit-text-stroke-width: 0px;text-decoration-style:
          initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#333333">&nbsp;</span><span lang="EN-US"><o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;background:white;font-variant-ligatures:
          normal;font-variant-caps: normal;orphans: 2;widows:
          2;-webkit-text-stroke-width: 0px;text-decoration-style:
          initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#333333">[root@<a href="http://sn-0/root"><span style="font-size:12.0pt;color:#3B73AF">sn-0:/root</span></a>]</span><span lang="EN-US"><o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;background:white;font-variant-ligatures:
          normal;font-variant-caps: normal;orphans: 2;widows:
          2;-webkit-text-stroke-width: 0px;text-decoration-style:
          initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#333333"># getfattr -m .* -d -e&nbsp; hex /mnt/bricks/export/brick/testdir</span><span lang="EN-US"><o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;background:white;font-variant-ligatures:
          normal;font-variant-caps: normal;orphans: 2;widows:
          2;-webkit-text-stroke-width: 0px;text-decoration-style:
          initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#333333">getfattr: Removing leading '/' from absolute path names</span><span lang="EN-US"><o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;background:white;font-variant-ligatures:
          normal;font-variant-caps: normal;orphans: 2;widows:
          2;-webkit-text-stroke-width: 0px;text-decoration-style:
          initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#333333"># file: mnt/bricks/export/brick/testdir</span><span lang="EN-US"><o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;background:white;font-variant-ligatures:
          normal;font-variant-caps: normal;orphans: 2;widows:
          2;-webkit-text-stroke-width: 0px;text-decoration-style:
          initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#333333">trusted.gfid=0x5622cff893b3484dbdb6a20a0edb0e77</span><span lang="EN-US"><o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;background:white;font-variant-ligatures:
          normal;font-variant-caps: normal;orphans: 2;widows:
          2;-webkit-text-stroke-width: 0px;text-decoration-style:
          initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#333333">trusted.glusterfs.dht=0x000000010000000000000000ffffffff</span><span lang="EN-US"><o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;background:white;font-variant-ligatures:
          normal;font-variant-caps: normal;orphans: 2;widows:
          2;-webkit-text-stroke-width: 0px;text-decoration-style:
          initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#333333">&nbsp;</span><span lang="EN-US"><o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;background:white">
<span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#333333">[root@<a href="http://sn-1/root"><span style="font-size:12.0pt;color:#3B73AF">sn-1:/root</span></a>]</span><span lang="EN-US"><o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;background:white;font-variant-ligatures:
          normal;font-variant-caps: normal;orphans: 2;widows:
          2;-webkit-text-stroke-width: 0px;text-decoration-style:
          initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#333333"># getfattr -m .* -d -e&nbsp; hex /mnt/bricks/export/brick/testdir</span><span lang="EN-US"><o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;background:white;font-variant-ligatures:
          normal;font-variant-caps: normal;orphans: 2;widows:
          2;-webkit-text-stroke-width: 0px;text-decoration-style:
          initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#333333">getfattr: Removing leading '/' from absolute path names</span><span lang="EN-US"><o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;background:white;font-variant-ligatures:
          normal;font-variant-caps: normal;orphans: 2;widows:
          2;-webkit-text-stroke-width: 0px;text-decoration-style:
          initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#333333"># file: mnt/bricks/export/brick/testdir</span><span lang="EN-US"><o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;background:white;font-variant-ligatures:
          normal;font-variant-caps: normal;orphans: 2;widows:
          2;-webkit-text-stroke-width: 0px;text-decoration-style:
          initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#333333">trusted.afr.dirty=0x000000000000000000000001</span><span lang="EN-US"><o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;background:white;font-variant-ligatures:
          normal;font-variant-caps: normal;orphans: 2;widows:
          2;-webkit-text-stroke-width: 0px;text-decoration-style:
          initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#333333">trusted.afr.export-client-0=0x000000000000000000000038</span><span lang="EN-US"><o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;background:white;font-variant-ligatures:
          normal;font-variant-caps: normal;orphans: 2;widows:
          2;-webkit-text-stroke-width: 0px;text-decoration-style:
          initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#333333">trusted.gfid=0x5622cff893b3484dbdb6a20a0edb0e77</span><span lang="EN-US"><o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;background:white;font-variant-ligatures:
          normal;font-variant-caps: normal;orphans: 2;widows:
          2;-webkit-text-stroke-width: 0px;text-decoration-style:
          initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#333333">trusted.glusterfs.dht=0x000000010000000000000000ffffffff</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,sans-serif">&nbsp;</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,sans-serif">&nbsp;</span><span lang="EN-US"><o:p></o:p></span></p>
</blockquote>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
</div>
</body>
</html>