场景回溯

故障机器: 192.168.200.175

[odboy@localhost ~]#mount -t nfs 192.168.200.176:/odboy/files /odboy/files
mount.nfs: access denied by server while mounting 192.168.200.176:/odboy/files

解决方案

ssh 192.168.200.176
vim /etc/exports
# 追加授权:对应网段可挂载
/odboy/files 192.168.200.0/24(rw,sync,no_root_squash)
 
# 重启nfs服务
/usr/sbin/exportfs -a
/sbin/service nfs restart
 
# 重新挂载
mount -o nolock 192.168.200.176:/odboy/files /odboy/files