Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When “vagrant up” it says “It appears your machine doesn't support NFS” (Debian jessie)

Issue

when vagrant up it says "It appears your machine doesn't support NFS"

Setups

  • Debian GNU/Linux 8 (jessie)
  • Vagrant 1:2.0.0
  • Virtualbox 5.1.30 r118389

Detail

After using apt-get to update and upgrade the system, I basically followed the instruction from the Mediawiki page, since I wanted to install Mathoid to render LaTeX equations locally for mediawiki page.

However, when I vagrant up it echos the following:

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
on Windows, NFS isn't supported. If the problem persists, please
contact Vagrant support.

I checked if nfsd is correctly working on the host, and it says it's enabled.

# /etc/init.d/nfs-kernel-server status
nfs-kernel-server.service - LSB: Kernel NFS server support
Loaded: loaded (/etc/init.d/nfs-kernel-server)
Active: active (running) since Sun 2017-10-15 07:56:32 -02; 2 weeks 0 days ago
CGroup: /system.slice/nfs-kernel-server.service
       ??1277 /usr/sbin/rpc.mountd --manage-gids

I also tried google, and did not find a solution that fits my problem and I couldn't find any hint to resolve this. For instance, I tried to install the package

sudo apt-get install nfs-common

But it has been already installed. Thank you in advance.

like image 951
gamebm Avatar asked Oct 29 '17 21:10

gamebm


2 Answers

The command mentioned below works for linux mint 18.3:

sudo apt-get install nfs-common nfs-kernel-server
like image 88
Bimal Avatar answered Sep 25 '22 05:09

Bimal


For Windows users seeing that error, run the following command to add support for NFS for Vagrant:

vagrant plugin install vagrant-winnfsd

The GitHub repo for this plugin is found here.

Also, to see the currently installed Vagrant plugins run this:

vagrant plugin list
like image 40
Voicu Avatar answered Sep 23 '22 05:09

Voicu