<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 22, 2016 at 12:51 PM, Ravishankar N <span dir="ltr">&lt;<a href="mailto:ravishankar@redhat.com" target="_blank">ravishankar@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 09/22/2016 12:38 PM, Pasi Kärkkäinen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thu, Sep 22, 2016 at 09:58:25AM +0530, Ravishankar N wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 09/21/2016 10:54 PM, Pasi Kärkkäinen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Let&#39;s see.<br>
<br>
# getfattr -m . -d -e hex /bricks/vol1/brick1/foo<br>
getfattr: Removing leading &#39;/&#39; from absolute path names<br>
# file: bricks/vol1/brick1/foo<br>
security.selinux=0x756e636f6e6<wbr>6696e65645f753a6f626a6563745f7<wbr>23a756e6c6162656c65645f743a733<wbr>000<br>
<br>
So hmm.. no trusted.gfid it seems.. is that perhaps because this node was down when the file was created?<br>
</blockquote>
No, even if that were the case, the gfid should have been set while<br>
healing the file to this node.<br>
Can you try doing a setfattr -n trusted.gfid -v<br>
0xc1ca778ed2af4828b981171c0c5b<wbr>d45e on the file. and launch heal<br>
again?<br>
What about the .glusterfs hardlink- does that exist?<br>
<br>
</blockquote>
It seems there&#39;s no hardlink.. nothing in /bricks/vol1/brick1/.glusterfs<wbr>/c1/ca/ directory.<br>
<br>
Now I manually set the trusted.gfid value on the file, and launched heal again,<br>
and now gluster was able to heal it OK! Healing is now fully complete, and no out-of-sync files anymore.<br>
<br>
Any idea what caused the missing trusted.gfid ?<br></blockquote></span></blockquote><div><br></div><div>Do you want to raise a bug for this? We would love to if you don&#39;t have the time to make sure we address this.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></span>
A create FOP is a multi step process on the bricks.<br>
1.creating the file on the actual path<br>
2. Setting the gluster xattrs including gfid xattr<br>
3. Creating the link file inside .glusterfs<br>
<br>
I&#39;m guessing your brick went down after step 1 for the files in question.  Check the brick logs to check for such messages. If the brick was still up, check if there are logs for failures related to performing 2 and 3.<br>
<br>
By the way, if everything healed successfully, check that the .glusterfs hardlink  is now present.<br>
<br>
-Ravi<div class="HOEnZb"><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
Thanks a lot!<br>
<br>
-- Pasi<br>
<br>
</blockquote>
<br>
______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman<wbr>/listinfo/gluster-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Pranith<br></div></div>
</div></div>