Skip to content
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

NFS mount synced folder access denied, Windows #4

Open
yujinlim opened this issue Jan 16, 2015 · 0 comments
Open

NFS mount synced folder access denied, Windows #4

yujinlim opened this issue Jan 16, 2015 · 0 comments

Comments

@yujinlim
Copy link

Hi,

I have encountered a problem when I was trying to run vagrant up on the sample Vagrantfile that you have posted.

Error:

The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

mount -o 'nolock,vers=3,udp' 192.168.33.1:'/E/yujin'\''s projects/YSCoreOsVagrant' /home/core/vagrant

Stdout from the command:

Stderr from the command:

mount.nfs: access denied by server while mounting 192.168.33.1:/E/yujin's projects/YSCoreOsVagrant

Vagrantfile

VAGRANTFILE_API_VERSION = "2"

Vagrant.require_version ">= 1.5.0"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  config.vm.box = "yungsang/coreos"

  config.vm.network "forwarded_port", guest: 2375, host: 2375

  config.vm.network "private_network", ip: "192.168.33.10"

  config.vm.synced_folder ".", "/home/core/vagrant", id: "core", type: "nfs", mount_options: ["nolock", "vers=3", "udp"]

  # config.vm.provision :docker do |d|
  #   d.pull_images "yungsang/busybox"
  #   d.run "simple-echo",
  #     image: "yungsang/busybox",
  #     args: "-p 8080:8080",
  #     cmd: "nc -p 8080 -l -l -e echo hello world!"
  # end

  config.vm.network :forwarded_port, guest: 8080, host: 8080
end

My env
Windows 8.1
Vagrant 1.7.2
With installation of Winnfsd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant