Bug 270936 - Bootloader Corrupted after upgrade to 13.2-RELEASE
Summary: Bootloader Corrupted after upgrade to 13.2-RELEASE
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 13.2-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2023-04-19 17:45 UTC by Javier Sturman
Modified: 2023-11-29 12:04 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Javier Sturman 2023-04-19 17:45:56 UTC
I upgraded to 13.2-RELEASE via freebsd-update. After the shutdown -r now command I couldn't log in remotely to continue the final freebsd-update install of the upgrading procedure, I connected a monitor to the server I saw an error for ZFS running out of buffer space. (I was running 13.1p7)


I followed the steps on this page (https://www.ronny-mueller.com/2022/03/09/howto-solve-freebsd-zfs-out-of-temporary-buffer-space/)
 to fix the bootloader code. In my case it's a dell server with disks mfisyspd0 mfisyspd1.

Don't how if it is just me. I don't think I have touched the bootcode at anytime, at least not deliberately.
Comment 1 Javier Sturman 2023-04-20 16:47:44 UTC
I think freebsd-update creates a snapshot before the first install. Is there any information there I could provide so to identify if there was any problem?
Comment 2 Graham Perrin freebsd_committer freebsd_triage 2023-04-20 18:44:41 UTC
(In reply to Javier Sturman from comment #0)

> … I followed the steps on this page 
> (https://www.ronny-mueller.com/2022/03/09/howto-solve-freebsd-zfs-out-of-temporary-buffer-space/) …

Is there an EFI system partition (ESP) in your case? 

From <https://www.freebsd.org/releases/13.0R/relnotes/#boot>, with added emphasis: 

>> … To update old ESP partitions, users should _stop_ using the 
>> gpart(8) utility. …
Comment 3 Javier Sturman 2023-04-21 12:48:50 UTC
Yes.
[freebsd:~ $]> gpart show
=>        40  3907029088  da0  GPT  (1.8T)
          40      409600    1  efi  (200M)
      409640        1024    2  freebsd-boot  (512K)
      410664         984       - free -  (492K)
      411648    16777216    3  freebsd-swap  (8.0G)
    17188864  3889840128    4  freebsd-zfs  (1.8T)
  3907028992         136       - free -  (68K)

=>        40  3907029088  da1  GPT  (1.8T)
          40      409600    1  efi  (200M)
      409640        1024    2  freebsd-boot  (512K)
      410664         984       - free -  (492K)
      411648    16777216    3  freebsd-swap  (8.0G)
    17188864  3889840128    4  freebsd-zfs  (1.8T)
  3907028992         136       - free -  (68K)
Comment 5 Javier Sturman 2023-11-29 12:04:07 UTC
This bug can be closed.