Giter Site home page Giter Site logo

nfs mounting problems about vagrant-alpine HOT 5 CLOSED

maier avatar maier commented on June 14, 2024
nfs mounting problems

from vagrant-alpine.

Comments (5)

maier avatar maier commented on June 14, 2024

If the guest additions are actually installed there should be no need to mount the synced_folder using NFS. The VirtualBox guest additions provide this capability. Try bringing the VM up using just:

config.vm.synced_folder ".", "/home/web/project"

Otherwise, try using a static IP for the private_network to see if that addresses the issue. If it does, then I'd suspect there is an issue with the DHCP response. It looks like this error is occurring in the VirtualBox provider plugin:

ERROR vagrant: /opt/vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/providers/virtualbox/action/prepare_nfs_settings.rb:131:inrescue in read_dynamic_machine_ip'`

from vagrant-alpine.

arkady-emelyanov avatar arkady-emelyanov commented on June 14, 2024

Yeah, i know about synced_folder feature, they work fine. The problem is they are very slow in order to use in real project.

Ok, i'll try to check source of vagrant/vagrant-alpine.

from vagrant-alpine.

maier avatar maier commented on June 14, 2024

The code having an issue isn't part of vagrant-alpine, it is in:

/opt/vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/providers/virtualbox/action/prepare_nfs_settings.rb

which is part of the virtualbox provider plugin for vagrant.

from vagrant-alpine.

maier avatar maier commented on June 14, 2024

Also, with regards to NFS shares and Vagrant, take a look at the comment in the Vagrantfile.example it talks about using DHCP with NFS shares.

  #
  # Shared folders
  #
  # Note, for shared folders via NFS a static IP *must* be provided
  # until guest additions can be built and installed out of main.
  # The reason being that although a DHCP interface does successfully
  # get an IP, virtualbox is unaware of it and therefore cannot
  # provide it to Vagrant.

from vagrant-alpine.

arkady-emelyanov avatar arkady-emelyanov commented on June 14, 2024

@maier
I think you right, it's not and issue with plugin itself. Anyway, thanks for clues. I'll keep searching.
I'll close this issue.

from vagrant-alpine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.