我无法使用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
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。