挂载的NFS目录经常‘卡’
环境
centos 7.x
问题
通过nfsstat -m查看发现NFS使用的vers=4.1版本,通过dmesg | grep -i nfs也可以看到很多如下信息
nfs: server 192.168.11.62 not responding,still trying
NFS: nfs4_reclaim_open_state:Lock reclaim failed!
解决方案
yum update到centos7.9
重启系统
修改/etc/fstab中挂载的NFS卷,使用vers=4.0版本
1 | 192.168.11.xx:/proj /proj nfs defaults,vers=4.0 0 0 |



