What is the Server Message Block (SMB)?

Server Message Block protocol is used in computer applications to read and write files and it also requests services from server programs in a computer network. The SMB protocol can be used combined with other network protocols such as TCP/IP. The SMB protocol allows a program (or its user) to access files or other resources on a distant server. This enables apps to read, write, and update files on the remote server. It is also used to carry transaction protocols that enable authorized interprocess communication.

How Does Server Message Block (SMB) Work?

  • The client first sends an SMB request to the server to establish a connection. The server gets this request and returns an SMB response to the client.
  • SMB serves as the basis for Microsoft’s Distributed File System implementation and relies on the TCP and IP protocols for transport.
  • When this response is received, it opens a communication channel.

Network File System (NFS) vs Server Message Block (SMB)

Network File System is a client/server architecture, originally developed for local file sharing among Unix systems, including a client program, a server program, and a protocol to facilitate communication between the client and the server. The Server Message Block is referred to as the response-request protocol. Application-layer computing is where SMB operates (where users interact with software programs). Nevertheless, it sends data over lower network tiers, such as the transport layer (TCP or UDP).

Similar Reads

What is a Network File System (NFS)?

The Network File System is a widely used technique for file storage across a network. It is a distributed file system to access files and directories on remote machines while treating them as if they were local. It allows easy sharing of data among clients. For example, users can use operating system commands to create, delete, read, write, and set file attributes for remote files and directories. The NFS software package contains commands and daemons for NFS, Network Information Service (NIS), and other services. Although NFS and NIS are deployed as a single package, they are independently configured and handled separately....

What is the Server Message Block (SMB)?

Server Message Block protocol is used in computer applications to read and write files and it also requests services from server programs in a computer network. The SMB protocol can be used combined with other network protocols such as TCP/IP. The SMB protocol allows a program (or its user) to access files or other resources on a distant server. This enables apps to read, write, and update files on the remote server. It is also used to carry transaction protocols that enable authorized interprocess communication....

Difference Between Network File System (NFS) and Server Message Block (SMB)

...

Conclusion

In this article, we have learned about network file systems and server message blocks. NFS is the file-storing protocol to remotely connect data and files across the network and SMB provides applications for clients with a safe and regulated way to open, read, move, create, and update files on distant servers....

Network File System (NFS) and Server Message Block (SMB) – FAQs

Which is better, SMB or NFS?...