nfs mount failed: Connection timed out
linux挂载NFS的几个注意事项。在使用嵌入式Linux时,需要注意的几个问题。1. 服务端需要开启 nfs server2. 本机挂载,检查服务是否成功。3. 客户端通过Ping测试,检测网络连通。4. 客户端需要支持nfs client,在内核中进行配置$ make menuconfig ARCH=arm开启对NFS客户端的支持。cat /proc/filesystems 可以查看是否对NF
·
linux挂载NFS的几个注意事项。在使用嵌入式Linux时,需要注意的几个问题。
1. 服务端需要开启 nfs server
2. 本机挂载,检查服务是否成功。
3. 客户端通过Ping测试,检测网络连通。
4. 客户端需要支持nfs client,在内核中进行配置
$ make menuconfig ARCH=arm
开启对NFS客户端的支持。cat /proc/filesystems 可以查看是否对NFS有支持。
5. 参数设置
由于没有加-o nolock参数导致错误:mounting ... failed: Connection timed out。程序会卡住。
完整命令:mount -t nfs -o nolock -o vers=3 192.168.1.111:/root/nfs_share /udisk/share。
更多推荐


所有评论(0)