【发布时间】: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