[libvirt-users] error: internal error: missing backend for pool type 11 (zfs)

Michal Privoznik mprivozn at redhat.com
Tue Oct 3 06:44:10 UTC 2017


On 10/02/2017 11:42 PM, Nick Gilmour wrote:
> Hi all,
> 
> I'm trying to setup virt-manager with ZFS als storage on my Arch box. I
> have created a pool named virt-pool and tried to use it as storage. First
> with virt-manager and then in the terminal with virsh but I'm always
> getting the following errors:
> 
> 
> 
> *virsh # pool-define-as --name zfsvirtpool --source-name virt-pool --type
> zfserror: Failed to define pool zfsvirtpoolerror: internal error: missing
> backend for pool type 11 (zfs)*

Your libvirt was built without support for ZFS. You need to contact your
distribution manufacturer and ask them to enable it. Or build libvirt on
your own.

However, as I am writing these lines I realized two things:

1) there's no API to query loaded drivers/storage backends.

2) storage backends are static. While we have libvirt drivers in
separate modules (.so files) and load them at start up, it's not the
same story with storage driver backends. These are hardcoded into the
storage driver. Might be worth it to have them dynamically loadable too.

Michal




More information about the libvirt-users mailing list