NFS Client Configuration

To configure your host as an NFS client (to acquire remote files or directories), you need to ensure that you have the nfs-common package installed, to be able to access NFS shares. After you’ve installed this, edit the /etc/fstab file as you would to mount any local file system. However, instead of using a device name to be mounted (such as /dev/sda1), enter the remote hostname and the desired file system to be imported. For example, one entry might look like this:

# Device             Mount Point  Type  Options       Freq Passyourhost:/home/share  /export/share   none   nfs  0    0

Note

If you use autofs on your system, you need to use proper autofs entries for your remote NFS mounts. ...

Get Ubuntu Unleashed 2014 Edition: Covering 13.10 and 14.04,Ninth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.