RHEL5
当使用 NFSV4 的时候,如果 client 为 RHEL5,需要在 client 上解析自己的域名。即在 /etc/hosts 文件里需要一条域名和 IP 的对应关系。
RHEL6
RHEL7
自定义 nfsv3 使用的端口
version: nfs-utils-1.3.0-0.33
该版本之后,配置 nfsv3 所使用的端口,详细如下:
# vim /etc/sysconfig/nfs
STATDARG="-p 32000"
RPCMOUNTDOPTS="-p 32002"
# vim /etc/sysconfig/rpc-rquotad
RPCMOUNTDOPTS="-p 32002"
# systemctl restart rpc-rquotad
# vim /etc/modprobe.d/lockd.conf
options lockd nlm_tcpport=32803
options lockd nlm_udpport=32769
网友评论