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. See the Section 5 man page for ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access