From owner-freebsd-questions@freebsd.org Mon Feb 5 15:23:47 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ECC6EED0182 for ; Mon, 5 Feb 2018 15:23:46 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 77EB777FEA for ; Mon, 5 Feb 2018 15:23:46 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from roundcube.fjl.org.uk (localhost [127.0.0.1]) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id w15FNhXT060649 for ; Mon, 5 Feb 2018 15:23:43 GMT (envelope-from frank2@fjl.co.uk) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 05 Feb 2018 15:23:43 +0000 From: Frank Leonhardt To: freebsd-questions@freebsd.org Subject: Re: Dualboot and ZFS Organization: FJL Microsystems In-Reply-To: <20180131082738.GA46395@admin.sibptus.transneft.ru> References: <20180115051308.GA45168@admin.sibptus.transneft.ru> <20180115125241.GB60956@admin.sibptus.transneft.ru> <20180115144747.GA65526@admin.sibptus.transneft.ru> <20180115151526.GA66342@admin.sibptus.transneft.ru> <20180116034929.GB89443@admin.sibptus.transneft.ru> <20180131082738.GA46395@admin.sibptus.transneft.ru> Message-ID: <547e65d16ef16667f61d88463ca73079@roundcube.fjl.org.uk> X-Sender: frank2@fjl.co.uk User-Agent: Roundcube Webmail/0.9.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Feb 2018 15:23:47 -0000 On 2018-01-31 08:27, Victor Sudakov wrote: > My pool works successfully in a bhyve environment, but in VirtualBox > 5.0.14 > (to test the real boot sequence) I get this message from zfsboot: > > zfsboot: No ZFS pools located, can't boot > > However, if I boot from LiveCD, the pool is there, it's healthy and > can be imported. > > Why is it that zfsboot is not finding the pool? Is it because the pool > has been created in /dev/ada0s1a instead of /dev/ada0s1 ? Seems likely! zfsboot will attempt to get a pool together from BIOS-visible disks. That probably means MBR but your BIOS may vary - especially one on a virtual environment. gptzfsboot might do better. But I'd look at the virtual machine BIOS configuration first. Once you've booted (e.g. from a LiveCD), disks and slices not visible to the BIOS become fair game for forming a zpool. Regards, Frank.