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
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Reply via email to