linux nfs 配置

1、服务端修改/etx/exports 文件,配置规则
   eg:
      /home/test/work *(insecure,rw,async,no_root_squash)

     查看当前机器已经export的目录
     showmount -e

2、服务端检查nfs是否已开启 service nfs status,没有则开启 service nfs start(restart)

3、客户端mount
   mount -t nfs ip:/home/test/work/work /home/test/work
   查看是否mount成功
   df

猜你喜欢

转载自zheng19851.iteye.com/blog/2088066