摘要:NFS问题:nfs与rpcbind都正常启动了,并且已经发布共享目录/tmp。
在客户端查看时,出现如下错误提示:
[aliyunzixun@xxx.com~]# showmounte192.168.122.10
clnt_create:RPC:Portmapperfailure-Unabletoreceive:errno113(Noroutetohost)
解决方法:关闭被访问的NFS服务器上的防火墙和selinux(当然只适合个人测试环境),执行systemctlstopfire
NFS问题:
nfs与rpcbind都正常启动了,并且已经发布共享目录/tmp。
在客户端查看时,出现如下错误提示:
[aliyunzixun@xxx.com ~]# 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”
解决方法:
服务端[aliyunzixun@xxx.com /]# rpc.mountd
即可
客户端查看
[aliyunzixun@xxx.com ~]# showmount -e 192.168.122.10
Export list for server.example.com:/tmp *(rw,sync,no_root_squash)