What is SMB and NFS…?

Archit Gupta
3 min readMar 3, 2021

--

Server Messaging protocol (SMB)

The Server Message Block (SMB) may be a network protocol that permits users to speak with remote computers and servers — to use their resources or share, open, and edit files. It’s conjointly cited because the server/client protocol, because the server features a resource that it will share with the consumer. Like any network file sharing protocol, SMB wants network ports to speak with alternative systems. Originally, it used port 139 that allowed computers to speak on an equivalent network. however since Windows 2000, SMB uses port 445 and therefore the communications protocol network protocol to “talk” to alternative computers over the net.

How do we use the SMB protocol?

The SMB protocol creates a association between the server and therefore the consumer by causation multiple request-response messages back and forth. Imagine your team is functioning on an oversized project that involves tons of back and forth. you would possibly need to be able to share and edit files that area unit keep in one place. The SMB protocol can permit your team members to use these shared files as if they were on their own exhausting drives. although one amongst them is on a business trip 0.5 a world away, they’ll still access and use the information. Let’s say that the printer in your workplace is connected to the receptionists’ computer. If you would like to print a document, your laptop (the client) sends the receptionists’ laptop (the server) missive of invitation to print it and uses the SMB protocol to try to to it. The server can then challenge a response, stating that the file is queued, printed, or that the printer ran out of magenta and is unable to perform the task.

Network File System (NFS)

The Network classification system (NFS) could be a client/server application that lets a person read and optionally store and update files on a foreign pc like they were on the user’s own pc. The NFS protocol is one amongst many distributed classification system standards for network-attached storage (NAS). NFS permits the user or computer user to mount (designate as accessible) all or a little of a classification system on a server. The portion of the classification system that’s mounted is accessed by shoppers with no matter privileges ar appointed to every file (read-only or read-write). NFS uses Remote Procedure Calls (RPCs) to route requests between shoppers and servers. NFS was originally developed by Sun Microsystems within the 1980’s and is currently managed by the net Engineering Task Force (IETF). NFSv4.2 (RFC-7862) was legal in Gregorian calendar month a pair of016 as a group of extensions to NFSv4 (RFC-3530). Network classification system versions a pair of and three enable the User Datagram Protocol (UDP) running over AN IP network to produce unsettled network connections between shoppers and server, but NFSv4.2 needs use of the Transmission management Protocol (TCP).

NFS advantages

NFS could be a cheap resolution for network file sharing that’s straightforward to setup because it uses the present information science infrastructure. a major advantage of NFS is that it permits for central management, decreasing the requirement for extra software package and space on individual user systems. NFS is easy, permitting users to access files on remote hosts within the same means they access native files. This reduces the requirement for removable media storage devices and will increase security as fewer CDs, DVDs, Blu-Ray disks, diskettes and USB drives ar in circulation

--

--

Archit Gupta
Archit Gupta

No responses yet