<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Dear Mauro, <br>
</p>
<p>I also faced this issue several times, even on a host with single
brick and single volume.</p>
<p><br>
</p>
<p>The solution for me was: I figured out the leftover file-names
and directory-names in the brick directory.</p>
<p>Let's suppose the file name is hiddenFile and hiddenDirectory.
Afterwards, go to <br>
</p>
<p>the corresponding path on mount directory which is related to
your issue and try to remove the file and directory, i.e.:</p>
<p>cd <span style="font-variant-ligatures: no-common-ligatures"
class="">RECOVERY20190416/GlobNative/20190505/</span></p>
<p><span style="font-variant-ligatures: no-common-ligatures"
class="">rm hiddenFile</span></p>
<p><span style="font-variant-ligatures: no-common-ligatures"
class="">rm -r hiddenDirectory</span></p>
<p><span style="font-variant-ligatures: no-common-ligatures"
class=""><br>
</span></p>
<p><span style="font-variant-ligatures: no-common-ligatures"
class="">I would be interested if this procedure is also working
for you.</span></p>
<p><span style="font-variant-ligatures: no-common-ligatures"
class="">Regards,</span></p>
<p><span style="font-variant-ligatures: no-common-ligatures"
class="">Felix</span></p>
<p><span style="font-variant-ligatures: no-common-ligatures"
class=""><br>
</span></p>
<div class="moz-cite-prefix">On 25/03/2020 21:55, Mauro Tridici
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:12D0F7AC-D2FF-4F04-A8AC-C43F1353FD37@cmcc.it">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Hi Strahil,
<div class=""><br class="">
</div>
<div class="">unfortunately, no process is holding file or
directory.</div>
<div class="">Do you know if some other community user could help
me?</div>
<div class=""><br class="">
</div>
<div class="">Thank you,</div>
<div class="">Mauro</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 25 Mar 2020, at 21:08, Strahil Nikolov <<a
href="mailto:hunter86_bg@yahoo.com" class=""
moz-do-not-send="true">hunter86_bg@yahoo.com</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">You can also check if there is a process
holding a file that was deleted there:<br class="">
lsof /tier2/OPA/archive/GOFS/RECOVERY20190416/GlobNative/20190505<br
class="">
<br class="">
If it's not that one , I'm out of ideas :)<br class="">
<br class="">
It's not recommended to delete it from the bricks , so
avoid that if possible.<br class="">
<br class="">
Best Regards,<br class="">
Strahil Nikolov<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
В сряда, 25 март 2020 г., 21:12:58 Гринуич+2, Mauro
Tridici <<a href="mailto:mauro.tridici@cmcc.it"
class="" moz-do-not-send="true">mauro.tridici@cmcc.it</a>>
написа: <br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
Hi Sttrahil,<br class="">
<br class="">
thank you for your answer.<br class="">
Directory is empty and no immutable bit has been
assigned to it.<br class="">
<br class="">
[athena-login2][/tier2/OPA/archive/GOFS/RECOVERY20190416/GlobNative/20190505]>
ls -la<br class="">
total 8<br class="">
drwxr-xr-x 2 das oclab_prod 4096 Mar 25 10:02 .<br
class="">
drwxr-xr-x 3 das oclab_prod 4096 Mar 25 10:02 ..<br
class="">
<br class="">
Any other idea related this issue?<br class="">
Many thanks,<br class="">
Mauro<br class="">
<br class="">
<br class="">
<blockquote type="cite" class="">On 25 Mar 2020, at
18:32, Strahil Nikolov <<a
href="mailto:hunter86_bg@yahoo.com" class=""
moz-do-not-send="true">hunter86_bg@yahoo.com</a>>
wrote:<br class="">
<br class="">
On March 25, 2020 3:32:59 PM GMT+02:00, Mauro Tridici
<<a href="mailto:mauro.tridici@cmcc.it" class=""
moz-do-not-send="true">mauro.tridici@cmcc.it</a>>
wrote:<br class="">
<blockquote type="cite" class="">Dear All,<br class="">
<br class="">
some users tht use regularly our gluster file system
are experiencing a<br class="">
strange error during attempting to remove a empty
directory.<br class="">
All bricks are up and running, no perticular error
has been detected,<br class="">
but they are not able to remove it successfully.<br
class="">
<br class="">
This is the error they are receiving:<br class="">
<br class="">
[athena-login2][/tier2/OPA/archive/GOFS]> rm -rf
RECOVERY20190416/<br class="">
rm: cannot remove
`RECOVERY20190416/GlobNative/20190505': Directory
not<br class="">
empty<br class="">
<br class="">
I tried to delete this directory from root user
without success.<br class="">
Do you have some suggestions to solve this issue?<br
class="">
<br class="">
Thank you in advance.<br class="">
Kind Regards,<br class="">
Mauro<br class="">
</blockquote>
<br class="">
What do you have in
'RECOVERY20190416/GlobNative/20190505' ?<br class="">
<br class="">
Maybe you got an immutable bit (chattr +i) on any
file/folder ?<br class="">
<br class="">
Best Regards,<br class="">
Sttrahil Nikolov<br class="">
</blockquote>
<br class="">
<br class="">
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
<div class="">
<div dir="auto" style="word-wrap: break-word;
-webkit-nbsp-mode: space; line-break: after-white-space;"
class="">
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
font-family: Helvetica; font-size: 12px; font-style:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; text-align: start; text-indent:
0px; text-transform: none; white-space: normal;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
text-decoration: none;"><br class="">
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">________
Community Meeting Calendar:
Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: <a class="moz-txt-link-freetext" href="https://bluejeans.com/441850968">https://bluejeans.com/441850968</a>
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="https://lists.gluster.org/mailman/listinfo/gluster-users">https://lists.gluster.org/mailman/listinfo/gluster-users</a>
</pre>
</blockquote>
</body>
</html>