问题描述:挂载nfs时,mount 回车后无提示卡机;经长时间后提示connect timeout
1、检查nfs服务配置,配置过程教程略
一般按照网上教程配置,不会出错。
2、mount 时加上详细选项定位问题:mount -v -t nfs -o nolock 192.168.200.100:/data /nfs
或者 结合 strace mount :
strace mount 后系统调用返回值,
cat /etc/export 及
showmount -e 192.168.200.100 确实有声明共享/data目录(略)
mount -v -t nfs -o nolock 192.168.200.100:/data /nfs 提示:n