如何解决与NFS问题相关的游荡错误?

问题描述 投票:0回答:1

今天早上我遇到了一个非常奇怪的问题。当我重新启动计算机并尝试运行vagrant up时,出现此错误;

==> default: Mounting NFS shared folders...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
mount -o vers=3,rw,tcp,nolock,noacl,async 10.0.1.1:/Users/me/code /vagrant
Stdout from the command:
Stderr from the command:
mount.nfs: requested NFS version or transport protocol is not supported

我没有更改任何配置设置,也没有更新我的机器或任何东西。据我所知,没有任何改变。是什么赋予了?任何人对于这个问题是什么以及我可以采取什么措施都有任何想法?

nfs vagrantfile vagrant-provision
1个回答
0
投票

对于遇到相同问题的任何人,您似乎都找不到其他解决方案,我的问题不在我的127.0.0.1 localhost文件中/etc/hosts。不知道它丢失的方式或原因,但是在重新添加时,它解决了该问题。

© www.soinside.com 2019 - 2024. All rights reserved.