Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

macOS Catalina NFS issues #163

Open
crofton77 opened this issue Nov 11, 2019 · 3 comments
Open

macOS Catalina NFS issues #163

crofton77 opened this issue Nov 11, 2019 · 3 comments

Comments

@crofton77
Copy link

When trying to run box on macOS Catalina I get this when trying to access the www directory
$ cd /var/www
-bash: cd: /var/www: Stale file handle

How can I fix the NFS mounts on macOS Catalina?

@stevenrombauts
Copy link
Member

Hi @hrtrulz, thanks for this report. Unfortunately, none of us has had the time to upgrade to Catalina yet, so I can not say for sure it's supposed to work out of the box.

First of all, can you make sure you are running the latest Vagrant version? Check your current version with vagrant --version, it should say 2.2.6

When you run vagrant up, there's a lot of output. Does it mention the path to
your mounted directories at all?

Once the box is running, does the output of showmount -e (on your host machine) contain your mounted directory or not? You should also check if the path is listed in the /etc/exports file on your host.

Do you also get the Stale file handle error if you try to look into the /vagrant/ directory? ie. cd /vagrant/

Does the situation improve if you sudo nfsd restart before vagrant up?

@johanjanssens
Copy link
Member

johanjanssens commented Nov 14, 2019

@stevenrombauts I'm the box on Catalina without issues. I'm using:

  • Vagrant 2.2.6
  • Virtualbox 6.0
  • Joomlatools Box: 1.5.1

Been smooth sailing


@hrtrulz There are NFS changes in Catalina that impact Vagrant. See: hashicorp/vagrant#10961

Possible solution for the Stale file handlehashicorp/vagrant#10961 (comment) same fix is discussed here: https://stackoverflow.com/questions/56959305/vagrant-failing-on-mounting-nfs-due-to-macos-catalina-beta-update

@jebbdomingo
Copy link
Member

@hrtrulz I'm on Catalina for 3 weeks now. I clean install (usb stick method) and didn't restore from backup, didn't encounter any issues.

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

No branches or pull requests

4 participants