From owner-freebsd-virtualization@freebsd.org Tue Oct 20 11:18:43 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E1BF3A19CCB for ; Tue, 20 Oct 2015 11:18:43 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward18p.cmail.yandex.net (forward18p.cmail.yandex.net [IPv6:2a02:6b8:0:1465::ab]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9AA0B81 for ; Tue, 20 Oct 2015 11:18:43 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from smtp17.mail.yandex.net (smtp17.mail.yandex.net [IPv6:2a02:6b8:0:1402::118]) by forward18p.cmail.yandex.net (Yandex) with ESMTP id 5114E2133E for ; Tue, 20 Oct 2015 14:18:30 +0300 (MSK) Received: from smtp17.mail.yandex.net (localhost [127.0.0.1]) by smtp17.mail.yandex.net (Yandex) with ESMTP id 15D5019003C1 for ; Tue, 20 Oct 2015 14:18:29 +0300 (MSK) Received: by smtp17.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id NppDBAm66x-ITmiB3xb; Tue, 20 Oct 2015 14:18:29 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-ForeignMX: US Subject: Re: libvirt + zvol + bhyve: no storage pool with matching name To: freebsd-virtualization@freebsd.org References: <562182B3.9040601@passap.ru> From: Boris Samorodov Message-ID: <56262305.906@passap.ru> Date: Tue, 20 Oct 2015 14:18:29 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <562182B3.9040601@passap.ru> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Oct 2015 11:18:44 -0000 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: > ----- > > OK, I figured this out. Source pool here is a libvirt pool, not a zfs one. > > > ----- > > 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