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

Ubuntu 12.04 host error (and FIX) on Vagrant Up: " It appears your machine doesn't support NFS, or there is not an adapter to enable NFS on this machine for Vagrant" #2

Open
ianozsvald opened this issue Apr 12, 2013 · 16 comments

Comments

@ianozsvald
Copy link

Using a clean clone of today's repo:
$ vagrant up develop
results in:

Bringing machine 'develop' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:
vm:
* It appears your machine doesn't support NFS, or there is not an
adapter to enable NFS on this machine for Vagrant"

By following hashicorp/vagrant#1534 I installed the "nfs-common" package, then vagrant up develop got past this error.

@therobyouknow
Copy link

I also needed apt-get install nfs-kernel-server
(more detail here: hashicorp/vagrant#1941 (comment) )
otherwise I got this nasty error:

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

mount -o 'vers=3,udp' 33.33.33.1:'/home/hostmachinevagrantfolder/sites' /var/www

Stdout from the command:



Stderr from the command:

stdin: is not a tty
mount.nfs: requested NFS version or transport protocol is not supported

running the following means I don't get this error

apt-get install nfs-kernel-server

or

sudo apt-get install nfs-kernel-server

I'm on Ubuntu 12.04 LTS 64 bit (host machine)

@cardinall
Copy link

My error in Mac OSx is following
==> docker-host: Importing base box 'vagrant-docker-host'...
==> docker-host: Matching MAC address for NAT networking...
==> docker-host: Setting the name of the VM: Docker-Host_docker-host_1412960215811_81302
It appears your machine doesn't support NFS, or there is not an
adapter to enable NFS on this machine for Vagrant. Please verify
that nfsd is installed on your machine, and try again. If you're

have anyone solved it?

@danihodovic
Copy link

Thanks @therobyouknow

@Ryssa
Copy link

Ryssa commented Dec 4, 2015

Thanks @therobyouknow [2]

@richarddewit
Copy link

Thanks @therobyouknow [3]

@alexcracea
Copy link

Thanks @therobyouknow [4]

@chathudan
Copy link

Thank you @therobyouknow

@ajpen
Copy link

ajpen commented Sep 7, 2016

thanks @therobyouknow

@LivMac-Git
Copy link

Thanks @therobyouknow! This was also an issue for me on Linux Mint 18 with Vagrant 1.8.1 :)

@rfoel
Copy link

rfoel commented Sep 30, 2016

Thanks @therobyouknow

@dhy1050
Copy link

dhy1050 commented Oct 21, 2016

thanks @therobyouknow, it works for me

@swember
Copy link

swember commented Dec 20, 2016

Thanks, @therobyouknow!

@markl17
Copy link

markl17 commented Feb 23, 2017

how about for win10 machine

@goncy
Copy link

goncy commented Apr 11, 2017

Thank you! @therobyouknow

@inoas
Copy link

inoas commented Jul 31, 2017

@cardinall see a solution here: hashicorp/vagrant#1534 (comment)

I guess I messed up my default pathes by some awesome-bash, awesome-vim and/or brew operations.

@JimiPedros
Copy link

sudo apt-get install nfs-kernel-server

0 to upgrade, 0 to newly install

still get this issue when I run vagrant up

It appears your machine doesn't support NFS, or there is not anadapter to enable NFS on this machine for Vagrant. Please verifythat nfsd is installed on your machine, and try again. If you'reon Windows, NFS isn't supported. If the problem persists, pleasecontact Vagrant support.

Ubuntu trusty 14.04 WSL

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