Date: Tue, 20 Oct 2015 14:18:29 +0300 From: Boris Samorodov <bsam@passap.ru> To: freebsd-virtualization@freebsd.org Subject: Re: libvirt + zvol + bhyve: no storage pool with matching name Message-ID: <56262305.906@passap.ru> In-Reply-To: <562182B3.9040601@passap.ru> References: <562182B3.9040601@passap.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
17.10.2015 02:05, Boris Samorodov пишет: > 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'/> OK, I figured this out. Source pool here is a libvirt pool, not a zfs one. > <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, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56262305.906>