If you aren't sure which type of share you need, choose SMB.
What is the difference between SMB and NFS? Which one is right for me?
Server Message Block (SMB) and Network File System (NFS) are two different ways to share a space over a network.
SMB | NFS |
---|---|
Secure | Not Secure |
Supports Windows, MacOS, and most Linux Operating Systems | Supports MacOS and all Linux Operating Systems |
Fast | Faster |
SMB is the most common way to share a space. It can share a space with just about any PC or Mac. It even supports most Linux operating systems. Furthermore, SMB is secure. When you share a space with SMB, you can restrict who can access the share.
NFS is an alternative way to share a space. It can share a space with Macs and all Linux operating systems. It cannot share a space with a PC running Windows. Furthermore, NFS is not secure: when you share a space with NFS, anyone on your network can access it.
So, if SMB is both universally supported and secure, why use NFS at all? It turns out that NFS is faster than SMB: it can send more data over a network than SMB per second. In situations where speed matters more than security, NFS is a better choice.