NFS使用mount挂载无法挂载出问题后的排错思路
首先确认NFS服务端配置和服务是OK的,
在服务端使用showmount -e localhost 检查
[root@nfs-A-C64 ~]# showmount -e localhost
Export list for localhost:
/data/r_shared 192.168.221.1/24
/data/w_shared 192.168.221.1/24
2.确认NFS客户端showmount是否OK
[root@Centos64-131-client ~]# showmount -e 192.168.221.130
mount clntudp_create: RPC: Port mapper failure - RPC: Unable toreceive
如果出现以上问题的解决思路:
a. ping NFS服务器的IP,看网络是不是通的
[root@Centos64-131-client ~]# ping 192.168.221.130
PING 192.168.221.130 (192.168.221.130) 56(84) bytes of data.
64 bytes from 192.168.221.130: icmp_seq=1 ttl=64 time=0.352 ms
64 bytes from 192.168.221.130: icmp_seq=2 ttl=64 time=0.647 ms
64 bytes from 192.168.221.130: icmp_seq=3 ttl=64 time=0.192 ms
b. 通过111端口telnet一下NFS服务器192.168.