NFS问题:clnt_create: RPC: Port mapper failure - Unable to receive: errno 113 (No route to host)
在客户端查看时,出现如下错误提示:
[root@node1 ~]# showmount -e 192.168.122.10
clnt_create: RPC: Port mapper failure - Unable to receive: errno 113 (No route to host)
解决方法:
关闭被访问的NFS服务器上的防火墙和selinux(当然只适合个人测试环境),执行systemctl stop firewalld
;iptables -F ;setenforce 0,在客户端重新查看showmount -e 192.168.122.10
在客户端showmount -e 192.168.122.10遇到以下错误提示,“clnt_create: RPC: Program not registered” ,
解决方法:
服务端[root@server /]# rpc.mountd 即可
客户端查看
[root@node1 ~]# showmount -e 192.168.122.10
Export list for server.example.com:
/tmp *(rw,sync,no_root_squash)
https://blog.csdn.net/sinat_41075146/article/details/80800812