I have a Rocky Linux 9 system that is supposed to provide a storage pool for libvirt. ZFS is setup and working so far. However trying to use the ZFS backend in libvirt simply yields the following error message.
Error creating pool: Could not define storage pool: internal error: missing backend for pool type 12 (zfs)
A quick search on the internet shows that that one is required to install the libvirt-daemon-driver-storage-zfs-package. Unfortunately this package seems not to be available in the Rocky Linux 9 repositories.
In case anyone knows how to make this work would be greatly appreciated. I can’t understand why this wonderful way to do things would not be supported.
Unfortunately, this part is missing due to a Fedora configuration in the SPEC file. But you can easily fix this by rebuilding the package. I have attached the modified SPEC file.