[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

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

What exact commands did you use?

Reply to: