1、问题描述
错误如下:
# mount -t nfs -o nolock 192.168.137.200:/home/cat/nfs /mnt
nfs: server 192.168.137.200 not responding, timed out
mount: mounting 192.168.137.200:/home/cat/nfs on /mnt failed: Input/output error
2、问题解决
NFS默认使用的是 UDP协议,在客户端把协议改成TCP解决。
mount -t nfs -o tcp,nolock 192.168.137.200:/home/cat/nfs /mnt