NFS网络共享服务部署

1 [root@NFS-server ~]# /etc/init.d/nfs reload ===exportfs -r 2 [root@NFS-server ~]# cat /var/lib/nfs/etab 3 /data 192.168.1.0/24(rw,sync,wdelay,hide,nocrossmnt,secure,root_squash,all_squash,no_subtree_check,secure_locks,acl,anonuid=65534,anongid=65534,sec=sys,rw,root_squash,all_squash) 4 [root@NFS-server ~]# showmount -e 192.168.1.14 <==挂载前首先检查有权限需要挂载的信息 5 Export list for 192.168.1.14: 6 /data 192.168.1.0/24 <---可以看到共享/data目录

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/ba87b6a84c9ce46de904de738f650c47.html