A question about ZFS built-in SMB

Gary Palmer gpalmer at freebsd.org
Sun Jul 5 21:03:09 UTC 2015


On Sun, Jul 05, 2015 at 11:12:44AM -0400, Quartz wrote:
> Assuming the following:
> 
> - A server running FreeBSD 10.1
> 
> - A ZFS pool with no restrictions on how it can be set up
> 
> - Clients running Windows XP/Vista/7/8
> 
> - The need for a "public share" with two main directories, which we'll 
> call 'stuff' and 'dropbox'. Anonymous guest users have read/write access 
> to 'dropbox', and read-only access to 'stuff' as well as being 
> restricted in which files and directories they can even see there. 
> Admin-class users have full permissions and visibility to both directories.
> 
> 
> 
> Is installing Samba still a requirement, or is ZFS's built-in SMB 
> sharing complete and robust enough now to be able to handle everything 
> natively? (Alternatively, is SMB itself even still a requirement or are 
> there other options these days (that don't require installing software 
> or custom configs on the clients))?


The sharesmb option to zfs does not work on FreeBSD.  You need to use
Samba.

>From "man zfs":

     sharesmb=on | off | opts
         The sharesmb property currently has no effect on FreeBSD.


As far as I am aware, without 3rd party software, Windows only supports
SMB/CIFS.  Note:  I try to keep as far away from Windows as possible, so
that may be wrong.

Regards,

Gary


More information about the freebsd-fs mailing list