<div dir="ltr"><div><div><div><div><div>Hi Anuradha,<br><br></div>Sorry for late reply.<br><br></div>Please find the requested logs below:<br><br>Remote: 10.32.0.48<br>Local : 10.32.1.144<br><br>Local:<br>#gluster volume heal c_glusterfs info split-brain<br>Brick 10.32.1.144:/opt/lvmdir/c2/brick<br>Number of entries in split-brain: 0<br><br>Brick 10.32.0.48:/opt/lvmdir/c2/brick<br>Number of entries in split-brain: 0<br><br>Remote:<br>#gluster volume heal c_glusterfs info split-brain<br>Brick 10.32.1.144:/opt/lvmdir/c2/brick<br>Number of entries in split-brain: 0<br><br>Brick 10.32.0.48:/opt/lvmdir/c2/brick<br>Number of entries in split-brain: 0<br><br>auto-sync.sh.<br>Here you can see that i/o error is detected. Below is the required meta data from both the bricks.<br><br>1)<br>stat: cannot stat &#39;/mnt/c//public_html/cello/ior_files/nameroot.ior&#39;: Input/output error<br>Remote: <br><br>getfattr -d -m . -e hex opt/lvmdir/c2/brick/public_html/cello/ior_files/nameroot.ior<br># file: opt/lvmdir/c2/brick/public_html/cello/ior_files/nameroot.ior<br>trusted.afr.dirty=0x000000000000000000000000<br>trusted.bit-rot.version=0x000000000000000256ded2f6000ad80f<br>trusted.gfid=0x771221a7bb3c4f1aade40ce9e38a95ee<br><br>Local: <br><br>getfattr -d -m . -e hex opt/lvmdir/c2/brick/public_html/cello/ior_files/nameroot.ior<br># file: opt/lvmdir/c2/brick/public_html/cello/ior_files/nameroot.ior<br>trusted.bit-rot.version=0x000000000000000256ded38f000e3a51<br>trusted.gfid=0x8ea33f46703c4e2d95c09153c1b858fd<br><br><br>2)<br>stat: cannot stat &#39;/mnt/c//security/corbasecurity&#39;: Input/output error<br>Remote:<br><br>getfattr -d -m . -e hex opt/lvmdir/c2/brick/security/corbasecurity<br># file: opt/lvmdir/c2/brick/security/corbasecurity<br>trusted.afr.dirty=0x000000000000000000000000<br>trusted.bit-rot.version=0x000000000000000256ded2f6000ad80f<br>trusted.gfid=0xd298b7a0c8834f3e99abb39741363013<br><br>Local: <br><br>getfattr -d -m . -e hex opt/lvmdir/c2/brick/security/corbasecurity<br># file: opt/lvmdir/c2/brick/security/corbasecurity<br>trusted.bit-rot.version=0x000000000000000256ded38f000e3a51<br>trusted.gfid=0x890df0f706184b52803fac3242a2f15b<br><br><font face="Tahoma" size="2">I observed that getfattr command output doesn&#39;t show all the fields all the times.<br><br></font></div><div><font face="Tahoma" size="2">Here you can check that </font><font face="Tahoma" size="2">gluster split-brain command hasn&#39;t reported any split-brains but resulted in IO errors when accessed few files.<br><br></font></div><font face="Tahoma" size="2">Could you please tell me if &quot;split-brain&quot; command doesn&#39;t reported any entry as output, then is there any way through which we can find out that the files are in split-brain if we are getting the IO error on those file.<br><br></font></div><div><font face="Tahoma" size="2"><br></font></div><font face="Tahoma" size="2">Regards,<br></font></div><font face="Tahoma" size="2">Abhishek<br></font><div><div><div><font face="Tahoma" size="2"><br><br></font></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 3, 2016 at 5:32 PM, Anuradha Talur <span dir="ltr">&lt;<a href="mailto:atalur@redhat.com" target="_blank">atalur@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""><br>
<br>
----- Original Message -----<br>
&gt; From: &quot;ABHISHEK PALIWAL&quot; &lt;<a href="mailto:abhishpaliwal@gmail.com">abhishpaliwal@gmail.com</a>&gt;<br>
&gt; To: <a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a>, <a href="mailto:gluster-devel@gluster.org">gluster-devel@gluster.org</a><br>
&gt; Sent: Thursday, March 3, 2016 12:10:42 PM<br>
&gt; Subject: [Gluster-users] gluster volume heal info split brain command not     showing files in split-brain<br>
&gt;<br>
&gt;<br>
&gt; Hello,<br>
&gt;<br>
&gt; In gluster, we use the command &quot;gluster volume heal c_glusterfs info<br>
&gt; split-brain&quot; to find the files that are in split-brain scenario.<br>
&gt; We run heal script (developed by Windriver prime team) on the files reported<br>
&gt; by above command to resolve split-brain issue.<br>
&gt;<br>
&gt; But we observed that the above command is not showing all files that are in<br>
&gt; split-brain,<br>
&gt; even though split brain scenario actually exists on the node.<br>
&gt;<br>
&gt; Now a days this issue is seen more often and IO errors are reported when<br>
&gt; tried to access these files under split-brain.<br>
&gt;<br>
&gt; Can you please check why this gluster command is not showing files under<br>
&gt; split-brain?<br>
&gt; We can provide you required logs and support to resolve this issue.<br>
</span>Hi,<br>
<br>
Could you paste the output of getfattr -m. -de hex &lt;path-to-files-in-split-brain&gt; from all the bricks that the files lie in?<br>
<span class=""><br>
&gt;<br>
&gt; Please reply on this because I am not getting any reply from the community.<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt; Regards<br>
&gt; Abhishek Paliwal<br>
&gt;<br>
</span>&gt; _______________________________________________<br>
&gt; Gluster-users mailing list<br>
&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
<span class=""><font color="#888888"><br>
--<br>
Thanks,<br>
Anuradha.<br>
</font></span></blockquote></div><br><br></div></div>