Install > Preinstallation tasks > System requirements for installation > Check the NFS services configuration

Check the NFS services configuration

NFSv2 and NFSv3 must be enabled and NFSv4 must be disabled to support mounting file systems (mountd) and SA recommends configuring how NFS/RPC server ports are assigned.

NFSv4 is enabled by default for Red Hat Enterprise Linux, SUSE Linux Enterprise Server.

NFS services configuration

Perform the following tasks based on your operating system.

Red Hat Enterprise Linux

If NFSv2 and/or NFSv3 are not enabled, you may need to change or modify the following parameters in /etc/sysconfig/nfs:

MOUNTD_NFS_V2=yes

MOUNTD_NFS_V3=yes

Add the following to /etc/sysconfig/nfs to disable NFSv4 support for nfsd:

RPCNFSDARGS="--no-nfs-version 4"

SUSE Linux Enterprise server

Add the following to /etc/sysconfig/nfs to disable NFSv4 support for nfsd:

NFS4_SUPPORT="no"

No changes for mountd are required unless you have manually modified /etc/init.d/nfsserver to disable NFSv2 and NFSv3.

Configuring NFS/RPC server ports

For a list of ports used by SA, see Required open ports. Perform the following tasks based on your operating system:

Red Hat Enterprise Linux

Add or enable these parameters in /etc/sysconfig/nfs:

MOUNTD_PORT=<choose a non-SA port number>
LOCKD_TCPPORT=<choose a non-SA port number>
LOCKD_UDPPORT=<choose a non-SA port number>
STATD_PORT=<choose a non-SA port number>
STATD_OUTGOING_PORT=<choose a non-SA port number>

If you have rquotad enabled, add or enable this parameter in /etc/sysconfig/nfs:

RQUOTAD_PORT=<choose a non-SA port number>

SUSE Linux Enterprise Server

For mountd, modify /etc/sysconfig/nfs and modify or add this parameter:

MOUNTD_PORT=<choose a non-SA port number>

For lockd, create or edit /etc/modprobe.d/lockd and add:

options lockd nlm_udpport=<choose a non-SA port number>
nlm_tcpport=<choose a non-SA port number>

For statd, if it is installed and running, edit /etc/init.d/nfsserver, search for
"startproc /usr/sbin/rpc.statd" and append the -p parameter specifying a non-SA port. For example:

startproc /usr/sbin/rpc.statd --no-notify -p<choose a non-SA port number>

For rquotad, if it is installed and running, edit /etc/services and add/edit TCP/UDP ports for rquotad, for example:

rquotad <choose a non-SA port number>/tcp
rquotad <choose a non-SA port number>/udp

Restarting the NFS service

After the required changes are made, restart the NFS server service:

Red Hat Enterprise Linux

/sbin/service nfs restart

SUSE Linux Enterprise Server

/sbin/service nfsserver restart