[Bug 245430] ZFS boot failure following memory exhaustion

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 02 Jun 2023 12:56:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245430

Jason W. Bacon <jwb@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Open                        |Closed
         Resolution|---                         |FIXED

--- Comment #7 from Jason W. Bacon <jwb@freebsd.org> ---
Note to posterity:


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199804 describes a fix that
was applied, and also a potential problem with disks too large for the BIOS,
which the fix cannot address.  While using GPT will allow one to boot from
disks larger than 2 TB, there could be problems when files in /boot are updated
and the only space available for the new files is beyond the 2 TB boundary. 
This is why recreating /boot *sometimes* works.  It may or may not bring the
necessary files within the BIOS limit.

Having /boot on a smaller partition solves the problem permanently.  I've
installed some systems on a ~250 GB UFS partition and then created a zpool on
the remaining space afterward.  This configuration has worked flawlessly for
many years.

-- 
You are receiving this mail because:
You are the assignee for the bug.