Invalid argument problem on mounting SMB folder.

32 views
Skip to first unread message

Alex Aboimov

unread,
Mar 18, 2016, 12:53:33 PM3/18/16
to Vagrant
I have this lines in vagrantfile.

vs.vm.synced_folder ".", "/vagrant", type: "smb"
vs
.vm.synced_folder "vendor/", "/vagrant/vendor", type: "smb", owner: "vagrant", group: "vagrant", mount_options: ["dmode=755,fmode=644"]
vs
.vm.synced_folder "ansible/inventories/", "/vagrant/ansible/inventories", type: "smb", mount_options: ["fmode=666"]

For virtual box sharing this worked, but for smb it throws an error on second line. First completes well.

Alvaro Miranda Aguilera

unread,
Mar 18, 2016, 4:18:22 PM3/18/16
to vagra...@googlegroups.com
Hello,

What are the errors?

What happen if you use a simple mount?

vs.vm.synced_folder ".", "/vagrant", type: "smb"
vs
.vm.synced_folder "vendor/", "/vagrant/vendor", type: "smb"

vs
.vm.synced_folder "ansible/inventories/", "/vagrant/ansible/inventories"


--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/724fa76f-59f5-42e9-994d-faf6253fed45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages