[Bugs] [Bug 1414608] New: Weird directory appear when rmdir the directory in disk full condition

bugzilla at redhat.com bugzilla at redhat.com
Thu Jan 19 01:52:53 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1414608

            Bug ID: 1414608
           Summary: Weird directory appear when rmdir the directory in
                    disk full condition
           Product: GlusterFS
           Version: mainline
         Component: core
          Severity: high
          Assignee: bugs at gluster.org
          Reporter: george.lian at nokia.com
                CC: bugs at gluster.org



Description of problem:
Weird directory appear when rmdir the directory in disk full condition,
when rmdir the directory, the directory can't be deleted completely, and could
enter the directory, but any FOP on this directory will prompt "No such file or
directory", such like the below output
-----------------------------------------------------
#touch xxx
touch: cannot touch ‘xxx’: No such file or directory
-----------------------------------------------------

Version-Release number of selected component (if applicable):


How reproducible:
enter an mountpoint with glusterfs, lets say:/mnt/gluster/

Steps to Reproduce:
1. open a terminal :mkdir /mnt/gluster/test
2. use a shell script to create more small file with size 100byte until disk is
full
3. open a new terminal, and enter /mnt/gluster/test, (let this directory
refcount not be zero while step 4.rmdir)
4. in the old terminal do #rmdir -rf /mnt/gluster/test


Actual results:
/mnt/gluster/test no deleted successfully, and could re-enter the directory,
but with WIRED.such like the below output
-----------------------------------------------------
[/mnt/gluster/test]#touch xxx
touch: cannot touch ‘xxx’: No such file or directory
-----------------------------------------------------

Expected results:
direcotry /mnt/gluster/test should be deleted.

Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list