- Table of Contents
- Copyright
- About the Lead Authors
- About the Contributing Authors
- Acknowledgments
- Tell Us What You Think!
- Introduction
- I. Red Hat Linux Installation and User Services
- Chapter 1. Introduction to Red Hat Linux
- Chapter 2. Installation of Your Red Hat System
- Chapter 3. LILO and Other Boot Managers
- Chapter 4. Configuring the X Window System, Version 11
- Chapter 5. Window Managers
- Chapter 6. Connecting to the Internet
- Chapter 7. IRC, ICQ, and Chat Clients
- Chapter 8. Using Multimedia and Graphics Clients
- II. Configuring Services
- Chapter 9. System Startup and Shutdown
- Chapter 10. SMTP and Protocols
- Chapter 11. FTP
- Chapter 12. Apache Server
- Chapter 13. Internet News
- Chapter 14. Domain Name Service and Dynamic Host Configuration Protocol
- Chapter 15. NIS: Network Information Service
- Chapter 16. NFS: Network Filesystem
- Chapter 17. Samba
- III. System Administration and Management
- Chapter 18. Linux Filesystems, Disks, and Other Devices
- Chapter 19. Printing with Linux
- Chapter 20. TCP/IP Network Management
- Chapter 21. Linux System Administration
- Chapter 22. Backup and Restore
- Chapter 23. System Security
- IV. Red Hat Development and Productivity
- Chapter 24. Linux C/C++ Programming Tools
- Chapter 25. Shell Scripting
- Chapter 26. Automating Tasks
- Chapter 27. Configuring and Building Kernels
- Chapter 28. Emulators, Tools, and Window Clients
- V. Appendixes
- A. The Linux Documentation Project
- B. Top Linux Commands and Utilities
- C. The GNU General Public License
- D. Red Hat Linux RPM Package Listings
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:
- rpc.portmapper—This program does not directly provide NFS services itself; however, it maps calls made from other machines to the correct NFS daemons.
- rpc.nfsd—This daemon translates the NFS requests into actual requests on the local filesystem.
- rpc.mountd—This daemon services requests to mount and unmount filesystems.
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
Starting and Stopping the NFS Daemons | Next Section

Account Sign In
View your cart