我在我的家庭服务器上设置了一个可用的 zpool 和数据集。我想设置 NFS 以通过我的 Mac 上的家庭网络访问 ZFS。
在 Ubuntu 方面,我有...
# apt-get install nfs-kernel-server# zfs set sharenfs=rw=@192.168.0.0/24,insecure tank/documents
# zfs share tank/documents# service nfs-kernel-server start
&& grep -q '^[[:space:]]*[^#]*/' $export_files,/etc/init.d/nfs-kernel-server因为我无法用空/etc/exports/文件启动服务器# showmount -e 验证目录是否已挂载的输出showmount -e是这样的。
Export list for ubuntu1404:
/tank/documents *
在 Mac 方面,我有...
$ rpcinfo -p 192.168.0.3 验证 NFS 在网络上可见$ mount -t nfs 192.168.0.3:/tank/documents /Users/me/Remote这最后一步是我卡住的地方。我不断收到“不允许操作”。
我一直在阅读,但我只找到了使用磁盘工具中的 …