输入“exportfs -a”时发生错误

输入“exportfs -a”时发生错误

怎么样?我正在使用 ubuntu14.04。

  • 第一的,sudo apt-get install nfs-kernel-server nfs-common
  • 其次sudo gedit /etc/exports,添加以下行: # Share 'roach_boot' directory/srv/roach_boot 192.168.100.0/24(rw,subtree_check,no_root_squash,insecure)
  • 最后,exportfs -a
  • 此时终端显示: sandang@wz-sandang:/etc$ sudo exportfs -a

exportfs: No options for to NFS: suggest NFS(sync) to avoid warning

exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "NFS:to".

Assuming default behaviour ('no_subtree_check').

NOTE: this default has changed since nfs-utils version 1.0.x

请问这是什么原因?如能回复我将不胜感激!

相关内容