小编425*_*esp的帖子

Linux 上的 ZFS:使用 OS X Mavericks 客户端在 Ubuntu 14.04 上设置 NFS

我在我的家庭服务器上设置了一个可用的 zpool 和数据集。我想设置 NFS 以通过我的 Mac 上的家庭网络访问 ZFS。

在 Ubuntu 方面,我有...

  • # apt-get install nfs-kernel-server
  • # zfs set sharenfs=rw=@192.168.0.0/24,insecure tank/documents
    • 应该允许 192.168.0.0 - 192.168.0.255
    • 需要不安全,以便 mac 在大于 1024 的端口上连接
  • # 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

这最后一步是我卡住的地方。我不断收到“不允许操作”。

我一直在阅读,但我只找到了使用磁盘工具中的 …

nfs mount macosx zfs

8
推荐指数
2
解决办法
2万
查看次数

标签 统计

macosx ×1

mount ×1

nfs ×1

zfs ×1