New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shared disks not configured properly when following the vagrant-libvirt documentation #648
Comments
nice pull request, but i can't find "merge" button :) |
You will also want to disable any and all QEMU caching modes on such disks (e.g. cache=none) so you should add that to the PR. That may or may not fix qcow2 too btw. |
According to the libvirt documentation caching should already be disabled when the shareable flag is set:
Anyway, I'll prepare a proper PR so we can continue the discussion there |
epienbroek
added a commit
to epienbroek/vagrant-libvirt
that referenced
this issue
Sep 7, 2016
To simulate shared SAN storage an additional libvirt disk property needs to be set which disables caching. Also updated the documentation to document this new property and added an example on how to simulate shared SAN storage Closes vagrant-libvirt#648
epienbroek
added a commit
to epienbroek/vagrant-libvirt
that referenced
this issue
Sep 7, 2016
To simulate shared SAN storage an additional libvirt disk property needs to be set which disables caching. Also updated the documentation to document this new property and added an example on how to simulate shared SAN storage Closes vagrant-libvirt#648
vuntz
added a commit
to vuntz/suse-cloud-vagrant
that referenced
this issue
Nov 4, 2016
vuntz
added a commit
to vuntz/suse-cloud-vagrant
that referenced
this issue
Nov 4, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is section in the vagrant-libvirt documentation (https://github.com/vagrant-libvirt/vagrant-libvirt#additional-disks) which mentions the use of shared disks:
In our situation we want to simulate shared SAN storage so we decided to set 'allow_existing' to true.
It turns out that two additional changes are needed to get simulated SAN storage working correctly with vagrant-libvirt:
To fix issue 1 I had to apply the following change against vagrant-libvirt:
This adds an additional property which users can set in the Vagrantfile for each disk.
To properly create shared disks the following should be sufficient to add to the Vagrantfile:
If you consider this approach to be correct then I'll create a pull request for it which also updates the documentation
The text was updated successfully, but these errors were encountered: