【问题标题】:Sharing an already shared location using NFS使用 NFS 共享已共享的位置
【发布时间】:2013-09-19 06:20:08
【问题描述】:

是否可以使用 NFS 与另一个系统共享一个共享位置?

例如:

共享位置会自动挂载并出现在 machine2 的 /etc/fstab 中:

machine1:/loc1  /shared_location  nfs defaults

我想使用 nfs 将文件夹 /shared_location 从 machine2 共享到 machine3。

我编辑了 /etc/exports 以添加该行:

/shared_location  machine2(rw,sync,no_root_squash)

当我尝试执行 mount 命令时(在 machine3 中):

mount -t nfs machine2:/shared_location  /new_shared_location

我得到错误:

mount: machine2:/shared_location /new_shared_location 失败, 服务器给出的原因:权限被拒绝

【问题讨论】:

    标签: filesystems mount nfs file-sharing


    【解决方案1】:

    似乎老问题...仍在回答。

    尝试在服务器上运行“sudo exportfs -v -a”。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-12-24
      • 2023-04-09
      • 2012-05-09
      • 1970-01-01
      相关资源
      最近更新 更多