mount -t nfs -o nolock 192.168.2.103:/opt/tiny210/nfs /mnt
挂在nfs服务器,出现mount:RPC:Unable to receive;errno=No route to host
原因:有限制的端口
1、永久性关闭
lokkit --disabled
service 方式
开启: service iptables start
关闭: service iptables stop
iptables方式
查看防火墙状态:
/etc/init.d/iptables status
暂时关闭防火墙:
/etc/init.d/iptables stop
重启iptables:
/etc/init.d/iptables restart
本文将详细解释NFS挂载出现'mount:RPC:Unable to receive;errno=No route to host'错误的原因,并提供两种解决方案:永久性关闭端口限制或即时生效并重启iptables防火墙,以实现NFS服务的正常挂载。
2895

被折叠的 条评论
为什么被折叠?



