Filesystems 使用NFS共享已共享的位置
是否可以使用NFS与其他系统共享共享位置 例如: 共享位置自动安装并显示在machine2的/etc/fstab中:Filesystems 使用NFS共享已共享的位置,filesystems,mount,nfs,file-sharing,Filesystems,Mount,Nfs,File Sharing,是否可以使用NFS与其他系统共享共享位置 例如: 共享位置自动安装并显示在machine2的/etc/fstab中: machine1:/loc1 /shared_location nfs defaults 我想使用nfs将文件夹/共享位置从machine2共享到machine3 我编辑了/etc/exports以添加行: /shared_location machine2(rw,sync,no_root_squash) 当我尝试执行mount命令时(在machine3中): 我得到一
machine1:/loc1 /shared_location nfs defaults
我想使用nfs将文件夹/共享位置从machine2共享到machine3
我编辑了/etc/exports以添加行:
/shared_location machine2(rw,sync,no_root_squash)
当我尝试执行mount命令时(在machine3中):
我得到一个错误:
装载:machine2:/shared\u location/新\u shared\u location失败,
服务器给出的原因:权限被拒绝
似乎是个老问题。。。仍在回答 尝试在服务器上运行“sudoexportfs-v-a”
mount -t nfs machine2:/shared_location /new_shared_location