客户端nfs挂载报错
mount.nfs: access denied by server while mounting 10.xx.xxx.151:/data
服务器端tail /var/log/message
rpc.mountd[28610]: refused mount request from 10.xx.xxx.151 for /data (/data): unmatched host
将 /etc/exports的ip替换为主机名
cat /etc/exports
/data HOSTNAME(rw,insecure,sync,no_wdelay,insecure_locks,no_root_squash)
mount.nfs: access denied by server while mounting 10.xx.xxx.151:/data
服务器端tail /var/log/message
rpc.mountd[28610]: refused mount request from 10.xx.xxx.151 for /data (/data): unmatched host
将 /etc/exports的ip替换为主机名
cat /etc/exports
/data HOSTNAME(rw,insecure,sync,no_wdelay,insecure_locks,no_root_squash)
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26585184/viewspace-1695998/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/26585184/viewspace-1695998/