nfs的问题
为了共享文件,查阅了资料发现nfs是个不错的选择,于是开始搭建环境,服务器 192.168.1.10 客户端 192.168.1.12
/etc/exports
/var/www/html/files 192.168.1.12(rw,sync)
然后分别把端口开启,
服务器段下的 /usr/sbin/rpcinfo -p 是可以看到的
#/usr/sbin/showmount -e 192.168.1.10
/var/www/html/files 192.168.1.12
但我在客户端去查看的时候确给我提示
#showmount -e 192.168.1.10
clnt_create: RPC: Port mapper failure - Unable to receive: errno 113 (No route to host)
# mount -t nfs 192.168.1.10:/var/www/html /files/ /var/www/html/files/ -o proto=tcp -o nolock
mount.nfs: Connection timed out
请问我应该如何去找寻问题?