mount.nfs:不支持请求的NFS版本或传输协议

Akk*_*kki 5 mount nfs rhel

NFS挂载在我的RHEL 7 AWS实例中不起作用。

当我做一个

mount -o nfsvers=3 10.10.11.10:/ndvp2 /root/mountme2/
Run Code Online (Sandbox Code Playgroud)

我得到错误:

mount.nfs: requested NFS version or transport protocol is not supported
Run Code Online (Sandbox Code Playgroud)

谁能指出我做错了什么?谢谢。

use*_*dev 13

检查 nfs 服务是否已启动或重新启动 nfs 服务。

  • 在 Ubuntu 上,您可以使用“sudo systemctl status nfs-kernel-server”检查状态 (2认同)

小智 6

可能对转储有用的精度(像我一样):systemctl status nfs-server.service并且必须在服务器systemctl start nfs-server.service上执行!