Incomplete file listing with Samba on ext2fs

Rainer Schwarze rsc at admadic.de
Thu Nov 8 13:22:06 PST 2007


Rainer Schwarze wrote:
> CyberLeo Kitsana wrote:
>> Rainer Schwarze wrote:
>>> I created 1000 files named "file000" ... "file0999" in a directory. I
>>> could see all of them via Windows.
>>>
>>> I created 1000 files named "file-0000.file" ... "file-0999.file" in a
>>> directory. I could see the first 130 files of them.
>> Are you sure this is only happening with ext2fs? You might be running
>> into a filename mangling limitation in Samba.
[...]
> However, everything works well when I put the same set of files on a UFS
> volume shared by samba. 

Just an update in case someone looks for the same problem:

On the samba mailing list it was pointed out, that there are problems
with non-UFS shares. In /usr/ports/UPDATING this snippet is included
(which as it looks like I did not read carefully :-) ):

| 20070919:
|   AFFECTS: users of net/samba3
|   AUTHOR: timur at FreeBSD.org
[...]
|   Bug #4715 (https://bugzilla.samba.org/show_bug.cgi?id=4715) is NOT
|   fixed yet, although it won't core dump smbd process any more. Still,
|   access to the shares other than UFS is not guaranteed.

Best wishes, Rainer
-- 


More information about the freebsd-questions mailing list