From nobody Sun Dec 31 08:34:06 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T2sq15SsPz55FPD for ; Sun, 31 Dec 2023 08:34:21 +0000 (UTC) (envelope-from alex@alexburke.ca) Received: from out-176.mta1.migadu.com (out-176.mta1.migadu.com [IPv6:2001:41d0:203:375::b0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4T2sq04yXVz3GMZ for ; Sun, 31 Dec 2023 08:34:20 +0000 (UTC) (envelope-from alex@alexburke.ca) Authentication-Results: mx1.freebsd.org; none Date: Sun, 31 Dec 2023 09:34:06 +0100 (GMT+01:00) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alexburke.ca; s=key1; t=1704011651; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6hIbK9xkqGEhOEgxQCBYlSwgk9QjVkkMK3mjOkUbg7U=; b=cMmqadRHGHvDslZKgihMMFUzO9ulE/TI6Ui8M2zgVKWjDPKRQDEG0FkNFoBkGOUC1KZ90T sJ4FytklosmyiAnlNsIL7u/kZ/K5ZneAWGS3vfa5+u6fnG/qZR8VreMdeEbj/+mBYYaVCs i7Ubix2UlyzP3oK7l1LdX1/SeXIOofE= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Alexander Burke To: David Christensen Cc: freebsd-questions@freebsd.org Message-ID: In-Reply-To: References: Subject: Re: VirtualBox 7.0, FreeBSD 12.4-RELEASE-amd64, ZFS, and bootpool List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Correlation-ID: X-Migadu-Flow: FLOW_OUT X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4T2sq04yXVz3GMZ Hi David, FreeBSD 11 is deprecated and out of support. Have you tried with a newer ve= rsion? Quite a few changes to ZFS have happened since then, including the s= witch to OpenZFS. Cheers, Alex ---------------------------------------- Dec 31, 2023 04:36:42 David Christensen : > freebsd-questions: >=20 > If I use VirtualBox 7.0 (on Debian 11.8 amd64) to create a FreeBSD-12.4-R= ELEASE-amd64 virtual machine with BIOS (MBR), ZFS boot, encrypted swap, and= encrypted ZFS root, the boot pool is not imported automatically when the s= ystem boots: >=20 > root@geneweb:~ # freebsd-version ; uname -a > 12.4-RELEASE-p9 > FreeBSD geneweb 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC=C2=A0 amd= 64 >=20 > root@geneweb:~ # zpool import > =C2=A0=C2=A0=C2=A0 pool: bootpool > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 id: 16038363864467226171 > =C2=A0=C2=A0 state: ONLINE > =C2=A0 action: The pool can be imported using its name or numeric identif= ier. > =C2=A0 config: >=20 > =C2=A0=C2=A0=C2=A0 bootpool=C2=A0=C2=A0=C2=A0 ONLINE > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ada0s1a=C2=A0=C2=A0 ONLINE >=20 >=20 > Why? >=20 >=20 > I have seen the defect since FreeBSD-12.1-RELEASE-amd64.=C2=A0 I do not k= now if it was present earlier. >=20 >=20 > How do I arrange for bootpool to be imported automatically at boot? >=20 >=20 > David