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

Anders Blomdell anders.blomdell at control.lth.se
Mon Jul 21 11:33:22 UTC 2014


On 2014-07-19 04:43, Pranith Kumar Karampuri wrote:
> 
> 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?
> What are the steps to recreate? We need to first find what lead to this. Then probably which xlator leads to this.

Would a pcap network dump + the result from 'tar -c --xattrs /brick/a/gluster'
on all the hosts before and after the following commands are run be of
any help:

  # mount -t glusterfs gluster-host:/test /mnt/gluster 
  # mkdir /mnt/gluster/work2 ; 
  # ls /mnt/gluster 
  work2  work2

If so, where should I send them (size is 2*12*31MB [.tar] + 220kB [pcap])

/Anders
-- 
Anders Blomdell                  Email: anders.blomdell at control.lth.se
Department of Automatic Control
Lund University                  Phone:    +46 46 222 4625
P.O. Box 118                     Fax:      +46 46 138118
SE-221 00 Lund, Sweden



More information about the Gluster-devel mailing list