1.检验rpcinfo从客户端
# rpcinfo -p nfsserverip ,可以看到服务器端开的tcp/udp端口。默认都是打开的,客户端可以自己选择使用TCP/UDP
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100005 1 udp 32790 mountd
100005 2 udp 32790 mountd
100005 3 udp 32790 mountd
100005 1 tcp 32772 mountd
100005 2 tcp 32772 mountd
100005 3 tcp 32772 mountd
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100227 2 udp 2049 nfs_acl
100227 3 udp 2049 nfs_acl
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100227 2 tcp 2049 nfs_acl
100227 3 tcp 2049 nfs_acl
100026 1 udp 32791 bootparam
100026 1 tcp 32773 bootparam
300598 1 udp 32795
300598 1 tcp 32774
805306368 1 udp 32795
805306368 1 tcp 32774
100249 1 udp 32796
100249 1 tcp 32775
1073741824 1 udp 38909
2. telnet nfsserverip 111, 检验服务器端的rpcbind端口是否打开
3. telnet nfsserverip 2049, 检验服务器端的nfsd端口是否打开
4. showmount -e nfsserverip, 检验是否能列出所有的NFS共享
5. mount -t nfs server /nfs/client/path, 挂载NFS共享目录到本机
原文地址:http://www.cnblogs.com/oskb/p/3818410.html