next up previous contents index
Next: Setting up a NIS Up: NFS/NIS Servers Previous: Exporting Directories   Contents   Index

Mounting Directories

Once a file system is exported, you may mount it by first creating a directory to mount it on, then by adding a line to your /etc/fstab file. Let's first create a directory called /nfs.

bash# mkdir /nfs

Now that there is a directory there, let's modify the /etc/fstab file and add a line like this: /nfs nfs bg,hard,rsize=8192,wsize=8192

You would need to change the server name from to whatever your server name is. Once this line is in there, you are ready to mount the directory.

bash# mount /nfs

Take a look around the directory and make sure everything looks right. If the PIDs in the NFS file system do not match the ones on your machine then you will get numbers instead of names. This can be solved by just using the same PIDs and accounts. This is available by using NIS.

Joseph Colton 2002-09-24