NFS与加密的ubuntu主目录

前端之家收集整理的这篇文章主要介绍了NFS与加密的ubuntu主目录前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我无法使用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
@H_502_23@解决方法
实际上不可能在ecryptfs卷中通过NFS导出任何东西. exportfs: Warning: /home/user/share does not support NFS export
原文链接:https://www.f2er.com/linux/401265.html

猜你在找的Linux相关文章