Strahil Nikolov
2020-Mar-25 17:32 UTC
[Gluster-users] cannot remove empty directory on gluster file system
On March 25, 2020 3:32:59 PM GMT+02:00, Mauro Tridici <mauro.tridici at cmcc.it> wrote:>Dear All, > >some users tht use regularly our gluster file system are experiencing a >strange error during attempting to remove a empty directory. >All bricks are up and running, no perticular error has been detected, >but they are not able to remove it successfully. > >This is the error they are receiving: > >[athena-login2][/tier2/OPA/archive/GOFS]> rm -rf RECOVERY20190416/ >rm: cannot remove `RECOVERY20190416/GlobNative/20190505': Directory not >empty > >I tried to delete this directory from root user without success. >Do you have some suggestions to solve this issue? > >Thank you in advance. >Kind Regards, >MauroWhat do you have in 'RECOVERY20190416/GlobNative/20190505' ? Maybe you got an immutable bit (chattr +i) on any file/folder ? Best Regards, Sttrahil Nikolov
Mauro Tridici
2020-Mar-25 19:12 UTC
[Gluster-users] cannot remove empty directory on gluster file system
Hi Sttrahil, thank you for your answer. Directory is empty and no immutable bit has been assigned to it. [athena-login2][/tier2/OPA/archive/GOFS/RECOVERY20190416/GlobNative/20190505]> ls -la total 8 drwxr-xr-x 2 das oclab_prod 4096 Mar 25 10:02 . drwxr-xr-x 3 das oclab_prod 4096 Mar 25 10:02 .. Any other idea related this issue? Many thanks, Mauro> On 25 Mar 2020, at 18:32, Strahil Nikolov <hunter86_bg at yahoo.com> wrote: > > On March 25, 2020 3:32:59 PM GMT+02:00, Mauro Tridici <mauro.tridici at cmcc.it> wrote: >> Dear All, >> >> some users tht use regularly our gluster file system are experiencing a >> strange error during attempting to remove a empty directory. >> All bricks are up and running, no perticular error has been detected, >> but they are not able to remove it successfully. >> >> This is the error they are receiving: >> >> [athena-login2][/tier2/OPA/archive/GOFS]> rm -rf RECOVERY20190416/ >> rm: cannot remove `RECOVERY20190416/GlobNative/20190505': Directory not >> empty >> >> I tried to delete this directory from root user without success. >> Do you have some suggestions to solve this issue? >> >> Thank you in advance. >> Kind Regards, >> Mauro > > What do you have in 'RECOVERY20190416/GlobNative/20190505' ? > > Maybe you got an immutable bit (chattr +i) on any file/folder ? > > Best Regards, > Sttrahil Nikolov-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20200325/b5991d02/attachment.html>