<div dir="ltr"><div>Hey Jim,<br><br></div><div>Please let me know what I understood is correct or not.<br>You have 14,734 GFIDs in .glusterfs which are only on the brick which was up during the failure and it does not have any referenced file in that brick.<br></div><div>The down brick has the file  inside the brick path, but not the GFID hardlink in the .glusterfs folder.<br></div><div>Did I get it right?<br><br></div><div>Could you also give me these information as well?<br></div><div>1. What is the link count for those GFIDs in the up brick?<br></div><div>2. If the link count is 2 or more do you have a file path for those GFIDs in the up brick? (use the find command)<br></div><div>3. Do you have the GFID hardlink or you have the file in the down brick?<br></div><div><br></div><div>Let me explain how the things work.<br></div><div>When a file gets created from the mount, the file will be created inside the brick &amp; a hardlink to that file will be created inside the .glusterfs folder with its GFID.<br></div><div>So the link count for the file will be 2 (unless you create more hardlinks manually). So after the failure happened I guess you should have both the file &amp; hardlink in the up brick,<br></div><div>and when you do the lookup on the mount for that file, it should create the file &amp; the hardlink on the brick which was down.<br><br></div><div>Regards,<br></div><div>Karthik<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 24, 2017 at 10:29 PM, Jim Kinney <span dir="ltr">&lt;<a href="mailto:jim.kinney@gmail.com" target="_blank">jim.kinney@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>I have 14,734 GFIDS that are different. All the different ones are only on the brick that was live during the outage and concurrent file copy-in. The brick that was down at that time has no GFIDs that are not also on the up brick.</div><div><br></div><div>As the bricks are 10TB, the find is going to be a long running process. I&#39;m running several finds at once with gnu parallel but it will still take some time. Can&#39;t bring the up machine offline as it&#39;s in use. At least I have 24 cores to work with. </div><div><br></div><div>I&#39;ve only tested with one GFID but the file it referenced _IS_ on the down machine even though it has no GFID in the .glusterfs structure.</div><div><div class="h5"><div><br></div><div>On Tue, 2017-10-24 at 12:35 +0530, Karthik Subrahmanya wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex;border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hi Jim,<br><br>Can you check whether the same hardlinks are present on both the bricks &amp; both of them have the link count 2?<br></div>If the link count is 2 then  &quot;find &lt;brickpath&gt; -samefile &lt;brickpath/.glusterfs/&lt;first two
 bits of gfid&gt;/&lt;next 2 bits of gfid&gt;/&lt;full gfid&gt;&quot;<br></div></div></div>should give you the file path.<br><br></div>Regards,<br></div>Karthik<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 24, 2017 at 3:28 AM, Jim Kinney <span dir="ltr">&lt;<a href="mailto:jim.kinney@gmail.com" target="_blank">jim.kinney@gmail.com</a>&gt;</span> wrote:<br><blockquote type="cite" style="margin:0 0 0 .8ex;border-left:2px #729fcf solid;padding-left:1ex">




