hashicorp / vagrant

Vagrant is a tool for building and distributing development environments.
https://www.vagrantup.com
Other
26.19k stars 4.43k forks source link

SMB Mount error: Unable to find suitable address #9652

Open anrizal opened 6 years ago

anrizal commented 6 years ago

Vagrant version

2.0.3

Virtual Box Version

5.2.8 r121009

SMB Version

SMB Version 3

Host operating system

Windows 10 build 16299

Guest operating system

ubuntu 16.04

Vagrantfile

config.vm.synced_folder HOST_FOLDER_SF, GUEST_FOLDER_SF, :owner=> 'vagrant', :group=>'www-data', type:'smb', mount_options: ['vers=3.0']

Debug output

https://gist.github.com/anrizal/d59006dd99444ae68e0cf252751c3dff

Expected behavior

The shared folder supposed to be mounted

Actual behavior

Sometime I found the following error.

The error output from the last command was: Unable to find suitable address.

Note

uxrobinson commented 4 years ago

Team member running into the same issue (always/every run) when trying to add any mount_options even when mount_options is blank.

config.vm.synced_folder ".", "/app", type: "smb", :mount_options => ["vers=3.0","rw","file_mode=0664","dir_mode=0775"]

or

config.vm.synced_folder ".", "/app", type: "smb", :mount_options => []

Windows 10, Powershell 5.1.18362.145