• sudo apt-get install nfs-kernel-server
  • vi /etc/exports

追加

/mnt/nfsroot/rootfs *(rw,sync,no_root_squash,no_subtree_check)

  • showmount -e

Export list for ubuntu:
/mnt/nfsroot/rootfs *

客户端:


  • mount -t nfs -o rw -o nolock 192.168.1.163:/mnt/nfsroot/rootfs /tmp/work

标签: server, Ubuntu, mnt, nfs, rootfs, rw, no, nfsroot

相关文章推荐

添加新评论,含*的栏目为必填