<div dir="ltr">An ESTALE error usually means the gfid could not be found. Does repeating the "rm -rf" delete the directory?<div><br></div><div>Regards,</div><div>Nithya</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 3 January 2018 at 12:16, Jeevan Patnaik <span dir="ltr"><<a href="mailto:g1patnaik@gmail.com" target="_blank">g1patnaik@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Hi all,<div dir="auto"><br></div><div dir="auto">I haven't found any root cause or workaround for this yet. Can any one help me in underatanding the issue?</div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Jeevan.</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Dec 21, 2017 8:20 PM, "Jeevan Patnaik" <<a href="mailto:g1patnaik@gmail.com" target="_blank">g1patnaik@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:calibri,sans-serif"><span style="font-size:10pt;font-family:'segoe ui',sans-serif;color:rgb(0,32,96)">Hi,</span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:calibri,sans-serif"><span style="font-size:10pt;font-family:'segoe ui',sans-serif;color:rgb(0,32,96)"><br></span></p><p style="margin:0in 0in 0.0001pt"><font color="#002060" face="segoe ui, sans-serif"><span style="font-size:13.3333px">After running rm -rf on a directory, the files under it got deleted, but the directory was not deleted and was showing stale file handle error. After 18 minutes, I'm able to delete the directory. So could anyone help me in knowing what could have happened or when in general I get such errors.</span></font></p><p style="margin:0in 0in 0.0001pt"><font color="#002060" face="segoe ui, sans-serif"><span style="font-size:13.3333px"><br></span></font></p><p style="margin:0in 0in 0.0001pt"><font color="#002060" face="segoe ui, sans-serif"><span style="font-size:13.3333px">The following is NFS log:</span></font></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:calibri,sans-serif"><span style="font-size:10pt;font-family:'segoe ui',sans-serif;color:rgb(0,32,96)"><br></span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:calibri,sans-serif"><span style="font-size:10pt;font-family:'segoe ui',sans-serif;color:rgb(0,32,96)">[2017-12-21 13:56:01.592256] I [MSGID: 108019] [afr-transaction.c:1903:afr_po<wbr>st_blocking_entrylk_cbk] 0-g_sitework2-replicate-5: Blocking entrylks failed.</span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:calibri,sans-serif"><span style="font-size:10pt;font-family:'segoe ui',sans-serif;color:rgb(0,32,96)">[2017-12-21 13:56:01.594350] W [MSGID: 108019] [afr-lk-common.c:1064:afr_log_<wbr>entry_locks_failure] 0-g_sitework2-replicate-4: Unable to obtain sufficient blocking entry locks on at least one child while attempting RMDIR on {pgfid:23558c59-87e5-4e90-a610<wbr>-8a47ec08b27c, name:csrc}.</span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:calibri,sans-serif"><span style="font-size:10pt;font-family:'segoe ui',sans-serif;color:rgb(0,32,96)">[2017-12-21 13:56:01.594648] I [MSGID: 108019] [afr-transaction.c:1903:afr_po<wbr>st_blocking_entrylk_cbk] 0-g_sitework2-replicate-4: Blocking entrylks failed.</span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:calibri,sans-serif"><span style="font-size:10pt;font-family:'segoe ui',sans-serif;color:rgb(0,32,96)">[2017-12-21 13:56:01.594790] W [MSGID: 112032] [nfs3.c:3713:nfs3svc_rmdir_cbk<wbr>] 0-nfs: df521f4d: <gfid:23558c59-87e5-4e90-a610-<wbr>8a47ec08b27c>/csrc => -1 (Stale file handle) [Stale file handle]</span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:calibri,sans-serif"><span style="font-size:10pt;font-family:'segoe ui',sans-serif;color:rgb(0,32,96)">[2017-12-21 13:56:01.594816] W [MSGID: 112199] [nfs3-helpers.c:3414:nfs3_log_<wbr>common_res] 0-nfs-nfsv3: <gfid:23558c59-87e5-4e90-a610-<wbr>8a47ec08b27c>/csrc => (XID: df521f4d, RMDIR: NFS: 70(Invalid file handle), POSIX: 116(Stale file handle))</span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:calibri,sans-serif"><span style="font-size:10pt;font-family:'segoe ui',sans-serif;color:rgb(0,32,96)">[2017-12-21 13:56:01.590522] W [MSGID: 108019] [afr-lk-common.c:1064:afr_log_<wbr>entry_locks_failure] 0-g_sitework2-replicate-2: Unable to obtain sufficient blocking entry locks on at least one child while attempting RMDIR on {pgfid:23558c59-87e5-4e90-a610<wbr>-8a47ec08b27c, name:csrc}.</span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:calibri,sans-serif"><span style="font-size:10pt;font-family:'segoe ui',sans-serif;color:rgb(0,32,96)">[2017-12-21 13:56:01.590569] W [MSGID: 108019] [afr-lk-common.c:1064:afr_log_<wbr>entry_locks_failure] 0-g_sitework2-replicate-1: Unable to obtain sufficient blocking entry locks on at least one child while attempting RMDIR on {pgfid:23558c59-87e5-4e90-a610<wbr>-8a47ec08b27c, name:csrc}.</span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:calibri,sans-serif"><span style="font-size:10pt;font-family:'segoe ui',sans-serif;color:rgb(0,32,96)"><br></span></p><p style="margin:0in 0in 0.0001pt"><font color="#002060" face="segoe ui, sans-serif"><span style="font-size:13.3333px">Regards,</span></font></p><p style="margin:0in 0in 0.0001pt"><font color="#002060" face="segoe ui, sans-serif"><span style="font-size:13.3333px">Jeevan.</span></font></p></div>
</blockquote></div></div>
</div></div><br>______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br></blockquote></div><br></div>