Bug 256503 - zfs_error 5 after update between 13.0 stable and 13.0 stable 3821585 --> 3837207
Summary: zfs_error 5 after update between 13.0 stable and 13.0 stable 3821585 --> 3837207
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 13.0-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-fs (Nobody)
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2021-06-09 16:02 UTC by Rumen Palov
Modified: 2021-06-10 12:54 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rumen Palov 2021-06-09 16:02:29 UTC
Hello all,

recently we have updated our server from FreeBSD 11 to FreeBSD 13.0.

Month later we have to update it to latest FreeBSD 13.0 source.

After make "buildworld kernel" we are not able to boot OS, eg. we are not able to complete FreeBSD Update from source procedure in single mode. 

Booting from livemedia and update gptzfsboot( gpart -p ) code from /usr/obj/usr/src/amd64.amd64/stand/i386/gptzfsboot/gptzfsboot  is the only way and solution to have proper boot. 

Updating gptzfsboot from OS disk /boot/gptzfsboot does not solve the issue, because we do no have installworld executed yet. 

Cheers
Comment 1 Rumen Palov 2021-06-09 16:31:30 UTC
After make installworld  in single user, the OS does not boot because of zfsloader LUA error :)
Comment 2 Rumen Palov 2021-06-10 12:30:58 UTC
What happens actually. 

The server was upgraded from  rev. 3821585 --> 3837207( make buildwrold kernel ).

At the step of rebooting for single mode ( reboot command ) - the server stays very long at last shutdown stage "Syncing disk .. vnodes .. " more than 40 minutes. 

At some point of time we power off the server and then power it back on. My suspicions are that exactly that step breaks the zfs somehow.

The later steps are described in the first post. 

Finally we were unable to fix the issue and the server was reinstalled.
Comment 3 Rumen Palov 2021-06-10 12:54:00 UTC
The Zfs is as follow:

NAME           SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
zroot         2.17T   131G  2.04T        -         -     0%     5%  1.00x    ONLINE  -
  mirror      1.09T  65.4G  1.02T        -         -     0%  5.88%      -    ONLINE
    da2p3         -      -      -        -         -      -      -      -    ONLINE
    da3p3         -      -      -        -         -      -      -      -    ONLINE
  mirror      1.09T  65.7G  1.02T        -         -     0%  5.90%      -    ONLINE
    da4p3         -      -      -        -         -      -      -      -    ONLINE
    da5p3         -      -      -        -         -      -      -      -    ONLINE
logs              -      -      -        -         -      -      -      -  -
  mirror       149G  35.2M   149G        -         -     0%  0.02%      -    ONLINE
    gpt/log0      -      -      -        -         -      -      -      -    ONLINE
    gpt/log1      -      -      -        -         -      -      -      -    ONLINE
cache             -      -      -        -         -      -      -      -  -
  gpt/cache0   223G  3.08G   220G        -         -     0%  1.38%      -    ONLINE
  gpt/cache1   223G  3.03G   220G        -         -     0%  1.36%      -    ONLINE