Giter VIP home page Giter VIP logo

Comments (5)

kiesel avatar kiesel commented on May 30, 2024

Seeing this, too.

from vagrant-persistent-storage.

 avatar commented on May 30, 2024

For reference, you can set config.persistent_storage.manage to false and it will skip attempting to instantiate the disk. You can then write your own script to mount the disk.

I adapted the one from /lib/vagrant-persistent-storage/manage_storage.rb:31. However, I don't believe this script will work as is. For example this condition, [[``lvs #{vg_name}-vg1 | grep #{mnt_name}``]] would not work. I believe it needs to be grepping for the devices name, not the mount name.

And after all that, the plugin was also erroring when destroying a box.

I ended up resolving myself to the fact that boxes would not be destroyed often and it shouldn't surprise anyone that their DB would be destroyed also so they should take a backup. So I gave up on this plugin. I still create a second disk, but it's not persistent.

from vagrant-persistent-storage.

kobbe82 avatar kobbe82 commented on May 30, 2024

Same here, windows 8.1, virtualbox and vagrant 1.4.2

from vagrant-persistent-storage.

bucatzel avatar bucatzel commented on May 30, 2024

Same here. It worked without a hitch on ubuntu and mac, but under Windows 7 i got the same error.

Changing

tmp_script = "/tmp/disk_operations_#{mnt_name}.sh"
to
tmp_script = "c:/disk_operations_#{mnt_name}.sh"
in manage_storage.rb seems to have done the trick.

from vagrant-persistent-storage.

kusnier avatar kusnier commented on May 30, 2024

This is already fixed.

from vagrant-persistent-storage.

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.