<div lang="EN-US"><div>I&#39;m not so lucky. ALL of mine show 2 links and none have the attr data that supplies the path to the original.</div><div><br></div><div>I have the inode from stat. Looking now to dig out the path/filename from  xfs_db on the specific inodes individually.</div><div><br></div><div>Is the hash of the filename or &lt;path&gt;/filename and if so relative to where? /, &lt;path from top of brick&gt;, ?</div><div><div class="m_27314535839607397h5"><div><br></div><div>On Mon, 2017-10-23 at 18:54 +0000, Matt Waymack wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex;border-left:2px #729fcf solid;padding-left:1ex">
<div class="m_27314535839607397m_-8984230724855213427WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">In my case I was able to delete the hard links in the .glusterfs folders of the bricks and it seems to have done the trick, thanks!<u></u><u></u></span></p>
<p class="MsoNormal"><a name="m_27314535839607397_m_-8984230724855213427__MailEndCompose"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></a></p>
<span></span>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> Karthik Subrahmanya [mailto:<a href="mailto:ksubrahm@redhat.com" target="_blank">ksubrahm@redhat.com</a>]
<br>
<b>Sent:</b> Monday, October 23, 2017 1:52 AM<br>
<b>To:</b> Jim Kinney &lt;<a href="mailto:jim.kinney@gmail.com" target="_blank">jim.kinney@gmail.com</a>&gt;; Matt Waymack &lt;<a href="mailto:mwaymack@nsgdv.com" target="_blank">mwaymack@nsgdv.com</a>&gt;<br>
<b>Cc:</b> gluster-users &lt;<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a>&gt;<br>
<b>Subject:</b> Re: [Gluster-users] gfid entries in volume heal info that do not heal<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Jim &amp; Matt,<u></u><u></u></p>
</div>
<p class="MsoNormal">Can you also check for the link count in the stat output of those hardlink entries in the .glusterfs folder on the bricks.<br>
If the link count is 1 on all the bricks for those entries, then they are orphaned entries and you can delete those hardlinks.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">To be on the safer side have a backup before deleting any of the entries.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Regards,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Karthik<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Fri, Oct 20, 2017 at 3:18 AM, Jim Kinney &lt;<a href="mailto:jim.kinney@gmail.com" target="_blank">jim.kinney@gmail.com</a>&gt; wrote:<u></u><u></u></p>
<blockquote type="cite" style="margin:0 0 0 .8ex;border-left:2px #729fcf solid;padding-left:1ex">
<div>
<div>
<p class="MsoNormal">I&#39;ve been following this particular thread as I have a similar issue (RAID6 array failed out with 3 dead drives at once while a 12 TB load was being copied into one mounted space - what a mess)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I have &gt;700K GFID entries that have no path data:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Example:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">getfattr -d -e hex -m . .glusterfs/00/00/0000a5ef-5af7<wbr>-401b-84b5-ff2a51c10421<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"># file: .glusterfs/00/00/0000a5ef-5af7<wbr>-401b-84b5-ff2a51c10421<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">security.selinux=0x73797374656<wbr>d5f753a6f626a6563745f723a756e6<wbr>c6162656c65645f743a733000<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">trusted.bit-rot.version=0x0200<wbr>00000000000059b1b316000270e7<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">trusted.gfid=0x0000a5ef5af7401<wbr>b84b5ff2a51c10421<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">[<a href="mailto:root@bmidata1" target="_blank">root@bmidata1</a> brick]# getfattr -d -n trusted.glusterfs.pathinfo -e hex -m . .glusterfs/00/00/0000a5ef-5af7<wbr>-401b-84b5-ff2a51c10421<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">.glusterfs/00/00/0000a5ef-5af7<wbr>-401b-84b5-ff2a51c10421: trusted.glusterfs.pathinfo: No such attribute<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I had to totally rebuild the dead RAID array and did a copy from the live one before activating gluster on the rebuilt system. I accidentally copied over the .glusterfs folder from the working side<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">(replica 2 only for now - adding arbiter node as soon as I can get this one cleaned up).
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I&#39;ve run the methods from &quot;<a href="http://docs.gluster.org/en/latest/Troubleshooting/gfid-to-path/" target="_blank">http://docs.gluster.org/en/la<wbr>test/Troubleshooting/gfid-to-<wbr>path/</a>&quot; with no results using random GFIDs. A full systemic
 run using the script from method 3 crashes with &quot;too many nested links&quot; error (or something similar).<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">When I run gluster volume heal volname info, I get 700K+ GFIDs. Oh. gluster 3.8.4 on Centos 7.3<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Should I just remove the contents of the .glusterfs folder on both and restart gluster and run a ls/stat on every file?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">When I run a heal, it no longer has a decreasing number of files to heal so that&#39;s an improvement over the last 2-3 weeks :-)<u></u><u></u></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">On Tue, 2017-10-17 at 14:34 +0000, Matt Waymack wrote:<u></u><u></u></p>
