[Samba] Using ZFS Case insensitive filesystems with Samba

Jeremy Allison jra at samba.org
Tue Feb 25 14:14:50 MST 2014


On Tue, Feb 25, 2014 at 04:13:43PM -0500, John Drescher wrote:
> On Tue, Feb 25, 2014 at 4:08 PM, Jeremy Allison <jra at samba.org> wrote:
> > Here's something I learned when working with the FreeNAS folks :
> >
> > ZFS can be configured to be case insensitive when
> > you create the filesystem (NOTE - cannot be altered
> > *after* the filesystem is created).
> >
> > zfs create -o casesensitivity=insensitive filesystem
> >
> > https://www.freebsd.org/cgi/man.cgi?query=zfs&apropos=0&sektion=0&manpath=FreeBSD+8.1-RELEASE&format=html
> >
> > Once you've done this set the following in the
> > share definition in your smb.conf :
> >
> > [ZFSSHARE]
> >         path = /foo
> >         case sensitive = true
> >
> > and Samba will go *much* faster for
> > directories with large numbers of files
> > (we don't have to scan the directory on
> > every cache miss) !
> >
> > This should also work with ZFS on Linux:
> >
> > https://zfsonlinux.org/
> >
> 
> Shouldn't it be
> 
> case sensitive = false
> 
> BTW, I was testing with this on zfsonllinux 2 weeks ago.

Strangely enough, no :-).


More information about the samba-technical mailing list