rpcbind
service, supports ACLs, and utilizes stateful operations. Red Hat Enterprise Linux supports NFSv2, NFSv3, and NFSv4 clients. When mounting a file system via NFS, Red Hat Enterprise Linux uses NFSv4 by default, if the server supports it.
rpcbind
[2], rpc.lockd
, and rpc.statd
daemons. The rpc.mountd
daemon is still required on the NFS server so set up the exports, but is not involved in any over-the-wire operations.
'-p'
command line option that can set the port, making firewall configuration easier.
/etc/exports
configuration file to determine whether the client is allowed to access any exported file systems. Once verified, all file and directory operations are available to the user.
rpc.nfsd
process now allow binding to any specified port during system start up. However, this can be error-prone if the port is unavailable, or if it conflicts with another daemon.
rpcbind
service. To share or mount NFS file systems, the following services work together, depending on which version of NFS is implemented:
portmap
service was used to map RPC program numbers to IP address port number combinations in earlier versions of Red Hat Enterprise Linux. This service is now replaced by rpcbind
in Red Hat Enterprise Linux 6 to enable IPv6 support. For more information about this change, refer to the following links:
service nfs start
starts the NFS server and the appropriate RPC processes to service requests for shared NFS file systems.
service nfslock start
activates a mandatory service that starts the appropriate RPC processes which allow NFS clients to lock files on the server.
rpcbind
accepts port reservations from local RPC services. These ports are then made available (or advertised) so the corresponding remote RPC services can access them. rpcbind
responds to requests for RPC services and sets up connections to the requested RPC service. This is not used with NFSv4.
nfs
service and does not require user configuration.
rpc.nfsd
allows explicit NFS versions and protocols the server advertises to be defined. It works with the Linux kernel to meet the dynamic demands of NFS clients, such as providing server threads each time an NFS client connects. This process corresponds to the nfs
service.
rpc.lockd
allows NFS clients to lock files on the server. If rpc.lockd
is not started, file locking will fail. rpc.lockd
implements the Network Lock Manager (NLM) protocol. This process corresponds to the nfslock
service. This is not used with NFSv4.
rpc.statd
is started automatically by the nfslock
service, and does not require user configuration. This is not used with NFSv4.
rpc.rquotad
is started automatically by the nfs
service and does not require user configuration.
rpc.idmapd
provides NFSv4 client and server upcalls, which map between on-the-wire NFSv4 names (which are strings in the form of user
@domain
) and local UIDs and GIDs. For idmapd
to function with NFSv4, the /etc/idmapd.conf
must be configured. This service is required for use with NFSv4, although not when all hosts share the same DNS domain name.
[2]
The rpcbind
service replaces portmap
, which was used in previous versions of Red Hat Enterprise Linux to map RPC program numbers to IP address port number combinations. For more information, refer to Section 10.1.1, “Required Services”.