O'Reilly logo

Practical Linux by Bill Ball, John Ray, Michael Turner, M. Drew Streib

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Enabling the Network File System Service

The Network File System (NFS) provides for the mounting of directories across a network. Directories on a remote machine mounted via NFS on the local machine actually become part of the local machines file system.

Configuring the NFS service involves two parts:

  • Configuring the NFS server. This is the machine from which a directory is mounted. In my sample network, the NFS server is kanchi.

  • Configuring the NFS client. This is the machine mounting the directory. In my sample network, the NFS client is melkote.

This example demonstrates how to mount the kanchi's /home directory on melkote so that users have the same /home directory on both machines.

Configuring an NFS server

  1. As root, open the file /etc/exports ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required