Network File System
From WikiTech, the free technology encyclopedia
Distributed file system protocol from Sun (1984)
5 sources from RFC Editor (IETF), Sun Microsystems (hosted by MIT CSAIL), LWN.net and 1 more. Checked by ByteExplained editors on 5 December 2026. How we check facts
Network File System (NFS) is a protocol that lets a computer read and write files stored on another machine across a network as if they were on its own disk. It was created by Sun Microsystems and is designed to work across different machines, operating systems and networks, including Unix systems.[1]
History
Sun engineers began implementing NFS in March 1984; the first working kernel ran in mid-August that year and the team started using it in September.[2] Version 2 was the first publicly available release, in 1984, while an earlier "version 1" was presumably used only inside Sun.[3] Sun shared its code with other Unix vendors, who could adjust their implementations but could not change the protocol itself.[3] The protocol was documented for the wider internet community in RFC 1094, written by Bill Nowicki of Sun and published in March 1989.[1]
Version 3, described in RFC 1813 by three Sun engineers in June 1995, widened file sizes and offsets to 64 bits so that very large files could be handled, allowed faster asynchronous writes and added new operations such as READDIRPLUS.[4] Version 4 was developed as a standard of the Internet Engineering Task Force: it was first defined in RFC 3010, revised in RFC 3530 and is now specified in RFC 7530, a Proposed Standard published in March 2015.[5] Linux has its own NFS client and server implementations.[3]
How it works
NFS is built on Sun's Remote Procedure Call (RPC) system, and its data is encoded using the External Data Representation (XDR) standard, so that computers with different hardware can exchange it.[1] Its designers aimed for transparent access (programs use remote files exactly like local ones), easy recovery from server crashes and performance close to that of a local disk.[2]
To make recovery simple, early versions were designed to be as stateless as possible: the server keeps no record of client sessions, so a client can simply repeat a request until the server answers.[1] Features that need state, such as file locking, were left to separate protocols.[1] Version 4 changed this approach. It builds file locking into the protocol using leases held by the server, lets several operations be combined in a single COMPOUND request and requires support for strong security, including the Kerberos (protocol) system.[5]
See also
References
- ^ RFC 1094: NFS: Network File System Protocol Specification. RFC Editor (IETF). 1989-03-01. rfc-editor.org
- ^ Design and Implementation of the Sun Network Filesystem. Sun Microsystems (hosted by MIT CSAIL). pdos.csail.mit.edu
- ^ NFS: the early years. LWN.net. 2022-06-20. lwn.net
- ^ RFC 1813: NFS Version 3 Protocol Specification. RFC Editor (IETF). 1995-06-01. rfc-editor.org
- ^ RFC 7530: Network File System (NFS) Version 4 Protocol. Internet Engineering Task Force. 2015-03-01. rfc-editor.org





