<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 18, 2016 at 1:41 AM, 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: &quot;Anuradha Talur&quot; &lt;<a href="mailto:atalur@redhat.com">atalur@redhat.com</a>&gt;<br>
&gt; Cc: <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>
</span><span class="">&gt; Sent: Thursday, March 17, 2016 4:00:58 PM<br>
&gt; Subject: Re: [Gluster-users] gluster volume heal info split brain command not showing files in split-brain<br>
&gt;<br>
&gt; Hi Anuradha,<br>
&gt;<br>
</span><span class="">&gt; Please confirm me, this is bug in glusterfs or we need to do something at<br>
&gt; our end.<br>
&gt;<br>
&gt; Because this problem is stopping our development.<br>
</span>Hi Abhishek,<br>
<br>
When you say file is not getting sync, do you mean that the files are not in sync after healing or that the existing GFID mismatch that you tried to heal failed?<br>
In one of the previous mails, you said that the GFID mismatch problem is resolved, is it not so?<br></blockquote><div><br></div><div>As I mentioned I have two scenario:  <br>1. First scenario is where files are in split-brain but not recognized by the the split-brain and heal info commands. So we are identifying those file when I/O errors occurred on those files (the same method mentioned in the link which you shared earlier) but this method is not reliable in our case because other modules have the dependencies on this file and those modules can&#39;t wait until heal in progress. In this case we required manual identification of the file those are falling in I/O error which is somehow not the correct way. It is better if the split-brain or heal info command identify the files and based on the output we will perform the self healing on those files only.<br><br></div><div>2. Second scenario in which we have one log file which have the fixed size and wrapping of data properties and continuously written by the system even when the other brick is down or rebooting. In this case, we have two brick in replica mode and when one goes down and comes up but this file remains out of sync. We are not getting any of the following on this file:<br></div><div>A. Not recognized by the split-brain and heal info command.<br></div><div>B. Not getting any I/O error<br></div><div>C. Do not have the GFID mismatch<br><br></div><div>Here, are the getfattr output of this file<br><br></div><div>Brick B which rebooted and have the file out of sync<br><br>getfattr -d -m . -e hex opt/lvmdir/c2/brick/logfiles/availability/CELLO_AVAILABILITY2_LOG.xml<br><br># file: opt/lvmdir/c2/brick/logfiles/availability/CELLO_AVAILABILITY2_LOG.xml<br>trusted.afr.c_glusterfs-client-1=0x000000000000000000000000<br>trusted.afr.dirty=0x000000000000000000000000<br>trusted.bit-rot.version=0x000000000000000b56d6dd1d000ec7a9<br>trusted.gfid=0x9f5e354ecfda40149ddce7d5ffe760ae<br><br><br></div><div>Brick A where file was getting updated when Brick B was rebooting<br><br>getfattr -d -m . -e hex opt/lvmdir/c2/brick/logfiles/availability/CELLO_AVAILABILITY2_LOG.xml<br>trusted.afr.c_glusterfs-client-0=0x000000080000000000000000<br>trusted.afr.c_glusterfs-client-2=0x000000020000000000000000<br>trusted.afr.c_glusterfs-client-4=0x000000020000000000000000<br>trusted.afr.c_glusterfs-client-6=0x000000020000000000000000<br>trusted.afr.dirty=0x000000000000000000000000<br>trusted.bit-rot.version=0x000000000000000b56d6dcb7000c87e7<br>trusted.gfid=0x9f5e354ecfda40149ddce7d5ffe760ae<br></div><div><br></div><div>This scenario is not 100% reproducible but out of 20 cycle we can reproduce it one or two times.<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div> 
<br>
To your question about finding the files in split-brain, can you try running gluster volume heal &lt;volname&gt; info? Heal info is also supposed to show<br></div>
the files in split-brain.</blockquote><div><br></div><div>This heal info command is also not working.<br> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
If the GFID mismatch is not resolved yet, it would really help understand the underlying problem if you give the output of getfattr -m. -de hex &lt;path-to-parent-directory-of-the-file-in-GFID-mismatch&gt;.<br></blockquote><div><br></div><div>It resolved the problem but we don&#39;t want to go with that solution (mentioned in the link provided by) we want the consistency and out come from the split-brain or heal info files.<br><br></div><div>The output you are asking for parent directory I have already shared you in this mail chain. I am also attaching one more time for your reference.<br><br></div><div>Please let me know if you have any query regarding the above scenarios.<br></div><div><br></div><div>Regards,<br></div><div>Abhishek  <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class=""><div class="h5">&gt;<br>
&gt; Regards,<br>
&gt; Abhishek<br>
&gt;<br>
&gt; On Thu, Mar 17, 2016 at 1:54 PM, ABHISHEK PALIWAL &lt;<a href="mailto:abhishpaliwal@gmail.com">abhishpaliwal@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;<br>
&gt; &gt; Hi Anuradha,<br>
&gt; &gt;<br>
&gt; &gt; But in this case I need to do tail on each file which is time taking<br>
&gt; &gt; process and other end I can&#39;t pause my module until these file is getting<br>
&gt; &gt; healed.<br>
&gt; &gt;<br>
&gt; &gt; Any how I need the output of the split-brain to resolve this problem.<br>
&gt; &gt;<br>
&gt; &gt; Regards,<br>
&gt; &gt; Abhishek<br>
&gt; &gt;<br>
&gt; &gt; On Wed, Mar 16, 2016 at 6:21 PM, ABHISHEK PALIWAL &lt;<a href="mailto:abhishpaliwal@gmail.com">abhishpaliwal@gmail.com</a><br>
&gt; &gt; &gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt;&gt; Hi Anuradha,<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; The issue is resolved but we have one more issue something similar to<br>
&gt; &gt;&gt; this one in which the file is not getting sync after the steps followed,<br>
&gt; &gt;&gt; mentioned in the link which you shared in the previous mail.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; And problem is that why split-brain command is not showing split-brain<br>
&gt; &gt;&gt; entries.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Regards,<br>
&gt; &gt;&gt; Abhishek<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; On Wed, Mar 16, 2016 at 6:06 PM, Anuradha Talur &lt;<a href="mailto:atalur@redhat.com">atalur@redhat.com</a>&gt;<br>
&gt; &gt;&gt; wrote:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; ----- Original Message -----<br>
&gt; &gt;&gt;&gt; &gt; From: &quot;Anuradha Talur&quot; &lt;<a href="mailto:atalur@redhat.com">atalur@redhat.com</a>&gt;<br>
&gt; &gt;&gt;&gt; &gt; To: &quot;ABHISHEK PALIWAL&quot; &lt;<a href="mailto:abhishpaliwal@gmail.com">abhishpaliwal@gmail.com</a>&gt;<br>
&gt; &gt;&gt;&gt; &gt; Cc: <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; &gt;&gt;&gt; &gt; Sent: Wednesday, March 16, 2016 5:32:26 PM<br>
&gt; &gt;&gt;&gt; &gt; Subject: Re: [Gluster-users] gluster volume heal info split brain<br>
&gt; &gt;&gt;&gt; command not showing files in split-brain<br>
&gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; ----- Original Message -----<br>
&gt; &gt;&gt;&gt; &gt; &gt; From: &quot;ABHISHEK PALIWAL&quot; &lt;<a href="mailto:abhishpaliwal@gmail.com">abhishpaliwal@gmail.com</a>&gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; To: &quot;Anuradha Talur&quot; &lt;<a href="mailto:atalur@redhat.com">atalur@redhat.com</a>&gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; Cc: <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; &gt;&gt;&gt; &gt; &gt; Sent: Wednesday, March 16, 2016 4:39:26 PM<br>
&gt; &gt;&gt;&gt; &gt; &gt; Subject: Re: [Gluster-users] gluster volume heal info split brain<br>
&gt; &gt;&gt;&gt; command<br>
&gt; &gt;&gt;&gt; &gt; &gt; not showing files in split-brain<br>
&gt; &gt;&gt;&gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; Hi Anuradha,<br>
&gt; &gt;&gt;&gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; I am doing the same which is mentioned in the link you shared and It<br>
&gt; &gt;&gt;&gt; has<br>
&gt; &gt;&gt;&gt; &gt; &gt; been resolved the issue.<br>
&gt; &gt;&gt;&gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; But my question is if it is the split-brain scenario then why the<br>
&gt; &gt;&gt;&gt; command<br>
&gt; &gt;&gt;&gt; &gt; &gt; &quot;gluster volume heal info split-brain&quot;<br>
&gt; &gt;&gt;&gt; &gt; &gt;  not showing these files in the output even not the parent directory<br>
&gt; &gt;&gt;&gt; is<br>
&gt; &gt;&gt;&gt; &gt; &gt; present in split-brain.<br>
&gt; &gt;&gt;&gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; Please find the requested logs<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Abhishek,<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Yes, ideally it should show. I will look into it. The only reason I can<br>
&gt; &gt;&gt;&gt; think of, is when parent directory did not have any pending markers to<br>
&gt; &gt;&gt;&gt; indicate split-brain; which is why I asked getfattr output for the parent<br>
&gt; &gt;&gt;&gt; directory too. But if the issue is resolved, there isn&#39;t much info we can<br>
&gt; &gt;&gt;&gt; get out of it. Thanks for sharing the logs. Will see what could have<br>
&gt; &gt;&gt;&gt; caused<br>
&gt; &gt;&gt;&gt; this.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; &gt; Abhishek,<br>
&gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; Yes, ideally it should show. I will look into it.<br>
&gt; &gt;&gt;&gt; &gt; I saw another case with this issue. The parent directory did not have<br>
&gt; &gt;&gt;&gt; any pe<br>
&gt; &gt;&gt;&gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; On Wed, Mar 16, 2016 at 4:20 PM, Anuradha Talur &lt;<a href="mailto:atalur@redhat.com">atalur@redhat.com</a>&gt;<br>
&gt; &gt;&gt;&gt; wrote:<br>
&gt; &gt;&gt;&gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; Hi Abhishek,<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; The files that are reporting i/o error have gfid-mismatch. This<br>
&gt; &gt;&gt;&gt; situation<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; is called directory or entry split-brain. You can find steps to<br>
&gt; &gt;&gt;&gt; resolve<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; this kind of split brain here :<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; <a href="https://gluster.readthedocs.org/en/latest/Troubleshooting/split-brain/" rel="noreferrer" target="_blank">https://gluster.readthedocs.org/en/latest/Troubleshooting/split-brain/</a> .<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; Ideally, the parent directories of these files have to be listed<br>
&gt; &gt;&gt;&gt; in heal<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; info split-brain output. Can you please get extended attributes of<br>
&gt; &gt;&gt;&gt; parent<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; directories of the files that show i/o error (Same getfattr<br>
&gt; &gt;&gt;&gt; command that<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; you previously used.) ?<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; ----- Original Message -----<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; From: &quot;ABHISHEK PALIWAL&quot; &lt;<a href="mailto:abhishpaliwal@gmail.com">abhishpaliwal@gmail.com</a>&gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; To: &quot;Anuradha Talur&quot; &lt;<a href="mailto:atalur@redhat.com">atalur@redhat.com</a>&gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; Cc: <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; &gt;&gt;&gt; &gt; &gt; &gt; &gt; Sent: Thursday, March 10, 2016 11:22:35 AM<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; Subject: Re: [Gluster-users] gluster volume heal info split brain<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; command not showing files in split-brain<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; Hi Anuradha,<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; Please find the glusterfs and glusterd logs directory as an<br>
&gt; &gt;&gt;&gt; attachment.<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; Regards,<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; Abhishek<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; On Wed, Mar 9, 2016 at 5:54 PM, ABHISHEK PALIWAL &lt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; <a href="mailto:abhishpaliwal@gmail.com">abhishpaliwal@gmail.com</a>&gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; wrote:<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; Hi Anuradha,<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; Sorry for late reply.<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; Please find the requested logs below:<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; Remote: 10.32.0.48<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; Local : 10.32.1.144<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; Local:<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; #gluster volume heal c_glusterfs info split-brain<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; Brick 10.32.1.144:/opt/lvmdir/c2/brick<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; Number of entries in split-brain: 0<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; Brick 10.32.0.48:/opt/lvmdir/c2/brick<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; Number of entries in split-brain: 0<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; Remote:<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; #gluster volume heal c_glusterfs info split-brain<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; Brick 10.32.1.144:/opt/lvmdir/c2/brick<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; Number of entries in split-brain: 0<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; Brick 10.32.0.48:/opt/lvmdir/c2/brick<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; Number of entries in split-brain: 0<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; auto-sync.sh.<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; Here you can see that i/o error is detected. Below is the<br>
&gt; &gt;&gt;&gt; required<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; meta<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; data from both the bricks.<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; 1)<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; stat: cannot stat<br>
&gt; &gt;&gt;&gt; &#39;/mnt/c//public_html/cello/ior_files/nameroot.ior&#39;:<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; Input/output error<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; Remote:<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; getfattr -d -m . -e hex<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; opt/lvmdir/c2/brick/public_html/cello/ior_files/nameroot.ior<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; # file:<br>
&gt; &gt;&gt;&gt; opt/lvmdir/c2/brick/public_html/cello/ior_files/nameroot.ior<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; trusted.afr.dirty=0x000000000000000000000000<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; trusted.bit-rot.version=0x000000000000000256ded2f6000ad80f<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; trusted.gfid=0x771221a7bb3c4f1aade40ce9e38a95ee<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; Local:<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; getfattr -d -m . -e hex<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; opt/lvmdir/c2/brick/public_html/cello/ior_files/nameroot.ior<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; # file:<br>
&gt; &gt;&gt;&gt; opt/lvmdir/c2/brick/public_html/cello/ior_files/nameroot.ior<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; trusted.bit-rot.version=0x000000000000000256ded38f000e3a51<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; trusted.gfid=0x8ea33f46703c4e2d95c09153c1b858fd<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; 2)<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; stat: cannot stat &#39;/mnt/c//security/corbasecurity&#39;:<br>
&gt; &gt;&gt;&gt; Input/output<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; error<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; Remote:<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; getfattr -d -m . -e hex<br>
&gt; &gt;&gt;&gt; opt/lvmdir/c2/brick/security/corbasecurity<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; # file: opt/lvmdir/c2/brick/security/corbasecurity<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; trusted.afr.dirty=0x000000000000000000000000<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; trusted.bit-rot.version=0x000000000000000256ded2f6000ad80f<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; trusted.gfid=0xd298b7a0c8834f3e99abb39741363013<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; Local:<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; getfattr -d -m . -e hex<br>
&gt; &gt;&gt;&gt; opt/lvmdir/c2/brick/security/corbasecurity<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; # file: opt/lvmdir/c2/brick/security/corbasecurity<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; trusted.bit-rot.version=0x000000000000000256ded38f000e3a51<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; trusted.gfid=0x890df0f706184b52803fac3242a2f15b<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; I observed that getfattr command output doesn&#39;t show all the<br>
&gt; &gt;&gt;&gt; fields<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; all<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; the times.<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; Here you can check that gluster split-brain command hasn&#39;t<br>
&gt; &gt;&gt;&gt; reported<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; any<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; split-brains but resulted in IO errors when accessed few files.<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; Could you please tell me if &quot;split-brain&quot; command doesn&#39;t<br>
&gt; &gt;&gt;&gt; reported<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; any<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; entry as output, then is there any way through which we can<br>
&gt; &gt;&gt;&gt; find out<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; that<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; the files are in split-brain if we are getting the IO error on<br>
&gt; &gt;&gt;&gt; those<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; file.<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; Regards,<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; Abhishek<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt; On Thu, Mar 3, 2016 at 5:32 PM, Anuradha Talur &lt;<br>
&gt; &gt;&gt;&gt; <a href="mailto:atalur@redhat.com">atalur@redhat.com</a>&gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; wrote:<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; ----- Original Message -----<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; From: &quot;ABHISHEK PALIWAL&quot; &lt;<a href="mailto:abhishpaliwal@gmail.com">abhishpaliwal@gmail.com</a>&gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &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; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; Sent: Thursday, March 3, 2016 12:10:42 PM<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; Subject: [Gluster-users] gluster volume heal info split<br>
&gt; &gt;&gt;&gt; brain<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; command<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; not     showing files in split-brain<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; Hello,<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; In gluster, we use the command &quot;gluster volume heal<br>
&gt; &gt;&gt;&gt; c_glusterfs<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; info<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; split-brain&quot; to find the files that are in split-brain<br>
&gt; &gt;&gt;&gt; scenario.<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; We run heal script (developed by Windriver prime team) on<br>
&gt; &gt;&gt;&gt; the<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; files<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; reported<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; by above command to resolve split-brain issue.<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; But we observed that the above command is not showing all<br>
&gt; &gt;&gt;&gt; files<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; that<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; are in<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; split-brain,<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; even though split brain scenario actually exists on the<br>
&gt; &gt;&gt;&gt; node.<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; Now a days this issue is seen more often and IO errors are<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; reported<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; when<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; tried to access these files under split-brain.<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; Can you please check why this gluster command is not<br>
&gt; &gt;&gt;&gt; showing files<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; under<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; split-brain?<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; We can provide you required logs and support to resolve this<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; issue.<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; Hi,<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; Could you paste the output of getfattr -m. -de hex<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &lt;path-to-files-in-split-brain&gt; from all the bricks that the<br>
&gt; &gt;&gt;&gt; files<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; lie<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; in?<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; Please reply on this because I am not getting any reply<br>
&gt; &gt;&gt;&gt; from the<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; community.<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; --<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; Regards<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; Abhishek Paliwal<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; _______________________________________________<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; Gluster-users mailing list<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; &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>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; --<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; Thanks,<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt; Anuradha.<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; --<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; Thanks,<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt; Anuradha.<br>
&gt; &gt;&gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; --<br>
&gt; &gt;&gt;&gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; &gt; Regards<br>
&gt; &gt;&gt;&gt; &gt; &gt; Abhishek Paliwal<br>
&gt; &gt;&gt;&gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; --<br>
&gt; &gt;&gt;&gt; &gt; Thanks,<br>
&gt; &gt;&gt;&gt; &gt; Anuradha.<br>
&gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; --<br>
&gt; &gt;&gt;&gt; Thanks,<br>
&gt; &gt;&gt;&gt; Anuradha.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; --<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Regards<br>
&gt; &gt;&gt; Abhishek Paliwal<br>
&gt; &gt;&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Regards<br>
&gt; &gt; Abhishek Paliwal<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Regards<br>
&gt; Abhishek Paliwal<br>
&gt;<br>
<br>
</div></div><span class=""><font color="#888888">--<br>
Thanks,<br>
Anuradha.<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><br><br><br><br>Regards<br>
Abhishek Paliwal<br>
</div></div>
</div></div>