Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/cassandra/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Filesystems 使用NFS共享已共享的位置_Filesystems_Mount_Nfs_File Sharing - Fatal编程技术网

Filesystems 使用NFS共享已共享的位置

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中): 我得到一

是否可以使用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中):

我得到一个错误:

装载:machine2:/shared\u location/新\u shared\u location失败, 服务器给出的原因:权限被拒绝


似乎是个老问题。。。仍在回答

尝试在服务器上运行“sudoexportfs-v-a”

mount -t nfs machine2:/shared_location  /new_shared_location