Description of problem: ====================== Delete operations are failing with "Directory not empty" message. here is the output : [root@rhs-client32 files]# rm -rf dir.1 rm: cannot remove `dir.1': Directory not empty [root@rhs-client32 files]# ls dir.1 | wc -l 160 [root@rhs-client32 files]# cd dir.1 [root@rhs-client32 dir.1]# rm -rf * [root@rhs-client32 dir.1]# ls | wc -l 160 [root@rhs-client32 dir.1]# [root@rhs-client29 files]# rm -rf dir.2 rm: cannot remove `dir.2': Directory not empty [root@rhs-client29 files]# ls dir.2 | wc -l 162 [root@rhs-client29 files]# cd dir.2 [root@rhs-client29 dir.2]# rm -rf * [root@rhs-client29 dir.2]# ls | wc -l 162 [root@rhs-client29 dir.2]# Version-Release number of selected component (if applicable): ============================================================= [root@transformers ~]# gluster --version glusterfs 3.7.1 built on Jun 18 2015 12:26:09 Repository revision: git://git.gluster.com/glusterfs.git Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com> GlusterFS comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GlusterFS under the terms of the GNU General Public License. [root@transformers ~]# How reproducible: ================= Seen once Steps to Reproduce: =================== Create huge number of files and directories in around 100000 replacing one of the brick. Trigger full heal and once the IO is complete. Delete the contents from the mount. Actual results: =============== Directory not empty and delete operations fail Expected results: Additional info: -=============== Attaching the sosreport of the client
I tested this bug for 3.7.1-7 and it is working fine. No "directory is not empty" message on mount point during "rm -rf *" Moving it to fixed state