[Gluster-devel] Duplicate entries and other weirdness in a 3*4 volume

Lalatendu Mohanty lmohanty at redhat.com
Fri Jul 18 14:37:02 UTC 2014


On 07/18/2014 07:57 PM, Anders Blomdell wrote:
> During testing of a 3*4 gluster (from master as of yesterday), I encountered
> two major weirdnesses:
>
>    1. A 'rm -rf <some_dir>' needed several invocations to finish, each time
>       reporting a number of lines like these:
>         
> 	rm: cannot remove ‘a/b/c/d/e/f’: Directory not empty
>
>    2. After having successfully deleted all files from the volume,
>       i have a single directory that is duplicated in gluster-fuse,
>       like this:
> 	# ls -l /mnt/gluster
>          total 24
>          drwxr-xr-x 2 root root 12288 18 jul 16.17 work2/
>          drwxr-xr-x 2 root root 12288 18 jul 16.17 work2/
>
> any idea on how to debug this issue?
>
> /Anders
>       

Anders,

Check Gluster log files present in /var/log/glusterfs. Specifically 
glusterd logfile i.e. 
"/var/log/glusterfs/etc-glusterfs-glusterd.vol.log". You can also start 
glusterd with debug mode i.e. "$glusterd -L DEBUG" and check the log 
files for more information.

Thanks,
Lala


More information about the Gluster-devel mailing list