Miguel Medalha
2014-Mar-02 16:37 UTC
[Samba] Using ZFS Case insensitive filesystems with Samba
>> 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 filesystemIn this case, will ZFS preserve capitals in file and directory names if they are so created (/Data instead of /data)? I mean, replicating Windows behavior, which is neither case-sensitive nor case-insensitive but case-preserving. Thank you!
John Drescher
2014-Mar-02 16:57 UTC
[Samba] Using ZFS Case insensitive filesystems with Samba
>>> 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 > > > In this case, will ZFS preserve capitals in file and directory names if they are so created (/Data instead of /data)? > > I mean, replicating Windows behavior, which is neither case-sensitive nor case-insensitive but case-preserving. >It did for me in my testing. Although having the samba parameter case sensitive set to the wrong value caused weird with issues with deleting folders and creating new ones with the same name in my testing. I have not had the time to test again with case sensitive=true John
Jeremy Allison
2014-Mar-03 16:53 UTC
[Samba] Using ZFS Case insensitive filesystems with Samba
On Sun, Mar 02, 2014 at 04:37:44PM +0000, Miguel Medalha 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 > > > In this case, will ZFS preserve capitals in file and directory names if they are so created (/Data instead of /data)? > > I mean, replicating Windows behavior, which is neither case-sensitive nor case-insensitive but case-preserving.Yes, it appears to be entirely Windows-compatible.