kernel nfs

bz877426 NFS4-ACL limit to a small number(around 100)  ---------------->  WONTFIX

1.

  • cat >> /etc/exports
  • /export/nfs 10.xx.xx.xx/24(rw,no_root_sqush,fsid=0)
  • ===>
  • echo "/export/nfs 10.xx.xx.xx/24(rw,no_root_squash,fsid=0)" > /etc/exports

2.

  • service nfs start(include a step) service rpcidmapd start(use a command can list port opend) rpcinfo -p

3.设置配置文件指定server与client

  • 可以设置/etc/idmapd.conf文件为 
  • Verbosity = 0
  • Domain = todds.private
  • 同时设置/etc/hosts文件wei
  • 127.0.0.1  localhost localhost.localdomain
  • xx.xx.xx.xx nfs-client.todds.private nfs-client
  • xx.xx.xx.xx nfs-server.todds.private nfs-server
  • 设置完后就可以直接使用nfs-server nfs-client代替ip     eg: ping nfs-client
posted @ 2018-02-07 10:52  yieli  阅读(213)  评论(0编辑  收藏  举报