How does lxc interact with storage volumes? Is it linked against some OS libraries that expose LVM functionality? Is it statically linked against something that was present on the build-box? Does it do system-calls under the hood?
A quick search on the projects github page didn’t come up with any hit for lvm.
Yes, and the LVM tools are bundled inside the snap package rather than using the ones installed on the host.
However you can use sudo snap set lxd lvm.external=true and sudo systemctl reload snap.lxd.daemon to get LXD to use the host’s LVM tools (and config files).
Thanks for all the input, @tomp , I hear what you’re saying, we’re currently looking at our options.
We’re not too keen on the whole snaps idea, but also reluctant to become a “package maintainer” and build LXD in house to go w/ the current release of Ubuntu. So we’re weighing up alternative approaches atm, e.g. abandon Ubuntu for Debian … but making an informed decision on the benefits vs risks will take a while and probably won’t happen this side of Christmas.