Redhat System Administration  « Prev   Next»
Lesson 2 NFS Fundamentals
Objective Describe the Network File System.
When stand-alone computers ruled the computer industry, users shared files with 8-inch floppy disks or cassette tapes.
When the hardware and protocol for networking computers became available, users needed a convenient way to transfer files and share resources among computers. The first mechanism to transfer files was FTP, but using it was cumbersome: users paused their session, moved some files with the FTP client, and then resumed their session.
File Transfer Protocol (FTP) : FTP is one way to move a file from computer to computer.
The NFS revolution
Enter the Network File System, or NFS. NFS allows users to manipulate files on a remote computer as if they were local. NFS transparently supports the usual file operations, including:
  1. copy (cp)
  2. move (mv)
  3. delete (rm)
  4. link (ln)
  5. list (ls)

NFS frees users from the inconveniences of FTP. A user can access and modify files anywhere on the network using the standard command-line programs.
Red Hat Enterprise Linux 7Red Hat Enterprise Linux 7

The NFS premise
NFS operates using the common client-server model. NFS servers can export entire filesystems, optionally making them publicly available and NFS clients then mount the exported filesystems.
Once mounted, the server's remote filesystem is attached to the client's local filesystem. When any file modifications on the NFS filesystem occur, the NFS client sends the modifications to the NFS server for processing.
Client-server model: A computer design model, where servers offer up one or more services for client use.
The next lesson discusses the relationship between NFS and remote procedure calls.
Network file system