New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
synced folders not mounting after vagrant reload
#7695
Comments
Same issue for me as well. |
+1 |
+1 with Windows. |
I can confirm this issue on |
+1 Same here:
After trying to resolve this issue unsuccessfully, I wrote a bash script to automatically remount my shared folders appropriately, so e.g.: for the default /vagrant mount: sudo mount -t vboxsf -o uid=1000,gid=1000 vagrant /vagrant Although this solution is temporary and nothing special really, it works. |
Windows only VistualBox v5.1.16 seems to not support long path prefix anymore (i.e. "\?\C:....") this inhibits the use of sync folder via vboxfs until it get fixed (and perhaps other fs as well) The only workaround I could come up with is turning this feature off directly in vagrant code. --- platform.rb.orig Sun Mar 12 11:19:15 2017
+++ platform.rb Sun Mar 12 11:09:25 2017
@@ -203,7 +203,8 @@
return path + "\\" if path =~ /^[a-zA-Z]:\\?$/
# Convert to UNC path
- "\\\\?\\" + path.gsub("/", "\\")
+ path.gsub("/", "\\")
end
# Returns a boolean noting whether the terminal supports color. This is not something vagrant should fix, but having a way of turning this feature off will make vagrant more robust (just in case this happens again). Note that because of this, there is no way to share folders with paths >260 Characters in this version of VirtualBox (just downgrade to at least 5.0.16) |
I have this issue on mac osx El Capitan 10.11.6 Initial vagrant up works perfectly. Vagrant up after halt or suspend does not. |
Hi there, It looks like this has been resolved within a previously shipped version of Vagrant so I am now closing this issue. If the original issue was not fully resolved, please reopen this issue or create a new one. Cheers! |
If Anyone is Facing this issue vbox "Syncing/Mount" just enter the Vagrant ssh where the vagrant file is without vagrant up and run the command "sudo yum upgrade" dat'll Take time once it's finished exit the vagrant and hit vagrant up again.Issue will resolved. .. :) |
Yes i am also facing same issue in my mac
|
@Bharathkumarraju try to do which i mentioned above. |
@Abhisheknanda1344463 thank you, I have removed vagrant-vbguest and ran it worked :) |
This shared folder mount issue is confirmed remaining in latest VirtualBox 6.0 and vagrant 2.2.2. |
This happened to me today on vagrant 2.2.4 , virtual box 6.0 , and Mac OS 10.14.3. it works the first time perfectly then after vagrant halt or reload it stops syncing. |
I seemed to fixed this after installing the latest edition of guest additions and following this (the accepted answer) : https://superuser.com/questions/1195928/how-do-i-install-virtualbox-guest-additions-for-centos-7. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
I realize this has been reported before, but the issue still exists. After
vagrant reload
(orvagrant halt
and thenvagrant up
) the synced folders do not mount and displays the error below. After reading other closed issues (like 3341), it is clear that the VirtualBox Guest Additions need to be updated. In fact, I updated them to the latest 5.1.2 and ranvagrant reload
and the synced folders mounted correctly.My question is this - @mitchellh are there any plans to update the ubuntu/trusty64 box on Atlas so it has a more recent version of VirtualBox Guest Additions? Sure I can create my own box or even update the box on my vagrant instance, but if I do a
vagrant destroy
I have to do this all over again. Having the Atlas version updated would persist through your auto-build process so we would get OS patches and also know that VirtualBox Guest Additions works correctly with synced folder mounting.Vagrant version
1.8.5
Host operating system
Mac OS X 10.11.5
Guest operating system
ubuntu/trusty64
Virtualbox Guest Additions Version (in ubuntu/trusty64 box)
4.3.36
Virtualbox version
5.1.2
Debug output
Expected behavior
The synced folders should mount every time after
vagrant reload
orvagrant halt
/vagrant up
Actual behavior
The synced folders don't mount after a
vagrant reload
Steps to reproduce
vagrant up
- the first time, the folder is mounted correctlyvagrant reload
- you will get the error aboveReferences
3341
The text was updated successfully, but these errors were encountered: