NFS

NFS

 The NFS (Network File System) service is a service developed by Sun Microsystems for accessing files on a network. The NFS service typically uses UDP or TCP port 2049.

 By using this service, you can access the file system (hard disk contents) of other computers on the network as if it were your own computer's file system (hard disk).

A file system on a network can be operated in the same way as a local file system.

 In the sense that files on a remote disk can be accessed as if they were on a local disk, this is a network service with a high utility value that cannot be compared with other services.

 To access a disk on the network, we perform a task called mounting. The side that mounts is called the NFS client, and the side that is mounted is called the NFS server.

 Even in a Windows-based network system, using "Microsoft Services for UNIX" enables file sharing even in an environment where Windows and UNIX coexist.

How NFS works

 One of the features of NFS is that it has a heterogeneous connection function that absorbs differences in file systems depending on the OS such as Windows, UNIX, and Mac, just like FTP.

For example, UNIX and Windows have different ways of notating directories.

Windows...\
UNIX.../

Also, UNIX and Mac do not have drive letters ("A:" and "B:").

 Depending on the OS file system, many elements such as directory representation and information confirmation methods differ. NFS consists of protocols such as NFS, XDR (External Data Representation), and RPC (Remote Procedure Call) according to each role in order to share different file systems.

●Protocols that make up NFS

protocolexplanation
NFSIt makes the exchange of data between the local computer and the remote computer appear as if you were accessing your own file system.
XDRConvert data formats that differ depending on the OS to a standard format and reconvert on the local computer side. Hierarchy that translates for heterogeneous connectivity.
RPCsIt makes requests to remote computers, executes procedures, and receives results. Works at the bottom layer of NFS.
Protocols that make up NFS