Date: Sat, 17 Oct 2015 02:05:23 +0300 From: Boris Samorodov <bsam@passap.ru> To: freebsd-virtualization@freebsd.org Subject: libvirt + zvol + bhyve: no storage pool with matching name Message-ID: <562182B3.9040601@passap.ru>
next in thread | raw e-mail | index | archive | help
Hi All,
I try to use libvirt to run a zvol-backed vm. The vm starts just fine
if run from a command line. But libvirt does not create a domain
(raw file images work though). Here is the output:
-----
% virsh create test.xml
error: Failed to create domain from test.xml
error: Storage pool not found: no storage pool with matching name 'zroot'
-----
The relevant part from the config:
-----
<disk type='volume' device='disk'>
<source pool='zroot' volume='test'/>
<target dev='vdb' bus='virtio'/>
</disk>
-----
The host:
-----
zfs get type,volmode zroot/test
NAME PROPERTY VALUE SOURCE
zroot/test type volume -
zroot/test volmode dev local
% uname -a
FreeBSD bb055.bsnet 11.0-CURRENT FreeBSD 11.0-CURRENT #2 r289095: Sat
Oct 10 05:10:17 MSK 2015 bsam@bb055.bsnet:/usr/obj/usr/src/sys/BB64X
amd64
% pkg info -x virt
libvirt-1.2.20
-----
Is it just me, a bug or something else?
Thanks!
--
WBR, bsam
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?562182B3.9040601>
