Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Dec 2023 20:27:41 -0800
From:      Kevin Oberman <rkoberman@gmail.com>
To:        David Christensen <dpchrist@holgerdanske.com>
Cc:        questions@freebsd.org
Subject:   Re: VirtualBox 7.0, FreeBSD 12.4-RELEASE-amd64, ZFS, and bootpool
Message-ID:  <CAN6yY1uhE8QWei1LfoM6uuSECaRyEvEGso__pcKCkYxHmQOLfw@mail.gmail.com>
In-Reply-To: <65aac66f-0d06-4668-9632-9a6701047a84@holgerdanske.com>
References:  <b390469a-d68d-491b-8373-a2258dc238b0@holgerdanske.com> <d87ba7dd-bbb4-467a-8ec7-ed6edde6cd81@alexburke.ca> <65aac66f-0d06-4668-9632-9a6701047a84@holgerdanske.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Sun, Dec 31, 2023 at 3:11 PM David Christensen <dpchrist@holgerdanske.com>
wrote:

> On 12/31/23 00:34, Alexander Burke wrote:
> > Dec 31, 2023 04:36:42 David Christensen wrote:
> >> 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?
>
>
>  > FreeBSD 11 is deprecated and out of support. Have you tried with a
>  > newer version? Quite a few changes to ZFS have happened since then,
>  > including the switch to OpenZFS.
>
>
> Regarding FreeBSD versions, please re-read my post (above).
>
>
> Regarding FreeBSD ZFS changes, I am reminded of the recent OpenZFS data
> destruction bug.  And, I recall issues when I evaluated FreeBSD 13/
> OpenZFS in the past.  I am not inclined to trust my data to OpenZFS
> unless and until I see improvements in their processes, validation of
> their processes and code by reputable entities, and no defects
> discovered for "long enough".  This means FreeBSD 13 is not an option
> for me at this time.
>
>
> But the major problem is that FreeBSD EoL'd 12.4R today:
>
>      https://www.freebsd.org/security/#sup
>
>
> I am screwed.
>
>
> I think the 12.xR line should have continued until OpenZFS is proven and
> until the FreeBSD 12->13 upgrade boot loader OpenZFS bug is fixed.
>

It's not like zfs is mandatory. I run FreeBSD 15-CURRENT on my system with
UFS and no boot issues. No requirement for ZFS. The installer gives you the
option of either file system.
-- 
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

[-- Attachment #2 --]
<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">On Sun, Dec 31, 2023 at 3:11 PM David Christensen &lt;<a href="mailto:dpchrist@holgerdanske.com">dpchrist@holgerdanske.com</a>&gt; wrote:</div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 12/31/23 00:34, Alexander Burke wrote:<br>
&gt; Dec 31, 2023 04:36:42 David Christensen wrote:<br>
&gt;&gt; freebsd-questions:<br>
&gt;&gt;<br>
&gt;&gt; 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:<br>
&gt;&gt;<br>
&gt;&gt; root@geneweb:~ # freebsd-version ; uname -a<br>
&gt;&gt; 12.4-RELEASE-p9<br>
&gt;&gt; FreeBSD geneweb 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC  amd64<br>
&gt;&gt;<br>
&gt;&gt; root@geneweb:~ # zpool import<br>
&gt;&gt;      pool: bootpool<br>
&gt;&gt;        id: 16038363864467226171<br>
&gt;&gt;     state: ONLINE<br>
&gt;&gt;    action: The pool can be imported using its name or numeric identifier.<br>
&gt;&gt;    config:<br>
&gt;&gt;<br>
&gt;&gt;      bootpool    ONLINE<br>
&gt;&gt;        ada0s1a   ONLINE<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Why?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I have seen the defect since FreeBSD-12.1-RELEASE-amd64.  I do not know if it was present earlier.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; How do I arrange for bootpool to be imported automatically at boot?<br>
<br>
<br>
 &gt; FreeBSD 11 is deprecated and out of support. Have you tried with a<br>
 &gt; newer version? Quite a few changes to ZFS have happened since then,<br>
 &gt; including the switch to OpenZFS.<br>
<br>
<br>
Regarding FreeBSD versions, please re-read my post (above).<br>
<br>
<br>
Regarding FreeBSD ZFS changes, I am reminded of the recent OpenZFS data <br>
destruction bug.  And, I recall issues when I evaluated FreeBSD 13/ <br>
OpenZFS in the past.  I am not inclined to trust my data to OpenZFS <br>
unless and until I see improvements in their processes, validation of <br>
their processes and code by reputable entities, and no defects <br>
discovered for &quot;long enough&quot;.  This means FreeBSD 13 is not an option <br>
for me at this time.<br>
<br>
<br>
But the major problem is that FreeBSD EoL&#39;d 12.4R today:<br>
<br>
     <a href="https://www.freebsd.org/security/#sup" rel="noreferrer" target="_blank">https://www.freebsd.org/security/#sup</a><br>;
<br>
<br>
I am screwed.<br>
<br>
<br>
I think the 12.xR line should have continued until OpenZFS is proven and <br>
until the FreeBSD 12-&gt;13 upgrade boot loader OpenZFS bug is fixed.<br></blockquote><div><br></div><div style="font-family:tahoma,sans-serif;font-size:small" class="gmail_default">It&#39;s not like zfs is mandatory. I run FreeBSD 15-CURRENT on my system with UFS and no boot issues. No requirement for ZFS. The installer gives you the option of either file system.<br></div><div style="font-family:tahoma,sans-serif;font-size:small" class="gmail_default"><span class="gmail_signature_prefix">-- </span><br></div></div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Kevin Oberman, Part time kid herder and retired Network Engineer<br>E-mail: <a href="mailto:rkoberman@gmail.com" target="_blank">rkoberman@gmail.com</a><br></div><div>PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683</div></div></div></div></div></div></div></div></div>

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