[Samba] Samba 3.0.2a and smbfs (2.4.21) sometimes missing files (CRITICAL BUG)

Pasi Sjoholm ptsjohol at cc.jyu.fi
Sun Apr 11 18:55:07 GMT 2004


I'm using the newest Samba 3.0.2a and smbfs which comes in 2.4.21 kernel.
Sometimes or actually always when I copy, rsync or even list files from a
share which resides on NT4 server all the files don't show up (only in
directories which have lots of files >1000 files..)

First I noticed this when I was rsyncing a "mirror" of this share to an
another machine and rsync was deleting some files which still existed in
the NT4-server. After some debugging I made a little test with 'ls -l
/mnt/point/manyfiles | wc -l' and these was the results (no one was using
the share at that time):


This is quite annoying bug. Same thing happens when using smbclient for
example: 'smbclient //$ -U username%password -c "ls
directory/*"|wc -l'

It's quite random which files are missing when doing directory listing. I
also tried to google problem down but nothing more than some random
questions about the same problem without a solution. So could we
investigate this problem more?

(please cc me when replying)

Pasi Sjöholm

More information about the samba mailing list