Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Feb 2018 15:23:43 +0000
From:      Frank Leonhardt <frank2@fjl.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: Dualboot and ZFS
Message-ID:  <547e65d16ef16667f61d88463ca73079@roundcube.fjl.org.uk>
In-Reply-To: <20180131082738.GA46395@admin.sibptus.transneft.ru>
References:  <20180115051308.GA45168@admin.sibptus.transneft.ru> <VI1PR02MB12007D071EA5398373D2189CF6EB0@VI1PR02MB1200.eurprd02.prod.outlook.com> <20180115125241.GB60956@admin.sibptus.transneft.ru> <VI1PR02MB1200C7F0066F361E60A6CBEDF6EB0@VI1PR02MB1200.eurprd02.prod.outlook.com> <20180115144747.GA65526@admin.sibptus.transneft.ru> <VI1PR02MB120018D174817F8FFB2981D5F6EB0@VI1PR02MB1200.eurprd02.prod.outlook.com> <20180115151526.GA66342@admin.sibptus.transneft.ru> <a7920f859b666cff48f4f73ee1b2f954@dweimer.net> <20180116034929.GB89443@admin.sibptus.transneft.ru> <20180131082738.GA46395@admin.sibptus.transneft.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?547e65d16ef16667f61d88463ca73079>