???????????????????????????????????????洢????????????д???е??????г???檔????NFS-Network File System??????????????NFS????й????????
????????NFS
????????????????????????????e????????????????????????裬?????????????y黳?????????????????NFS???
????NFS????Network File System???д??????????????????????????FreeBSD??????????е???????????NFS. NFS?????????????????????????????????????????NFS????????????????????????????????????????????NFS?????????繲??????????????????????????????????????????????“???”???????????????????????????????????????????Щ?????????????NFS ?????????????ν??????????? (RPC)?????????????????????? NFS ????? ???????? RPC ?????????а?????? NFS ??????????????? PC ???????????? NFS ????????????????????????????????У? ?????????????????????????????????????????????????????????? (partition)??????????????????

???????????????????????? NFS ???????趨???????????? /home/sharefile ????????????? NFS ????????????????????????????????????? (?????????????)????????????е? NFS client 1 ?? NFS client 2 ???????????????????? NFS client 1 ???н??? /home/data/sharefile ?????????? NFS ??????????? /home/sharefile ???μ??????????? (???????????????^_^)????? /home/data/sharefile ???? NFS client 1 ??????????????? partition ?????????????????????? cp?? cd?? mv?? rm... ??????????????????????????????
????NFS????????????
????RPC??????rpcbind
????????? NFS ?????????????? RPC ???????????κ???? RPC ???????????????????? port ???? (mapping) ????????У?????????????? rpcbind ??????????????????????? ??????κ???? RPC ??????????????????? rpcbind ???У?
????NFS??????nfs-utils
???????? rpc.nfsd ?? rpc.mountd ?????? NFS daemons ????????? documents ????????????????????????????? NFS ?????????????????????????????
??????????????CentOS6.5????????????????????У???е??????а????????????????У???????????????д??????
????1  rpm -qa | grep nfs  #?????????nfs
????2  rpm -qa | grep rpcbind  #?????????rpcbind
????NFS??
????????????????????????????????????????????? /etc/exports ???????? rpcbind (?????????????????????)?????????? nfs ????? NFS ?????? ???????????趨??????????Ч????????????????????趨??????????????????????????????? /etc/exports ???????趨????Щ distributions ???????????? /etc/exports ????????????????????????????ɡ????????????????
????method 1:
????1 [root@www ~]# vim /etc/exports
????2 /tmp         192.168.100.0/24(ro)
????3 [??????]   [????(???)]
????method 2:
????1 [root@www ~]# vim /etc/exports
????2 /tmp            localhost(rw)
????3 [??????]   [??????(???)]
????method 3:
????1 [root@www ~]# vim /etc/exports
????2 /tmp        *(ro??sync)
????3 [??????]   [???????????(???)]