<div dir="ltr"><div><div>Did anything special happen on these two bricks? It can&#39;t happen in the I/O path:<br>posix_removexattr() has:<br>  0         if (!strcmp (GFID_XATTR_KEY, name)) {                                                                                                                                              <br>  1                 gf_msg (this-&gt;name, GF_LOG_WARNING, 0, P_MSG_XATTR_NOT_REMOVED,  <br>  2                         &quot;Remove xattr called on gfid for file %s&quot;, real_path);   <br>  3                 op_ret = -1;                                                     <br>  4                 goto out;                                                        <br>  5         }                                                                        <br>  6         if (!strcmp (GF_XATTR_VOL_ID_KEY, name)) {                               <br>  7                 gf_msg (this-&gt;name, GF_LOG_WARNING, 0, P_MSG_XATTR_NOT_REMOVED,  <br>  8                         &quot;Remove xattr called on volume-id for file %s&quot;,          <br>  9                         real_path);                                              <br> 10                 op_ret = -1;                                                     <br> 11                 goto out;                                                        <br> 12         }  <br><br></div>I just found that op_errno is not set correctly, but it can&#39;t happen in the I/O path, so self-heal/rebalance are off the hook.<br><br></div><div>I also grepped for any removexattr of trusted.gfid from glusterd and didn&#39;t find any.<br><br></div><div>So one thing that used to happen was that sometimes when machines reboot, the brick mounts wouldn&#39;t happen and this would lead to absence of both trusted.gfid and volume-id. So at the moment this is my wild guess.<br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 7, 2017 at 8:39 PM, Ankireddypalle Reddy <span dir="ltr">&lt;<a href="mailto:areddy@commvault.com" target="_blank">areddy@commvault.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 link="blue" vlink="purple" lang="EN-US">
<div class="m_5471498391887908807WordSection1">
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal">       We faced an issue in the production today. We had to stop the volume and reboot all the servers in the cluster.  Once the servers rebooted starting of the volume failed because the following extended attributes were not present on
 all the bricks on 2 servers.   <u></u><u></u></p>
<p class="m_5471498391887908807MsoListParagraph"><u></u><span>1)<span style="font:7.0pt &quot;Times New Roman&quot;">     
</span></span><u></u>trusted.gfid<u></u><u></u></p>
<p class="m_5471498391887908807MsoListParagraph"><u></u><span>2)<span style="font:7.0pt &quot;Times New Roman&quot;">     
</span></span><u></u>trusted.glusterfs.volume-id<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.25in"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:.25in">We had to manually set these extended attributes to start the volume.  Are there any such known issues.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks and Regards,<u></u><u></u></p>
<p class="MsoNormal">Ram   <u></u><u></u></p>
</div>
<div>***************************<wbr>Legal Disclaimer********************<wbr>*******<div>&quot;This communication may contain confidential and privileged material for the<div>sole use of the intended recipient. Any unauthorized review, use or distribution<div>by others is strictly prohibited. If you have received the message by mistake,<div>please advise the sender by reply email and delete the message. Thank you.&quot;<div>******************************<wbr>******************************<wbr>**********</div>

</div></div></div></div></div></div><br>______________________________<wbr>_________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">http://lists.gluster.org/<wbr>mailman/listinfo/gluster-devel</a><br></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>