How to make macOS and Windows play nice together with FreeNAS

DCswitch

Explorer
Joined
Dec 20, 2013
Messages
58
After much testing there's no doubt that SMB is the best protocol for both Apple macOS and Windows (forget AFP unless you're setting up Time Machine). NFS was too slow, but if it's stable between both Windows and Apple machines I'm open to it. Since SMB is Microsoft Windows baby - my question is when I create a dataset should I choose a share type of Unix or Windows? Because macOS machines are going to be connecting to it as well- I was leaning towards UNIX, but since SMB is Windows baby perhaps Windows is the best share type?
 

Attachments

  • DataSet Options.jpg
    DataSet Options.jpg
    54.4 KB · Views: 310
  • Permissions.jpg
    Permissions.jpg
    36.6 KB · Views: 304
Last edited:

rungekutta

Contributor
Joined
May 11, 2016
Messages
146
In my experience, SMB with Windows permissions works best in that scenario.

NFS works very well with Linux hosts and ESXi, probably MacOS too but I haven’t tested that much.
 

DCswitch

Explorer
Joined
Dec 20, 2013
Messages
58
@rungekutta Okay that's for Permissions, but what should the Share Type under Options be- Windows or Unix? I have seen some people use Unix and some people use Windows, so I have no idea.
 

Attachments

  • DataSet Options.jpg
    DataSet Options.jpg
    54.4 KB · Views: 315
  • permissions.jpg
    permissions.jpg
    36.6 KB · Views: 303

DCswitch

Explorer
Joined
Dec 20, 2013
Messages
58

seanm

Guru
Joined
Jun 11, 2018
Messages
570
After much testing there's no doubt that SMB is the best protocol for both Apple macOS and Windows (forget AFP unless you're setting up Time Machine). NFS was too slow, but if it's stable between both Windows and Apple machines I'm open to it.

Don't use AFP for Time Machine either, FreeNAS has supported Time Machine over SMB for a while now.

Also, don't bother with NFS on macOS, macOS only supports an old version of NFS.

@anodos is there a ticket in Jira to rename "Windows" to "SMB" in the web UI?
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
Don't use AFP for Time Machine either, FreeNAS has supported Time Machine over SMB for a while now.

Also, don't bother with NFS on macOS, macOS only supports an old version of NFS.

@anodos is there a ticket in Jira to rename "Windows" to "SMB" in the web UI?

No. In 11.3 the share types are mostly going away. There's a dropdown for something like that during dataset creation that applies some create-time optimizations depending on how the dataset will be used currently the "share types" are "Generic" and "SMB". The latter sets the ACL Mode to "restricted" and the case sensitivity to "insensitive" (this is subject to change during beta testing).
 

joltman

Dabbler
Joined
Jul 25, 2012
Messages
21
Well what about including LINUX NFS as well? I've got Windows/MacOS and Ubuntu living in my network. Should I still choose WINDOWS in that case? Or should I move to SMB for all my LINUX NFS Clients?
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
Well what about including LINUX NFS as well? I've got Windows/MacOS and Ubuntu living in my network. Should I still choose WINDOWS in that case? Or should I move to SMB for all my LINUX NFS Clients?

If you are exclusively using SMB on the share, choose windows, otherwise choose unix. In 11.3, these things will basically be re-labelled "SMB" and "Generic" and they will be create-time optimizations.
 
Top