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
If you use
autofs on your system, you need to use proper
autofs entries for your remote NFS mounts. ...