Open rhatdan opened 3 years ago
I don't have access to systems with extra LVM space to try this out.
I don't have access to systems with extra LVM space to try this out.
Hi @rhatdan!
I have added a Vagrantfile
for you in #99. Once we merge this PR.
You can run:
vagrant up
from the $root
of the project (This process should take around ~2 minutes)This will start a fedora33
VM with everything (docker, docker-lvm-plugin, a pseudo loopback device, pv, volume group, thinpool) installed/running.
You can just ssh
into the VM using vagrant ssh docker-lvm-plugin-fedora33
.
Once in, you can remove docker
and install podman
and try it out.
vagrant destroy
will completely destroy the VM for you.
@rhatdan Just tried this on the vagrant VM.
[root@fedora33 docker-lvm-plugin]# podman volume create --driver lvm --opt size=0.2G --opt vg=vg1 foobar
Error: error running volume create option: unrecognized volume option "size" is not supported with local driver: invalid argument
Looks like this is not supported today. Will try to debug, what's needed in the codebase.
rpm -q podman?
@mheon FYI
I believe this one will be fixed in 3.1.0
Podman now has volume support, interested whether this works with podman 3.0 or not.