[问题] Centos7 NFS server 无法连线

楼主: Nt1 (用功点吧!)   2014-11-04 11:27:44
小弟之前都是用 rhel4 设定nfs, 今日架设一台 centos 7 的nfs时,一直无法成功,
client 错误讯息:
# showmount -e xxx.xxx.xxx.xxx
mount clntudp_create: RPC: Port mapper failure - RPC: Unable to receive
# rpcinfo -p xxx.xxx.xxx.xxx
rpcinfo: can't contact portmapper: RPC: Remote system error - No route to host
p.s clinet端可以正常mount其他的nfs server,就是这台不行
server端侦错步骤如下:
1. 把 selinux 关掉
2. 把 iptables 关掉
3. 把rpcbind重启: systemctl restart rpcbind
4. 把nfs重启: systemctl restart nfs
5. 确定 rpcbind 有起来 systemctl status rpcbind
6. 确定 nfs 有起来 systemctl status nfs
7. 看rpcinfo -p
program vers proto port service
100000 4 tcp 111 portmapper
....
100003 3 tcp 2049 nfs
请问版上的大大~还有什么可能的情况吗..orz
作者: justdoitmmo (伊剑)   2014-11-04 11:41:00
系统的另一套默认 firewall 有关吗systemctl disable firewalld.service
楼主: Nt1 (用功点吧!)   2014-11-04 11:54:00
可以了!!太感谢了!! 爬文都没爬到这一块,原来有两个firewall

Links booklink

Contact Us: admin [ a t ] ucptt.com