</div>
</div>
</div>
<blockquote type="cite" style="margin:0 0 0 .8ex;border-left:2px #729fcf solid;padding-left:1ex">
<div>
<div>
<pre>Attached is the heal log for the volume as well as the shd log. <u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<blockquote type="cite" style="margin:0 0 0 .8ex;border-left:2px #729fcf solid;padding-left:1ex">
<pre><u></u> <u></u></pre>
<blockquote type="cite" style="margin:0 0 0 .8ex;border-left:2px #729fcf solid;padding-left:1ex">
<pre><u></u> <u></u></pre>
<pre>Run these commands on all the bricks of the replica pair to get the attrs set on the backend.<u></u><u></u></pre>
</blockquote>
<pre><u></u> <u></u></pre>
</blockquote>
<pre><u></u> <u></u></pre>
<pre><u></u> <u></u></pre>
<pre>[root@tpc-cent-glus1-081017 ~]# getfattr -d -e hex -m . /exp/b1/gv0/.glusterfs/10/86/1<wbr>08694db-c039-4b7c-bd3d-ad6a15d<wbr>811a2<u></u><u></u></pre>
<pre>getfattr: Removing leading &#39;/&#39; from absolute path names<u></u><u></u></pre>
<pre># file: exp/b1/gv0/.glusterfs/10/86/10<wbr>8694db-c039-4b7c-bd3d-ad6a15d8<wbr>11a2<u></u><u></u></pre>
<pre>security.selinux=0x73797374656<wbr>d5f753a6f626a6563745f723a756e6<wbr>c6162656c65645f743a733000<u></u><u></u></pre>
<pre>trusted.afr.dirty=0x0000000000<wbr>00000000000000<u></u><u></u></pre>
<pre>trusted.afr.gv0-client-2=0x000<wbr>000000000000100000000<u></u><u></u></pre>
<pre>trusted.gfid=0x108694dbc0394b7<wbr>cbd3dad6a15d811a2<u></u><u></u></pre>
<pre>trusted.gfid2path.9a2f5ada22eb<wbr>9c45=0x38633262623330322d32346<wbr>6332d346463622d393630322d38393<wbr>56136396461363131662f435f564f4<wbr>c2d623030312d693637342d63642d6<wbr>3772e6d6435<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>[root@tpc-cent-glus2-081017 ~]# getfattr -d -e hex -m . /exp/b1/gv0/.glusterfs/10/86/1<wbr>08694db-c039-4b7c-bd3d-ad6a15d<wbr>811a2<u></u><u></u></pre>
<pre>getfattr: Removing leading &#39;/&#39; from absolute path names<u></u><u></u></pre>
<pre># file: exp/b1/gv0/.glusterfs/10/86/10<wbr>8694db-c039-4b7c-bd3d-ad6a15d8<wbr>11a2<u></u><u></u></pre>
<pre>security.selinux=0x73797374656<wbr>d5f753a6f626a6563745f723a756e6<wbr>c6162656c65645f743a733000<u></u><u></u></pre>
<pre>trusted.afr.dirty=0x0000000000<wbr>00000000000000<u></u><u></u></pre>
<pre>trusted.afr.gv0-client-2=0x000<wbr>000000000000100000000<u></u><u></u></pre>
<pre>trusted.gfid=0x108694dbc0394b7<wbr>cbd3dad6a15d811a2<u></u><u></u></pre>
<pre>trusted.gfid2path.9a2f5ada22eb<wbr>9c45=0x38633262623330322d32346<wbr>6332d346463622d393630322d38393<wbr>56136396461363131662f435f564f4<wbr>c2d623030312d693637342d63642d6<wbr>3772e6d6435<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>[root@tpc-arbiter1-100617 ~]# getfattr -d -e hex -m . /exp/b1/gv0/.glusterfs/10/86/1<wbr>08694db-c039-4b7c-bd3d-ad6a15d<wbr>811a2<u></u><u></u></pre>
<pre>getfattr: /exp/b1/gv0/.glusterfs/10/86/1<wbr>08694db-c039-4b7c-bd3d-ad6a15d<wbr>811a2: No such file or directory<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre><u></u> <u></u></pre>
<pre>[root@tpc-cent-glus1-081017 ~]# getfattr -d -e hex -m . /exp/b4/gv0/.glusterfs/e0/c5/e<wbr>0c56bf7-8bfe-46ca-bde1-e46b92d<wbr>33df3<u></u><u></u></pre>
<pre>getfattr: Removing leading &#39;/&#39; from absolute path names<u></u><u></u></pre>
<pre># file: exp/b4/gv0/.glusterfs/e0/c5/e0<wbr>c56bf7-8bfe-46ca-bde1-e46b92d3<wbr>3df3<u></u><u></u></pre>
<pre>security.selinux=0x73797374656<wbr>d5f753a6f626a6563745f723a756e6<wbr>c6162656c65645f743a733000<u></u><u></u></pre>
<pre>trusted.afr.dirty=0x0000000000<wbr>00000000000000<u></u><u></u></pre>
<pre>trusted.afr.gv0-client-11=0x00<wbr>0000000000000100000000<u></u><u></u></pre>
<pre>trusted.gfid=0xe0c56bf78bfe46c<wbr>abde1e46b92d33df3<u></u><u></u></pre>
<pre>trusted.gfid2path.be3ba24c3ef9<wbr>5ff2=0x63323366353834652d35356<wbr>6652d343033382d393131622d38663<wbr>73063656334616136662f435f564f4<wbr>c2d623030332d69313331342d63642<wbr>d636d2d63722e6d6435<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>[root@tpc-cent-glus2-081017 ~]# getfattr -d -e hex -m . /exp/b4/gv0/.glusterfs/e0/c5/e<wbr>0c56bf7-8bfe-46ca-bde1-e46b92d<wbr>33df3<u></u><u></u></pre>
<pre>getfattr: Removing leading &#39;/&#39; from absolute path names<u></u><u></u></pre>
<pre># file: exp/b4/gv0/.glusterfs/e0/c5/e0<wbr>c56bf7-8bfe-46ca-bde1-e46b92d3<wbr>3df3<u></u><u></u></pre>
<pre>security.selinux=0x73797374656<wbr>d5f753a6f626a6563745f723a756e6<wbr>c6162656c65645f743a733000<u></u><u></u></pre>
<pre>trusted.afr.dirty=0x0000000000<wbr>00000000000000<u></u><u></u></pre>
<pre>trusted.afr.gv0-client-11=0x00<wbr>0000000000000100000000<u></u><u></u></pre>
<pre>trusted.gfid=0xe0c56bf78bfe46c<wbr>abde1e46b92d33df3<u></u><u></u></pre>
<pre>trusted.gfid2path.be3ba24c3ef9<wbr>5ff2=0x63323366353834652d35356<wbr>6652d343033382d393131622d38663<wbr>73063656334616136662f435f564f4<wbr>c2d623030332d69313331342d63642<wbr>d636d2d63722e6d6435<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>[root@tpc-arbiter1-100617 ~]# getfattr -d -e hex -m . /exp/b4/gv0/.glusterfs/e0/c5/e<wbr>0c56bf7-8bfe-46ca-bde1-e46b92d<wbr>33df3<u></u><u></u></pre>
<pre>getfattr: /exp/b4/gv0/.glusterfs/e0/c5/e<wbr>0c56bf7-8bfe-46ca-bde1-e46b92d<wbr>33df3: No such file or directory<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<blockquote type="cite" style="margin:0 0 0 .8ex;border-left:2px #729fcf solid;padding-left:1ex">
<pre><u></u> <u></u></pre>
<blockquote type="cite" style="margin:0 0 0 .8ex;border-left:2px #729fcf solid;padding-left:1ex">
<pre><u></u> <u></u></pre>
<pre>And the output of &quot;gluster volume heal &lt;volname&gt; info split-brain&quot;<u></u><u></u></pre>
</blockquote>
<pre><u></u> <u></u></pre>
</blockquote>
<pre><u></u> <u></u></pre>
<pre><u></u> <u></u></pre>
<pre>[root@tpc-cent-glus1-081017 ~]# gluster volume heal gv0 info split-brain<u></u><u></u></pre>
<pre>Brick tpc-cent-glus1-081017:/exp/b1/<wbr>gv0<u></u><u></u></pre>
<pre>Status: Connected<u></u><u></u></pre>
<pre>Number of entries in split-brain: 0<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>Brick tpc-cent-glus2-081017:/exp/b1/<wbr>gv0<u></u><u></u></pre>
<pre>Status: Connected<u></u><u></u></pre>
<pre>Number of entries in split-brain: 0<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>Brick tpc-arbiter1-100617:/exp/b1/gv<wbr>0<u></u><u></u></pre>
<pre>Status: Connected<u></u><u></u></pre>
<pre>Number of entries in split-brain: 0<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>Brick tpc-cent-glus1-081017:/exp/b2/<wbr>gv0<u></u><u></u></pre>
<pre>Status: Connected<u></u><u></u></pre>
<pre>Number of entries in split-brain: 0<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>Brick tpc-cent-glus2-081017:/exp/b2/<wbr>gv0<u></u><u></u></pre>
<pre>Status: Connected<u></u><u></u></pre>
<pre>Number of entries in split-brain: 0<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>Brick tpc-arbiter1-100617:/exp/b2/gv<wbr>0<u></u><u></u></pre>
<pre>Status: Connected<u></u><u></u></pre>
<pre>Number of entries in split-brain: 0<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>Brick tpc-cent-glus1-081017:/exp/b3/<wbr>gv0<u></u><u></u></pre>
<pre>Status: Connected<u></u><u></u></pre>
<pre>Number of entries in split-brain: 0<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>Brick tpc-cent-glus2-081017:/exp/b3/<wbr>gv0<u></u><u></u></pre>
<pre>Status: Connected<u></u><u></u></pre>
<pre>Number of entries in split-brain: 0<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>Brick tpc-arbiter1-100617:/exp/b3/gv<wbr>0<u></u><u></u></pre>
<pre>Status: Connected<u></u><u></u></pre>
<pre>Number of entries in split-brain: 0<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>Brick tpc-cent-glus1-081017:/exp/b4/<wbr>gv0<u></u><u></u></pre>
<pre>Status: Connected<u></u><u></u></pre>
<pre>Number of entries in split-brain: 0<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>Brick tpc-cent-glus2-081017:/exp/b4/<wbr>gv0<u></u><u></u></pre>
<pre>Status: Connected<u></u><u></u></pre>
<pre>Number of entries in split-brain: 0<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>Brick tpc-arbiter1-100617:/exp/b4/gv<wbr>0<u></u><u></u></pre>
<pre>Status: Connected<u></u><u></u></pre>
<pre>Number of entries in split-brain: 0<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>-Matt<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>From: Karthik Subrahmanya [<a href="mailto:ksubrahm@redhat.com" target="_blank">mailto:ksubrahm@redhat.com</a>] <u></u><u></u></pre>
<pre>Sent: Tuesday, October 17, 2017 1:26 AM<u></u><u></u></pre>
<pre>To: Matt Waymack &lt;<a href="mailto:mwaymack@nsgdv.com" target="_blank">mwaymack@nsgdv.com</a>&gt;<u></u><u></u></pre>
<pre>Cc: gluster-users &lt;<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a>&gt;<u></u><u></u></pre>
<pre>Subject: Re: [Gluster-users] gfid entries in volume heal info that do not heal<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>Hi Matt,<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>Run these commands on all the bricks of the replica pair to get the attrs set on the backend.<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>On the bricks of first replica set:<u></u><u></u></pre>
<pre>getfattr -d -e hex -m . &lt;brick path&gt;/.glusterfs/10/86/108694d<wbr>b-c039-4b7c-bd3d-ad6a15d811a2<u></u><u></u></pre>
<pre>On the fourth replica set:<u></u><u></u></pre>
<pre>getfattr -d -e hex -m . &lt;brick path&gt;/.glusterfs/e0/c5/e0c56bf<wbr>7-8bfe-46ca-bde1-e46b92d33df3<u></u><u></u></pre>
<pre>Also run the &quot;gluster volume heal &lt;volname&gt;&quot; once and send the shd log.<u></u><u></u></pre>
<pre>And the output of &quot;gluster volume heal &lt;volname&gt; info split-brain&quot;<u></u><u></u></pre>
<pre>Regards,<u></u><u></u></pre>
<pre>Karthik<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>On Mon, Oct 16, 2017 at 9:51 PM, Matt Waymack &lt;<a href="mailto:mwaymack@nsgdv.com" target="_blank">mailto:mwaymack@nsgdv.com</a>&gt; wrote:<u></u><u></u></pre>
<pre>OK, so here’s my output of the volume info and the heal info. I have not yet tracked down physical location of these files, any tips to finding them would be appreciated, but I’m definitely just wanting them gone.  I forgot to mention earlier that the cluster is running 3.12 and was upgraded from 3.10; these files were likely stuck like this when it was on 3.10.<u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre>[root@tpc-cent-glus1-081017 ~]# gluster volume info gv0<u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre>Volume Name: gv0<u></u><u></u></pre>
<pre>Type: Distributed-Replicate<u></u><u></u></pre>
<pre>Volume ID: 8f07894d-e3ab-4a65-bda1-9d9dd4<wbr>6db007<u></u><u></u></pre>
<pre>Status: Started<u></u><u></u></pre>
<pre>Snapshot Count: 0<u></u><u></u></pre>
<pre>Number of Bricks: 4 x (2 + 1) = 12<u></u><u></u></pre>
<pre>Transport-type: tcp<u></u><u></u></pre>
<pre>Bricks:<u></u><u></u></pre>
<pre>Brick1: tpc-cent-glus1-081017:/exp/b1/<wbr>gv0<u></u><u></u></pre>
<pre>Brick2: tpc-cent-glus2-081017:/exp/b1/<wbr>gv0<u></u><u></u></pre>
<pre>Brick3: tpc-arbiter1-100617:/exp/b1/gv<wbr>0 (arbiter)<u></u><u></u></pre>
<pre>Brick4: tpc-cent-glus1-081017:/exp/b2/<wbr>gv0<u></u><u></u></pre>
<pre>Brick5: tpc-cent-glus2-081017:/exp/b2/<wbr>gv0<u></u><u></u></pre>
<pre>Brick6: tpc-arbiter1-100617:/exp/b2/gv<wbr>0 (arbiter)<u></u><u></u></pre>
<pre>Brick7: tpc-cent-glus1-081017:/exp/b3/<wbr>gv0<u></u><u></u></pre>
<pre>Brick8: tpc-cent-glus2-081017:/exp/b3/<wbr>gv0<u></u><u></u></pre>
<pre>Brick9: tpc-arbiter1-100617:/exp/b3/gv<wbr>0 (arbiter)<u></u><u></u></pre>
<pre>Brick10: tpc-cent-glus1-081017:/exp/b4/<wbr>gv0<u></u><u></u></pre>
<pre>Brick11: tpc-cent-glus2-081017:/exp/b4/<wbr>gv0<u></u><u></u></pre>
<pre>Brick12: tpc-arbiter1-100617:/exp/b4/gv<wbr>0 (arbiter)<u></u><u></u></pre>
<pre>Options Reconfigured:<u></u><u></u></pre>
<pre>nfs.disable: on<u></u><u></u></pre>
<pre>transport.address-family: inet<u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre>[root@tpc-cent-glus1-081017 ~]# gluster volume heal gv0 info<u></u><u></u></pre>
<pre>Brick tpc-cent-glus1-081017:/exp/b1/<wbr>gv0<u></u><u></u></pre>
<pre>&lt;gfid:108694db-c039-4b7c-bd3d-<wbr>ad6a15d811a2&gt;<u></u><u></u></pre>
<pre>&lt;gfid:6d5ade20-8996-4de2-95d5-<wbr>20ef98004742&gt;<u></u><u></u></pre>
<pre>&lt;gfid:bc6cdc3d-5c46-4597-a7eb-<wbr>282b21e9bdd5&gt;<u></u><u></u></pre>
<pre>&lt;gfid:3c2ff4d1-3662-4214-8f21-<wbr>f8f47dbdbf06&gt;<u></u><u></u></pre>
<pre>&lt;gfid:053e2fb1-bc89-476e-a529-<wbr>90dffa39963c&gt;<u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre>&lt;removed to save scrolling&gt;<u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre>Status: Connected<u></u><u></u></pre>
<pre>Number of entries: 118<u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre>Brick tpc-cent-glus2-081017:/exp/b1/<wbr>gv0<u></u><u></u></pre>
<pre>&lt;gfid:108694db-c039-4b7c-bd3d-<wbr>ad6a15d811a2&gt;<u></u><u></u></pre>
<pre>&lt;gfid:6d5ade20-8996-4de2-95d5-<wbr>20ef98004742&gt;<u></u><u></u></pre>
<pre>&lt;gfid:bc6cdc3d-5c46-4597-a7eb-<wbr>282b21e9bdd5&gt;<u></u><u></u></pre>
<pre>&lt;gfid:3c2ff4d1-3662-4214-8f21-<wbr>f8f47dbdbf06&gt;<u></u><u></u></pre>
<pre>&lt;gfid:053e2fb1-bc89-476e-a529-<wbr>90dffa39963c&gt;<u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre>&lt;removed to save scrolling&gt;<u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre>Status: Connected<u></u><u></u></pre>
<pre>Number of entries: 118<u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre>Brick tpc-arbiter1-100617:/exp/b1/gv<wbr>0<u></u><u></u></pre>
<pre>Status: Connected<u></u><u></u></pre>
<pre>Number of entries: 0<u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre>Brick tpc-cent-glus1-081017:/exp/b2/<wbr>gv0<u></u><u></u></pre>
<pre>Status: Connected<u></u><u></u></pre>
<pre>Number of entries: 0<u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre>Brick tpc-cent-glus2-081017:/exp/b2/<wbr>gv0<u></u><u></u></pre>
<pre>Status: Connected<u></u><u></u></pre>
<pre>Number of entries: 0<u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre>Brick tpc-arbiter1-100617:/exp/b2/gv<wbr>0<u></u><u></u></pre>
<pre>Status: Connected<u></u><u></u></pre>
<pre>Number of entries: 0<u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre>Brick tpc-cent-glus1-081017:/exp/b3/<wbr>gv0<u></u><u></u></pre>
<pre>Status: Connected<u></u><u></u></pre>
<pre>Number of entries: 0<u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre>Brick tpc-cent-glus2-081017:/exp/b3/<wbr>gv0<u></u><u></u></pre>
<pre>Status: Connected<u></u><u></u></pre>
<pre>Number of entries: 0<u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre>Brick tpc-arbiter1-100617:/exp/b3/gv<wbr>0<u></u><u></u></pre>
<pre>Status: Connected<u></u><u></u></pre>
<pre>Number of entries: 0<u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre>Brick tpc-cent-glus1-081017:/exp/b4/<wbr>gv0<u></u><u></u></pre>
<pre>&lt;gfid:e0c56bf7-8bfe-46ca-bde1-<wbr>e46b92d33df3&gt;<u></u><u></u></pre>
<pre>&lt;gfid:6f0a0549-8669-46de-8823-<wbr>d6677fdca8e3&gt;<u></u><u></u></pre>
<pre>&lt;gfid:d0e2fb2a-21b5-4ea8-a578-<wbr>0801280b2530&gt;<u></u><u></u></pre>
<pre>&lt;gfid:48bff79c-7bc2-4dc5-8b7f-<wbr>4401b27fdf5a&gt;<u></u><u></u></pre>
<pre>&lt;gfid:5902593d-a059-4ec7-b18b-<wbr>7a2ab5c49a50&gt;<u></u><u></u></pre>
<pre>&lt;gfid:cb821178-4621-4fcf-90f3-<wbr>5b5c2ad7f756&gt;<u></u><u></u></pre>
<pre>&lt;gfid:6aea0805-8dd1-437c-b922-<wbr>52c9d11e488a&gt;<u></u><u></u></pre>
<pre>&lt;gfid:f4076a37-2e2f-4d7a-90dd-<wbr>0a3560a4bdff&gt;<u></u><u></u></pre>
<pre>&lt;gfid:51ff7386-a550-4971-957c-<wbr>b42c4d915e9f&gt;<u></u><u></u></pre>
<pre>&lt;gfid:4309f7b8-3a9d-4bc8-ba2b-<wbr>799f8a02611b&gt;<u></u><u></u></pre>
<pre>&lt;gfid:b76746ec-6d7d-4ea3-a001-<wbr>c96672a4d47e&gt;<u></u><u></u></pre>
<pre>&lt;gfid:f8de26e7-d17d-41e0-adcd-<wbr>e7d24ed74ac8&gt;<u></u><u></u></pre>
<pre>&lt;gfid:8e2c4540-e0b4-4006-bb5d-<wbr>aacd57f8f21b&gt;<u></u><u></u></pre>
<pre>&lt;gfid:183ebefb-b827-4cbc-b42b-<wbr>bfd136d5cabb&gt;<u></u><u></u></pre>
<pre>&lt;gfid:88d492fe-bfbd-4463-ba55-<wbr>0582d0ad671b&gt;<u></u><u></u></pre>
<pre>&lt;gfid:e3a6c068-d48b-44b5-9480-<wbr>245a69648a9b&gt;<u></u><u></u></pre>
<pre>&lt;gfid:4aab9c6a-22d2-469a-a688-<wbr>7b0a8784f4b1&gt;<u></u><u></u></pre>
<pre>&lt;gfid:c6d182f2-7e46-4502-a0d2-<wbr>b92824caa4de&gt;<u></u><u></u></pre>
<pre>&lt;gfid:eb546f93-e9d6-4a59-ac35-<wbr>6139b5c40919&gt;<u></u><u></u></pre>
<pre>&lt;gfid:6043e381-7edf-4569-bc37-<wbr>e27dd13549d2&gt;<u></u><u></u></pre>
<pre>&lt;gfid:52090dc7-7a3c-40f9-9c54-<wbr>3395f5158eab&gt;<u></u><u></u></pre>
<pre>&lt;gfid:ecceee46-4310-421e-b56e-<wbr>5fe46bd5263c&gt;<u></u><u></u></pre>
<pre>&lt;gfid:354aea57-4b40-47fc-8ede-<wbr>1d7e3b7501b4&gt;<u></u><u></u></pre>
<pre>&lt;gfid:d43284d4-86aa-42ff-98b8-<wbr>f6340b407d9d&gt;<u></u><u></u></pre>
<pre>Status: Connected<u></u><u></u></pre>
<pre>Number of entries: 24<u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre>Brick tpc-cent-glus2-081017:/exp/b4/<wbr>gv0<u></u><u></u></pre>
<pre>&lt;gfid:e0c56bf7-8bfe-46ca-bde1-<wbr>e46b92d33df3&gt;<u></u><u></u></pre>
<pre>&lt;gfid:6f0a0549-8669-46de-8823-<wbr>d6677fdca8e3&gt;<u></u><u></u></pre>
<pre>&lt;gfid:d0e2fb2a-21b5-4ea8-a578-<wbr>0801280b2530&gt;<u></u><u></u></pre>
<pre>&lt;gfid:48bff79c-7bc2-4dc5-8b7f-<wbr>4401b27fdf5a&gt;<u></u><u></u></pre>
<pre>&lt;gfid:5902593d-a059-4ec7-b18b-<wbr>7a2ab5c49a50&gt;<u></u><u></u></pre>
<pre>&lt;gfid:cb821178-4621-4fcf-90f3-<wbr>5b5c2ad7f756&gt;<u></u><u></u></pre>
<pre>&lt;gfid:6aea0805-8dd1-437c-b922-<wbr>52c9d11e488a&gt;<u></u><u></u></pre>
<pre>&lt;gfid:f4076a37-2e2f-4d7a-90dd-<wbr>0a3560a4bdff&gt;<u></u><u></u></pre>
<pre>&lt;gfid:51ff7386-a550-4971-957c-<wbr>b42c4d915e9f&gt;<u></u><u></u></pre>
<pre>&lt;gfid:4309f7b8-3a9d-4bc8-ba2b-<wbr>799f8a02611b&gt;<u></u><u></u></pre>
<pre>&lt;gfid:b76746ec-6d7d-4ea3-a001-<wbr>c96672a4d47e&gt;<u></u><u></u></pre>
<pre>&lt;gfid:f8de26e7-d17d-41e0-adcd-<wbr>e7d24ed74ac8&gt;<u></u><u></u></pre>
<pre>&lt;gfid:8e2c4540-e0b4-4006-bb5d-<wbr>aacd57f8f21b&gt;<u></u><u></u></pre>
<pre>&lt;gfid:183ebefb-b827-4cbc-b42b-<wbr>bfd136d5cabb&gt;<u></u><u></u></pre>
<pre>&lt;gfid:88d492fe-bfbd-4463-ba55-<wbr>0582d0ad671b&gt;<u></u><u></u></pre>
<pre>&lt;gfid:e3a6c068-d48b-44b5-9480-<wbr>245a69648a9b&gt;<u></u><u></u></pre>
<pre>&lt;gfid:4aab9c6a-22d2-469a-a688-<wbr>7b0a8784f4b1&gt;<u></u><u></u></pre>
<pre>&lt;gfid:c6d182f2-7e46-4502-a0d2-<wbr>b92824caa4de&gt;<u></u><u></u></pre>
<pre>&lt;gfid:eb546f93-e9d6-4a59-ac35-<wbr>6139b5c40919&gt;<u></u><u></u></pre>
<pre>&lt;gfid:6043e381-7edf-4569-bc37-<wbr>e27dd13549d2&gt;<u></u><u></u></pre>
<pre>&lt;gfid:52090dc7-7a3c-40f9-9c54-<wbr>3395f5158eab&gt;<u></u><u></u></pre>
<pre>&lt;gfid:ecceee46-4310-421e-b56e-<wbr>5fe46bd5263c&gt;<u></u><u></u></pre>
<pre>&lt;gfid:354aea57-4b40-47fc-8ede-<wbr>1d7e3b7501b4&gt;<u></u><u></u></pre>
<pre>&lt;gfid:d43284d4-86aa-42ff-98b8-<wbr>f6340b407d9d&gt;<u></u><u></u></pre>
<pre>Status: Connected<u></u><u></u></pre>
<pre>Number of entries: 24<u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre>Brick tpc-arbiter1-100617:/exp/b4/gv<wbr>0<u></u><u></u></pre>
<pre>Status: Connected<u></u><u></u></pre>
<pre>Number of entries: 0<u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre>Thank you for your help!<u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre>From: Karthik Subrahmanya [<a href="mailto:mailto:ksubrahm@redhat.com" target="_blank">mailto:mailto:ksubrahm@redhat<wbr>.com</a>] <u></u><u></u></pre>
<pre>Sent: Monday, October 16, 2017 10:27 AM<u></u><u></u></pre>
<pre>To: Matt Waymack &lt;<a href="mailto:mwaymack@nsgdv.com" target="_blank">mailto:mwaymack@nsgdv.com</a>&gt;<u></u><u></u></pre>
<pre>Cc: gluster-users &lt;<a href="mailto:Gluster-users@gluster.org" target="_blank">mailto:Gluster-users@gluster.<wbr>org</a>&gt;<u></u><u></u></pre>
<pre>Subject: Re: [Gluster-users] gfid entries in volume heal info that do not heal<u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre>Hi Matt, <u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre>The files might be in split brain. Could you please send the outputs of these? <u></u><u></u></pre>
<pre>gluster volume info &lt;volname&gt;<u></u><u></u></pre>
<pre>gluster volume heal &lt;volname&gt; info<u></u><u></u></pre>
<pre>And also the getfattr output of the files which are in the heal info output from all the bricks of that replica pair.<u></u><u></u></pre>
<pre>getfattr -d -e hex -m . &lt;file path on brick&gt;<u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre>Thanks &amp;  Regards<u></u><u></u></pre>
<pre>Karthik<u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre>On 16-Oct-2017 8:16 PM, &quot;Matt Waymack&quot; &lt;<a href="mailto:mwaymack@nsgdv.com" target="_blank">mailto:mwaymack@nsgdv.com</a>&gt; wrote:<u></u><u></u></pre>
<pre>Hi all,<u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre>I have a volume where the output of volume heal info shows several gfid entries to be healed, but they’ve been there for weeks and have not healed.  Any normal file that shows up on the heal info does get healed as expected, but these gfid entries do not.  Is there any way to remove these orphaned entries from the volume so they are no longer stuck in the heal process?<u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre>Thank you!<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>______________________________<wbr>_________________<u></u><u></u></pre>
<pre>Gluster-users mailing list<u></u><u></u></pre>
<pre><a href="mailto:Gluster-users@gluster.org" target="_blank">mailto:Gluster-users@gluster.o<wbr>rg</a><u></u><u></u></pre>
<pre><a href="http://lists.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://lists.gluster.org/mailm<wbr>an/listinfo/gluster-users</a><u></u><u></u></pre>
<pre> <u></u><u></u></pre>
<pre><u></u> <u></u></pre>
</div>
</div>
<pre>______________________________<wbr>_________________<u></u><u></u></pre>
<pre>Gluster-users mailing list<u></u><u></u></pre>
<pre><a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><u></u><u></u></pre>
<pre><a href="http://lists.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://lists.gluster.org/mailm<wbr>an/listinfo/gluster-users</a><u></u><u></u></pre>
</blockquote>
</div>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>


</blockquote></div></div></div></blockquote></div><br></div>
</blockquote></div></div></div></blockquote></div><br></div>