nfs客户端挂载出错 mount.nfs access denied by server while mounting

简介:

使用NFSv4时,在nfs服务端做如下操作:

1
2
3
4
5
6
7
[root@nginx-01 ~] # vim /etc/sysconfig/nfs
# Optional arguments passed to rpc.nfsd. See rpc.nfsd(8)
# Turn off v2 and v3 protocol support
RPCNFSDARGS= "-N 2 -N 3"
         ----->启用
# Turn off v4 protocol support
RPCNFSDARGS= "-N 4"      ---->启用

重启服务:

1
[root@nginx-01 ~] # service nfs restart



 本文转自 Lee_吉 51CTO博客,原文链接:http://blog.51cto.com/12173069/1945655

相关文章
|
10月前
|
网络安全
应用开发通过nfs来mount失败解决办法mount.nfs: Connection timed out
应用开发通过nfs来mount失败解决办法mount.nfs: Connection timed out
450 0
|
7月前
nfs之mount.nfs: Stale file handle
nfs之mount.nfs: Stale file handle
|
存储 运维 网络协议
RH236客户端配置--通过nfs挂载
RH236客户端配置--通过nfs挂载
157 0
RH236客户端配置--通过nfs挂载
|
存储 运维 Linux
RH236客户端配置--通过CIFS挂载
RH236客户端配置--通过CIFS挂载
175 0
RH236客户端配置--通过CIFS挂载
|
存储 运维 Unix
RH236客户端配置--通过glusterfs挂载(native client)
RH236客户端配置--通过glusterfs挂载(native client)
285 0
RH236客户端配置--通过glusterfs挂载(native client)