昨天到客户处配置一nfs服务
不清楚他们的系统,只问了下网络情况,都是同一内网,没有任何限制,
所以直接配置了
|
service portmap start vi /etc/exports /home/data xxx.xxx.xxx.xxx(ro) service nfs start
|
一切都正常
再到client上
|
service portmap start mount -t nfs xxx.xxx.xxx.xxx:/home/data /home/data 就报rpc未注册 |
绕了一圈最后找原因原来他们机器的hosts.deny里拒绝了所有的机器的连接除了allow里的
在hosts.allow里加上client的ip就好了