2440-NFS挂载网络共享目录,出现 nfs: server 192.168.xxx.xxx not responding, still trying的解决办法

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/wang328452854/article/details/51304217

刚开始我的命令是:
mount –t nfs 192.168.199.142:/home/wxp/nfs_root /mnt –o nolock
结果一直都是在still trying 说nfs没有响应

起初一直以为是交换机的问题,但是试了好多次后,发现是nfs本身的问题,nfs默认是udp协议,因此使用下面的命令完美解决

mount -t nfs -o intr,nolock,rsize=1024,wsize=1024 192.168.199.142:/home/wxp/nfs_root /mnt

猜你喜欢

转载自blog.csdn.net/wang328452854/article/details/51304217
今日推荐