NFS Seems to be the default for the first shared folder if native is tried to be used. #1202
Comments
Interesting... I remember having tested this specifically a few releases ago at least on macOS 10.11 and Windows 10. Can you try upgrading to Vagrant 1.9.2 and see if that works? Or try Vagrant 1.9.0 and see if that works? There were a lot of issues with NFS shares in 1.9.1... on Mac, Windows, and even Linux hosts. |
You know I think about it... and my logic is flawed... also we can't garentee that Virtualbox's shared folders will be used with "" as the type am I right? So it could be that NFS was what was selected as my default.
https://www.vagrantup.com/docs/synced-folders/basic_usage.html With that said, I upgraded to 1.9.2 and then started having issues with a different error message... which has nothing to do with what I've reported here obviously... saying
needless to say I didn't get my VMs back up and working on Windows and gave up when I found documentation that says that there is no support for Windows NFS (besides that one vagrant plugin). The easy way would be to see if there is some way to |
I can't right now, unfortunately... but as a short term workaround, would |
(Or |
SMB unfortunatly doesnt' support symlinking... shared folders I know do... and actually aren't Thaaaaaat bad... which is why I was fairly happy with them. The downside of rsync going only 1 way blows too unfortunately when you got files being built by the webserver if I recall... I do appreciate the suggestions though. Lastly, don't break you neck over this... Windows Dev has been a masochistic hobby of mine and this is one of the pain points :P. I use Mac for my day job, so life is still good! |
SMB does, as long as you run whatever terminal you're using to run For rsync, there's also two-way rsync plugins, and some people end up doing a reverse-SMB mount, or something like that. But in general, yeah, I want to make sure that |
So here's something... It appears that
is something up with the latest virtualbox install for me... I downgraded to 5.1.4 and all was well. As for the original problem reported... It appears that I was incorrect. Doing a dump gave me the correct properties I expected ( |
@generalredneck - Oh gosh, I completely missed that you were on 5.0.x—yeah, there were a few annoying bugs occurring with new Vagrant versions on VirtualBox 5.0.x, so I bumped that requirement recently to 5.1.x (I think 5.1.16 just came out too). |
Yeah I upgraded to 5.1.16 and that's when I started having the mount problem... so I reigned it in to an older 5.1 version |
Oh, ha, okay. Then it's good to know 5.1.16 may have introduced new fun issues. Also make sure to always install |
good to know! |
@generalredneck - I'm fairly certain it's VirtualBox 5.1.16 that's causing all this insanity; check out #1210 |
Issue Type
Your Environment
Your OS
Full console output
Summary
When using drupal-vm as a composer dependency, if I switch
type: nfs
to betype: ""
, it doesn't seem to make a difference. I believe this is because what ever is in./vendor/geerlingguy/drupal-vm/default.config.yml
is over loading what is in type. To prove this I put just a random string in type in config.yml to show it only happens whentype
is empty or an empty string. This probably has something to do with the merge properties algorithm located here.This was found during an upgrade from Vagrant 1.8.1 to Vagrant 1.9.1 where it seems that NFS has been explicitly banned from Windows in the mean time... Before it looks like they automagically set it to "shared" instead and I just didn't know any better :)
The text was updated successfully, but these errors were encountered: