Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Dec 2023 19:36:13 -0800
From:      David Christensen <dpchrist@holgerdanske.com>
To:        freebsd-questions@freebsd.org
Subject:   VirtualBox 7.0, FreeBSD 12.4-RELEASE-amd64, ZFS, and bootpool
Message-ID:  <b390469a-d68d-491b-8373-a2258dc238b0@holgerdanske.com>

next in thread | raw e-mail | index | archive | help
freebsd-questions:

If I use VirtualBox 7.0 (on Debian 11.8 amd64) to create a 
FreeBSD-12.4-RELEASE-amd64 virtual machine with BIOS (MBR), ZFS boot, 
encrypted swap, and encrypted ZFS root, the boot pool is not imported 
automatically when the system boots:

root@geneweb:~ # freebsd-version ; uname -a
12.4-RELEASE-p9
FreeBSD geneweb 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC  amd64

root@geneweb:~ # zpool import
    pool: bootpool
      id: 16038363864467226171
   state: ONLINE
  action: The pool can be imported using its name or numeric identifier.
  config:

	bootpool    ONLINE
	  ada0s1a   ONLINE


Why?


I have seen the defect since FreeBSD-12.1-RELEASE-amd64.  I do not know 
if it was present earlier.


How do I arrange for bootpool to be imported automatically at boot?


David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b390469a-d68d-491b-8373-a2258dc238b0>