freebsd-vagrant icon indicating copy to clipboard operation
freebsd-vagrant copied to clipboard

Resolve frequent stale NFS file/handle issues.

Open xironix opened this issue 11 years ago • 3 comments

This is likely because I failed to include nfs_client_enable="YES" in /etc/rc.conf.

xironix avatar Mar 27 '13 09:03 xironix

route get 127.1.1.1 | tr -d ' ' | grep gateway | awk -F':' '{print $2}

empty return

s.args = "/SOURCE/DIR /DEST/DIR"

error

denji avatar Mar 28 '13 00:03 denji

You need to change /SOURCE/DIR to the directory you want to export on the host system, for instance on Mac OS X something like /Users/YOUR_USER_NAME and /DEST/DIR to be where you want it to be exported, such as /vagrant

xironix avatar Mar 28 '13 01:03 xironix

@xironix

  • [x] NFS native
Vagrant::Config.run do |config|
  config.vm.share_folder("v-root", "/vagrant", ".", :nfs => true)
end
  • [x] NFS run sudo
sudo vagrant up # modification /etc/exports
  • [ ] Minimal install distro (without chef, java, etc.. shit)

denji avatar Apr 02 '13 14:04 denji