Red Hat Linux 7 Unleashed

Red Hat Linux 7 Unleashed

By William Ball

Installing NFS

Before you begin installing NFS, make sure that your network setup is functioning correctly and that the server and clients can ping each other. Setting up your network is explained in Chapter 20, "TCP/IP Network Management."

Although the NFS software comes preinstalled with Red Hat Linux, you need to be aware of what the software is and what each specific program does. This is important when you are troubleshooting problems and configuring NFS-related tools such as the automounter.

Three programs provide NFS server services:

By default, these programs are installed and loaded at boot time. To check for this, use the rpcinfo command as follows:


   rpcinfo -p

This will display all the registered RPC programs running on your system. To check which RPC programs are registered on a remote host, use


   rpcinfo -p hostname
   

where hostname is the name of the remote host you want to check. The output for a Linux host running NFS looks something like the following:


   [root@vestax /root]# rpcinfo -p
  program   vers   proto   port
   100000      2     tcp    111   portmapper
   100000      2     udp    111   portmapper
   100005      1     udp    821   mountd
   100005      1     tcp    823   mountd
   100003      2     udp   2049   nfs
   100003      2     tcp   2049   nfs

Share ThisShare This

Informit Network