Chapter 9. Network File Syste...
1.2.1. Troubleshooting NFS and
Because
provides coordination between RPC services and the port numbers used to
portmap
communicate with them, it is useful to view the status of current RPC services using
when troubleshooting. The
numbers, an RPC program number, a version number, and an IP protocol type (TCP or UDP).
To make sure the proper NFS RPC-based services are enabled for
command as root:
rpcinfo -p
The following is sample output from this command:
program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111
portmapper 100021 1 udp 32774 nlockmgr 100021 3 udp 32774 nlockmgr 100021 4
udp 32774 nlockmgr 100021 1 tcp 34437 nlockmgr 100021 3 tcp 34437 nlockmgr
100021 4 tcp 34437 nlockmgr 100011 1 udp 819 rquotad 100011 2 udp 819
rquotad 100011 1 tcp 822 rquotad 100011 2 tcp 822 rquotad 100003 2 udp 2049
nfs 100003 3 udp 2049 nfs 100003 2 tcp 2049 nfs 100003 3 tcp 2049 nfs 100005
1 udp 836 mountd 100005 1 tcp 839 mountd 100005 2 udp 836 mountd 100005 2
tcp 839 mountd 100005 3 udp 836 mountd 100005 3 tcp 839 mountd
The output from this command reveals that the correct NFS services are running. If one of the
NFS services does not start up correctly,
for that service to the correct port. In many cases, if NFS is not present in
restarting NFS causes the service to correctly register with
instructions on starting NFS, refer to
Other useful options are available for the
for more information.
2. Starting and Stopping NFS
To run an NFS server, the
type the following command as root:
/sbin/service portmap status
If the
service is running, then the
portmap
as root type:
/sbin/service nfs start
To stop the server, as root, type:
134
portmap
command shows each RPC-based service with port
rpcinfo
portmap
Section 2, "Starting and Stopping
rpcinfo
service must be running. To verify that
portmap
service can be started. To start an NFS server,
nfs
portmap
is unable to map RPC requests from clients
and begin working. For
portmap
NFS".
command. Refer to the
portmap
, issue the following
output,
rpcinfo
man page
rpcinfo
is active,
portmap
Need help?
Do you have a question about the ENTERPRISE LINUX 4.5.0 and is the answer not in the manual?
Questions and answers