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
missing NFS support error on Ubuntu hosts could be improved perhaps #1534
Comments
I wanted the most generic error message possible, I think this is the most generic since I quite literally need the NFS daemon. Perhaps I can say "NFS daemon" instead. It would be difficult to maintain a list to KB/Wikis for NFS for every distro. I'm happy to look at pull requests to re-word this. :) |
Thanks @mitchellh, I can definitely understand that. Since you distribute debian packages for Vagrant, how about adding nfs-common dependency to it? |
As I'm brand new to Vagrant and NFS, I got hooked with this error message and tried all kinds of |
apt-get install nfs-common works in ubuntu |
nfs-common is already the newest version and yet I'm getting the "your machine doesn't support NFS" error on a simple 'vagrant up' command Ubuntu 12.04 LTS |
|
@faviouz - this worked for me too on Ubuntu 12.04 LTS 64bit - thanks both are needed, not just nfs-common. When I had only installed nfs-common, I got this error: The following SSH command responded with a non-zero exit status. 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 Once I installed nfs-kernel-server too, this error did not occur So yes, use: I am using VirtualBox 4.3.2 with Vagrant 1.3.5 |
same here, u need both sudo apt-get install nfs-common nfs-kernel-server |
run this works for Ubuntu 15.10 |
|
Just reiterating @faviouz original comment for the thumbs up karma.
|
what exactly does one add to vagrantfile to get it of the ground all of these are post commands how about plain vagrant syntax |
OS X 10.11/10.12For me the solution was to change whatever
Change
BUT, I suppose the more secure-by-default solution is to add a symbolic link like so:
|
On arch linux: |
just to confirm, this command still works on Ubuntu 17.10 |
I've tried sudo apt-get install nfs-common nfs-kernel-server on Ubuntu 14.04 trusty and i'm still gettingt the same error |
This command works still works on Ubuntu 18.04:
|
This works for me on Ubuntu 18.10
|
|
sudo apt-get install nfs-common nfs-kernel-server still working on Ubuntu 18.04 24 Oct 2019 |
Above command works for me ( on Ubuntu 18.04 ). |
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. |
@mitchellh, I'm just nitpicking but perhaps the missing NFS support error could be improved in Ubuntu hosts?
The error reads:
nfsd is MacOSX specific (I think) and installing nfs-common package is good enough to make Vagrant 1.1.5 happy in Ubuntu (apparently). Since nfs-common isn't installed by default in Ubuntu installs, I guess this 'issue' will bite more people.
Since the package name is Ubuntu specific and Fedora, RHEL, whatever may need other packages, perhaps adding a link to a KB/wiki article or FAQ in the error output, listing this and recommending a 'fix' may be a good idea?
The text was updated successfully, but these errors were encountered: