The Samba-Bugzilla – Bug 591
Missing files in XP directory
Last modified: 2005-11-14 09:30:00 UTC
I have a large directory on an XP machine. The directory has 4999 files. If copy
these files to another machine using samba, some files end up missing.
If I issue the following command, to count the files:
"ls | cat -n | tail -1"
Actually, the result seems to vary somewhat. For example, sometimes, I change
the number of lines in the tail command, and I get a different count.
I hope this helps. Feel free to ask me questions.
Are there any strange (not [A-Za-z0-9]) characters in the filenames? There are
a couple of open bugs to do with large numbers of files containing unusual
This is a known issue with the 'hash' mangling method.
Try setting "mangling method = hash2" which is the
default for Samba 3.0.
The original problem is caused by large numbers of
files that share the same first 5 characters or so.