升级到流浪者之后2.1.1我的流浪汉同步文件夹不再适用于osx最新主持人的centos / 7来宾,告诉我:
Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available. This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attempted was:
mount -t vboxsf -o uid=1000,gid=1000 vagrant /vagrant
The error output from the command was:
/sbin/mount.vboxsf: mounting failed with the error: No such device
$ vagrant plugin list
vagrant-cachier (1.2.1)
vagrant-hostmanager (1.8.8)
vagrant-vbguest (0.15.1)
$ vagrant box list
centos/7 (virtualbox, 1803.01)
node_config.vm.synced_folder ".", "/vagrant", type: "virtualbox"
任何遇到相同的人,和/或有解决方案提示吗?
答案 0 :(得分:1)
我在Vargant 2.0.3中遇到了这个问题,并通过SSH进入流浪盒并在出错后运行sudo yum update -y解决了这个问题。之后,一个流浪汉重新加载工作。我最终创建了自己的虚拟盒版本,已经更新了。
尝试
$vagrant ssh
然后
$sudo yum update -y
然后退出机器和
$vagrant reload
答案 1 :(得分:0)
确保您没有在共享文件夹中创建符号链接。出于安全原因,Virtualbox不允许在共享文件夹上使用符号链接。如果您进行符号链接并退出。
下次你
vagrant up
错误将发生
答案 2 :(得分:0)
我已切换到_cShock = NULL;
https://github.com/dustymabe/vagrant-sshfs
它似乎适用于不同的操作系统,并且还可以更好地处理文件访问权限。