Differences between revisions 1 and 12 (spanning 11 versions)
Revision 1 as of 2005-12-13 07:19:59
Size: 1416
Editor: PeMac
Comment:
Revision 12 as of 2015-05-09 06:25:37
Size: 2162
Editor: matej
Comment: Link to securing nfs page
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
["Mini"] #language en
~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: none-~
Line 3: Line 4:
The Network File System (NFS) was developed to allow machines to mount a disk partition on a remote machine as if it were on a local hard drive. This allows for fast, seamless sharing of files across a network. = Network File System (NFS) =
Line 5: Line 6:
It also gives the potential for unwanted people to access your hard drive over the network (and thereby possibly read your email and delete all your files as well as break into your system) if you set it up incorrectly. So please read the Security section of this document carefully if you intend to implement an NFS setup. The Network File System is a distributed file system protocol originally developed by Sun Microsystems.
Line 7: Line 8:
There are other systems that provide similar functionality to NFS. ["Samba"] (http://www.samba.org) provides file services to Windows clients. The Andrew File System from IBM (http://www.transarc.com/Product/EFS/AFS/index.html), recently open-sourced, provides a file sharing mechanism with some additional security and performance features. The Coda File System (http://www.coda.cs.cmu.edu/) is still in development as of this writing but is designed to work well with disconnected clients. Many of the features of the Andrew and Coda file systems are slated for inclusion in the next version of NFS (Version 4) (http://www.nfsv4.org). The advantage of NFS today is that it is mature, standard, well understood, and supported robustly across a variety of platforms. == Differences Between NFS Versions ==
Line 9: Line 10:
=== Version 1 ===
Line 10: Line 12:
 * http://nfs.sourceforge.net/
 * http://nfs.sourceforge.net/nfs-howto/intro.html
Version 1 of the NFS protocol was used in-house experimental purposes at Sun Microsystems, and it was never released to the public.

=== Version 2 ===

Version 2 of the NFS protocol (defined in RFC 1094, March 1989) was developed as a joint venture between Sun Microsystems and IBM. It was designed as a stateless protocol and file locking was implemented outside of the core protocol. It originally operated entirely over UDP, but several vendors later added support for the use of TCP protocol.

=== Version 3 ===

Version 3 of the NFS protocol (defined in RFC 1813, June 1995) added:

 * support for 64-bit file sizes and offsets, to handle files larger than 4 gigabytes (GB);
 * support for asynchronous writes on the server, to improve write performance;
 * additional file attributes in many replies, to avoid the need to re-fetch them;
 * a READDIRPLUS operation, to get filehandles and attributes along with filenames when scanning a directory
 * assorted other improvements.

=== Version 4 ===

Version 4 of the NFS protocol (defined in RFC 3010, December 2000, and later revised in RFC 3530, April 2003), was influenced by AFS and CIFS.

Version 4 of the NFS protocol added:

 * stateful protocol support
 * strong security
 * A byte-range advisory Network Lock Manager (NLM) protocol
 * The remote quota reporting (RQUOTAD) protocol

== See Also ==

 * [[NFS/Kerberos]] - NFSv4 + Kerberos HOWTO
 * [[NFSTroubleshooting]]
 * [[SecuringNFS]]

== External Links ==

 * http://nfs.sourceforge.net/nfs-howto/ - Linux NFS-HOWTO
 * http://nfs.sourceforge.net/ - Linux NFS Overview, FAQ and HOWTO Documents
 * http://vger.kernel.org/vger-lists.html#linux-nfs - linux-nfs Mailing List
 * irc://irc.oftc.net/linux-nfs - Linux NFS [[IRC]] channel

 * http://www.troubleshooters.com/linux/nfs.htm - NFS: Overview and Gotchas

----

Translation(s): none


Network File System (NFS)

The Network File System is a distributed file system protocol originally developed by Sun Microsystems.

Differences Between NFS Versions

Version 1

Version 1 of the NFS protocol was used in-house experimental purposes at Sun Microsystems, and it was never released to the public.

Version 2

Version 2 of the NFS protocol (defined in RFC 1094, March 1989) was developed as a joint venture between Sun Microsystems and IBM. It was designed as a stateless protocol and file locking was implemented outside of the core protocol. It originally operated entirely over UDP, but several vendors later added support for the use of TCP protocol.

Version 3

Version 3 of the NFS protocol (defined in RFC 1813, June 1995) added:

  • support for 64-bit file sizes and offsets, to handle files larger than 4 gigabytes (GB);
  • support for asynchronous writes on the server, to improve write performance;
  • additional file attributes in many replies, to avoid the need to re-fetch them;
  • a READDIRPLUS operation, to get filehandles and attributes along with filenames when scanning a directory
  • assorted other improvements.

Version 4

Version 4 of the NFS protocol (defined in RFC 3010, December 2000, and later revised in RFC 3530, April 2003), was influenced by AFS and CIFS.

Version 4 of the NFS protocol added:

  • stateful protocol support
  • strong security
  • A byte-range advisory Network Lock Manager (NLM) protocol
  • The remote quota reporting (RQUOTAD) protocol

See Also