?????????????? (??С??????????) ????????????У?


 

???????????????NFS
??????????????????????????????а???????????????????NFS ?????????? rpcbind ??Э?????а??? ??????????????

 

1 [root@www ~]# /service rpcbind start
2 # ??? rpcbind ????????????????????????????
3
4 [root@www ~]# service nfs start
5 # ??????Щ distributions ???????????μ????????
6 exportfs: /etc/exports [3]: No 'sync' or 'async' option specified
7 for export "192.168.100.10:/home/test".
8   Assuming default behaviour ('sync').
9 # ??????????????????????????????? sync ?? async ???????
10 # ?? NFS ????????? sync ?????????????????????????????? /etc/exports??
11
12 [root@www ~]# service nfslock start
13 [root@www ~]# chkconfig rpcbind on
14 [root@www ~]# chkconfig nfs on
15 [root@www ~]# chkconfig nfslock on

????????? NFS ???????趨??????????????? server ???????????????????????????????? showmount ?????????????
????1 [root@www ~]# showmount [-ae] [hostname|IP]
????2 ??????????
????3 -a ?????????????????? NFS ?????????????
????4 -e ?????????????? /etc/exports ??????????????
????5
????6 # 1. ?????????????????趨?????? exports ?????????
????7 [root@www ~]# showmount -e localhost
????8 Export list for localhost:
????9 /tmp         *
????????????????????????????????????? NFS ????????????? showmount -e IP (??hostname) ???????????????????? NFS client ???????????