Skip to content

Overlayfs #1301

Answered by electrofelix
buckaroogeek asked this question in Q&A
May 31, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

I think what you are looking for is https://github.com/fgrehm/vagrant-cachier, although unmaintained, I believe it still works just fine. For VMs instead of an overlayfs, what is needed is a network filesystem that can be sync'ed between the host and guest. With the latest release of vagrant-libvirt it should be possible to use NFS, 9p, or virtiofs as the filesystem type.

I've also made use of a shared volume that is not deleted when the VM is shutdown and reattached on boot and used some scripts to mount it under the path needed.

Depends on which will work best for you.

Main issue is typically locking and multiple machines, so I generally configure the caching to be per machine rather th…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@buckaroogeek
Comment options

@buckaroogeek
Comment options

Answer selected by buckaroogeek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants