[Pkg-libvirt-maintainers] Bug#827245: missing backend for pool type 11 (zfs)

Craig Sanders cas at taz.net.au
Tue Jun 14 03:21:18 UTC 2016


Package: libvirt-clients
Version: 1.3.5-1


# virsh pool-define-as --name zfspool --source-name export --type zfs
error: Failed to define pool zfspool
error: internal error: missing backend for pool type 11 (zfs)


ZFS support has been in upstream for FreeBSD since version 1.28:

https://libvirt.org/storage.html#StorageBackendZFS

and for ZFS-on-Linux since Feb this year, as mentioned in
/usr/share/doc/libvirt-clients/changelog.gz:

 : 2016-02-04 Roman Bogorodskiy <bogorodskiy at gmail.com>
 :
 : configure: zfs: enable on Linux
 :
 : ZFS-on-Linux implementation of ZFS starting with version 0.6.4
 : contains all the features we use. Additionally, as we support
 : 'volmode' option handling that's not available on ZoL but is
 : available on FreeBSD, there is no need to block ZFS storage driver
 : on Linux anymore.
 :
 : So un-mark zfs storage driver as FreeBSD-only.



I've been manually creating ZVOLs and accessing them in libvirt VMs
(with a 'dir' storage pool pointing to /dev/zvol/export/volumes) for
years, but it would be useful to be able to manage them directly with
virsh or virt-manager.

craig

-- 
craig sanders <cas at taz.net.au>



More information about the Pkg-libvirt-maintainers mailing list