Public bug reported: In Ubuntu 16.04 it was possible to create zfs pools in libvirt. But this no longer works in 18.04:
# zpool create -oashift=12 zfs /dev/sdb # zfs set compression=lz4 zfs # zfs create zfs/images # virsh pool-define-as --name zfs --source-name zfs/images --type zfs error: Failed to define pool zfs error: internal error: missing backend for pool type 11 (zfs) Relates to #1561553 where this was fixed in 16.04. I expect libvirt is no longer being built with the right flags. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: libvirt0 4.0.0-1ubuntu8 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 Date: Mon Apr 30 09:03:59 2018 ProcEnviron: TERM=xterm-256color PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: libvirt UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: libvirt (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug bionic uec-images -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767973 Title: libvirt no longer has support for zfs pools (18.04 regression) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1767973/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs