1. Verify the rpcinfo slave Client
# Rpcinfo-P nfsserverip. The TCP/UDP ports opened on the server are displayed. It is enabled by default, and the client can choose to use 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 to check whether the rpcbind port on the server is enabled
3. Telnet nfsserverip 2049 to check whether the nfsd port on the server is enabled.
4. showmount-e nfsserverip to check whether all NFS shares can be listed.
5. Mount-t nfs server/nfs/client/path to mount the NFS shared directory to the local machine.