本文共 387 字,大约阅读时间需要 1 分钟。
使用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" ---->启用 |
重启服务:
本文转自 Lee_吉 博客,原文链接: http://blog.51cto.com/12173069/1945655 如需转载请自行联系原作者
1 | [root@nginx-01 ~] # service nfs restart |