Network File System (NFS) and Server Message Block (SMB) are file access storage protocols or rules for efficient file sharing over a network. The ability to communicate, collaborate, and share files effectively is essential for any organization’s day-to-day operations. With NFS, a user (or client device) can connect to a network server and access files on the server. It has rules that allow multiple users to share the same file without data conflicts. Similarly, SMB also allows users to read files on the server. However, it offers more flexibility, so clients can share files with each other as well. Clients can use SMB to establish connections with any other networked devices—like printers or file servers. The client can then access the device’s files as if it were local to the client.","sortDate":"2023-07-12","headlineUrl":"https://aws.amazon.com/compare/the-difference-between-nfs-smb/?trk=faq_card","id":"faq-hub#what-is-the-difference-between-nfs-and-smb","category":"Storage","primaryCTA":"https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?pg=compare_header","headline":"What’s the Difference Between NFS and SMB?"},"metadata":{"tags":[{"id":"GLOBAL#tech-category#storage","name":"Storage","namespaceId":"GLOBAL#tech-category","description":"Storage","metadata":{}},{"id":"faq-hub#faq-type#compare","name":"compare","namespaceId":"faq-hub#faq-type","description":"

compare","metadata":{}}]}}]},"metadata":{"auth":{},"testAttributes":{}},"context":{"page":{"locale":null,"site":null,"pageUrl":"https://aws.amazon.com/compare/the-difference-between-nfs-smb/","targetName":null,"pageSlotId":null,"organizationId":null,"availableLocales":null},"environment":{"stage":"prod","region":"us-east-1"},"sdkVersion":"1.0.115"},"refMap":{"manifest.js":"289765ed09","what-is-header.js":"251923df8a","what-is-header.rtl.css":"ccf4035484","what-is-header.css":"ce47058367","what-is-header.css.js":"004a4704e8","what-is-header.rtl.css.js":"f687973e4f"},"settings":{"templateMappings":{"category":"category","headline":"headline","primaryCTA":"primaryCTA","primaryCTAText":"primaryCTAText","primaryBreadcrumbText":"primaryBreadcrumbText","primaryBreadcrumbURL":"primaryBreadcrumbURL"}}}

Network File System (NFS) and Server Message Block (SMB) are file access storage protocols or rules for efficient file sharing over a network. The ability to communicate, collaborate, and share files effectively is essential for any organization’s day-to-day operations. With NFS, a user (or client device) can connect to a network server and access files on the server. It has rules that allow multiple users to share the same file without data conflicts. Similarly, SMB also allows users to read files on the server. However, it offers more flexibility, so clients can share files with each other as well. Clients can use SMB to establish connections with any other networked devices—like printers or file servers. The client can then access the device’s files as if it were local to the client.","id":"seo-faq-pairs#what-is-the-difference-between-nfs-smb","customSort":"1"},"metadata":{"tags":[{"id":"seo-faq-pairs#faq-collections#nfs-vs-smb","name":"nfs-vs-smb","namespaceId":"seo-faq-pairs#faq-collections","description":"

nfs-vs-smb","metadata":{}}]}},{"fields":{"faqQuestion":"What is NFS and how does it work?","faqAnswer":"

The Network File System (NFS) protocol was created by Sun Microsystems in 1984 as a stateful file sharing protocol for Unix-based systems. Since then, NFS has been through several updates. The most recent is NFS Version 4 (NFSv4), which was developed by a working group from the Internet Engineering Task Force. NFS remains popular among Linux users. \n

Here’s how communication works between an NFS-enabled client and NFS server. First, a client requests a file or directory from the server using remote procedure calls (RPC). The server then checks the following: \n