Jeremy Chadwick wrote:
> On Sat, Dec 01, 2007 at 04:28:10AM +0300, Jonathan Stewart wrote:
>> Jeremy Chadwick wrote:
>>> On Fri, Nov 30, 2007 at 10:18:32PM +0300, Jonathan Stewart wrote:
>>>> Has anyone else noticed files missing when browsing Samba shares of ZFS
>>>> directories?
>>> http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2007-11/msg00501.html
>> This sounds like my problem except a refresh on Windows does not restore
>> the missing files, nor did any of the other things I mentioned in the
>> original email.
> 
> The interesting thing is that I use Samba to share many directories on a
> ZFS filesystem, and I haven't run into the problem you or the other
> poster have mentioned.  I wonder what's different about our setups that
> could explain what's going on...

I don't know what the difference might be but I did some digging and
found https://bugzilla.samba.org/show_bug.cgi?id=4715#c25

Setting "directory name cache size = 0" fixes the problem for me,
apparently it's a performance killer but I don't have any directories
with huge numbers of entries and the server is very overpowered for what
it's used for.

It's a workaround not a fix but it works for me till someone that has a
better understanding of the systems involved fixes it correctly.  My
basic understanding (which may be wrong) is that Samba expects a certain
thing relating to listing directories from FreeBSD that it does not do
but most Linux distros do.  The bug report link has vastly more detailed
information.

Jonathan

_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to