Once both client and server are set up correctly (and assuming that the
NFS server is configured to allow connections from the client), you can go
ahead and mount an exported NFS filesystem on the client. In this
example, inventor is the NFS server and sidekick
(IP address 192.168.1.9) is the NFS client. Inventor's /etc/exports file
contains a line that looks like this, allowing connections from any
machine on the 192.168.1 network:
/ 192.168.1.1/24(rw,no_root_squash)
Now, logged into sidekick as root, we can type:
# mount inventor:/ /mnt/nfs
Inventor's root filesystem will now be mounted on sidekick at /mnt/nfs;
you should now be able to type cd /mnt/nfs and look around
inside and see inventor's files. Again, note that if inventor's /home
tree is on another filesystem, then /mnt/nfs/home will not contain
anything -- another mount (as well as another entry in
inventor's /etc/exports file) will be required to access that data.