This is a basic service configuration, but some errors are reported today. In summary:
1. Configure the kernel to support the NFS service. File System-> net File System-> nfs-related configuration.
2. Configure and enable the NFS service for the host. /Etc/rc. d/nfs start
3. Today's error:
Rpcbind: Server localhost not responding, timed out
RPC: failed to contact local rpcbind server (errno 5 ).
Rpcbind: Server localhost not responding, timed out
RPC: failed to contact local rpcbind server (errno 5 ).
Lockd_up: makesock failed, error =-5
Rpcbind: Server localhost not responding, timed out
RPC: failed to contact local rpcbind server (errno 5 ).
I started to check on the Internet and said that the RPC service was not started for half a day. Finally, the-O nolock option is added during mount to solve the problem.
Mount-O nolock 172.16.1.195:/Janson/mnt