服务器端配置 /etc/exports
/data 10.41.1.80:/data
本地挂载 mount -t nfs 10.41.1.80:/data /mnt 成功
客户端挂载失败提示如下:
[root@NFS-client01 ~]# mount -t nfs 10.41.1.80:/data /mnt
mount.nfs: access denied by server while mounting 10.41.1.80:/data
正确配置 vi /etc/exports
/data 10.41.1.*/24(rw,sync)
转载于:https://blog.51cto.com/11956937/1965204