加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

NFS与加密的ubuntu主目录

发布时间:2020-12-13 18:12:21 所属栏目:Linux 来源:网络整理
导读:我无法使用vagrant进行NFS设置: 在我的本地机器上我安装了NFS: apt-get install nfs-common nfs-kernel-server 在我的Vagrantfile中设置它使用: config.vm.share_folder("v-root","/vagrant",".",:nfs = true) 在流浪汉上我得到: exportfs: /home/user/p
我无法使用vagrant进行NFS设置:

在我的本地机器上我安装了NFS:

apt-get install nfs-common nfs-kernel-server

在我的Vagrantfile中设置它使用:

config.vm.share_folder("v-root","/vagrant",".",:nfs => true)

在流浪汉上我得到:

exportfs: /home/<user>/path/to/dir does not support NFS export

Mounting NFS shared folders failed. This is most often caused by the NFS
client software not being installed on the guest machine. Please verify
that the NFS client software is properly installed,and consult any resources
specific to the linux distro you're using for more information on how to
do this.

我在这里错过了一两步吗?

我知道ubuntus加密的主文件夹和NFS的一些问题,但我知道这只是在启动之前的问题.

[更新]我的/ etc / exports文件如下所示:

# VAGRANT-BEGIN: 5af3e5d6-b086-416d-8eab-987275445634
/home/<user>/path/to/dir 192.168.33.11(rw,no_subtree_check,all_squash,anonuid=1000,anongid=1000,fsid$
# VAGRANT-END: 5af3e5d6-b086-416d-8eab-987275445634

解决方法

实际上不可能在ecryptfs卷中通过NFS导出任何东西. exportfs: Warning: /home/user/share does not support NFS export

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读