Article Title: Answers to the NFS file mount timeout in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Many users who have used the Linux NFS service have encountered the NFS file mount timeout problem.
I have studied this question for a long time before I find out the reason. I will share it with you briefly.
As for how to deploy NFS, many tutorials are available on the Internet. The key point is to modify the/etc/hosts file. The NFS service is actually the communication between two machines. First, let them identify each other, not only do hosts location on the client, but also do hosts location on the server.
Modify the/etc/hosts file:
Client B: 192.168.201.1
Server a: 192.168.201.2 B
In this way, the mount will not experience timeout issues.