Mauro Tridici
2020-Mar-25 13:32 UTC
[Gluster-users] cannot remove empty directory on gluster file system
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20200325/ce9ce9a8/attachment.html>
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