[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#599823: linux-2.6: XEN and NFS causes duplicate filenames with large directories



Previous did not goto ticket.

My initial test case is in the ticket here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=599823#79

When I used your test case, I got duplicate files.

So, to narrow it down,

Which kernel do you have on this client - what are your NFS mount options for this directory?


On 10-11-20 04:49 AM, Timo Juhani Lindfors wrote:
Jason Kendall<jakendall@gmail.com>  writes:
1. All the scripts/commands should be run on the client.
2. As far as I can tell, you can't just move the directory, you have to move
each file, but again, I was able to trigger it with just the process of
making the files.
3. Most of the time there is no difference seen on any other client, meaning
the one with the bug only shows the duplicate files. I have never seen
duplicate files on the server.
I still get no duplicate files:

$ for i in $(seq 1 10000); do touch tmp/$i; done
$ ls tmp | sort | uniq -d
$ for i in $(seq 1 10000); do mv tmp/$i tmp/$i.a; done
$ ls tmp | sort | uniq -d
$ ls tmp | wc -l
10000

What exact commands did you use?




Reply to: