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

来源:互联网 发布:手机驱狗软件 编辑:程序博客网 时间:2024/04/29 00:22

刚开始我的命令是:
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

0 0