Starting And Stopping Nfs - Red Hat ENTERPRISE LINUX 3 Reference Manual

Hide thumbs Also See for ENTERPRISE LINUX 3:
Table of Contents

Advertisement

Chapter 9. Network File System (NFS)
9.1.2.1. Troubleshooting NFS and
Because
provides coordination between RPC services and the port numbers used to com-
portmap
municate with them, it is useful to view the status of current RPC services using
troubleshooting. The
program number, a version 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
100000
2
100000
2
100021
1
100021
3
100021
4
100021
1
100021
3
100021
4
100011
1
100011
2
100011
1
100011
2
100003
2
100003
3
100003
2
100003
3
100005
1
100005
1
100005
2
100005
2
100005
3
100005
3
The output from this command reveals that the correct NFS services are running. If one of the NFS
services does not start up correctly,
service to the correct port. In many cases, if NFS is not present in
causes the service to correctly register with
NFS, refer to Section 9.2 Starting and Stopping NFS.
Other useful options are available for the
more information.

9.2. Starting and Stopping NFS

To run an NFS server, the
the following command as root:
/sbin/service portmap status
If the
service is running, then the
portmap
type:
portmap
command shows each RPC-based service with port numbers, an RPC
rpcinfo
port
tcp
111
portmapper
udp
111
portmapper
udp
32774
nlockmgr
udp
32774
nlockmgr
udp
32774
nlockmgr
tcp
34437
nlockmgr
tcp
34437
nlockmgr
tcp
34437
nlockmgr
udp
819
rquotad
udp
819
rquotad
tcp
822
rquotad
tcp
822
rquotad
udp
2049
nfs
udp
2049
nfs
tcp
2049
nfs
tcp
2049
nfs
udp
836
mountd
tcp
839
mountd
udp
836
mountd
tcp
839
mountd
udp
836
mountd
tcp
839
mountd
portmap
service must be running. To verify that
portmap
is unable to map RPC requests from clients for that
and begin working. For instructions on starting
portmap
command. Refer to the
rpcinfo
service can be started. To start an NFS server, as root
nfs
portmap
, issue the following
portmap
output, restarting NFS
rpcinfo
man page for
rpcinfo
is active, type
portmap
115
when

Advertisement

Table of Contents
loading

Table of Contents