Date: Fri, 19 Feb 2021 14:46:26 -0700 From: Warner Losh <imp@bsdimp.com> To: Kurt Jaeger <pi@freebsd.org> Cc: David Marec <david.marec@lapinbilly.eu>, freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: FreeBSD 13/stable and zpool upgrade Message-ID: <CANCZdfrXh2ZVVk-A5ezjbcEg8P%2BJTzZSaOXg1HNEVqgt1nBecg@mail.gmail.com> In-Reply-To: <YDAr5h8c/ni3w%2Bvi@fc.opsec.eu> References: <ac735a6b-b82e-36e4-eb66-d2c0d422cc75@lapinbilly.eu> <CANCZdfrm0dpQ6tyggj-VStTz1zTz8wvqZ35ePn5Dc-o66nC4JQ@mail.gmail.com> <YDACWGA4mLKXiuAb@home.opsec.eu> <CANCZdfq1WSgWcDVwy3pM%2BpTStKmS-0FNdPNYD79acPqNQQ36VQ@mail.gmail.com> <YDAr5h8c/ni3w%2Bvi@fc.opsec.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 19, 2021 at 2:21 PM Kurt Jaeger <pi@freebsd.org> wrote: > Hi! > > > You can upgrade to 13 w/o hassle. The upgrade process doesn't > automatically > > upgrade the zpools. The only problem is if you also do a 'zpool upgrade' > > which will change your zpool features. The fix is easy: upgrade your boot > > loader (bootx64.efi) on the ESP at the same time before rebooting... > > In the past there was this nice warning explaining what to do: > > gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0 > Yea, pmbr and gptboot are now effectively built into the EFI boot loader... > Now, what would be the new procedure for that ? > mount -t msdos /dev/ada0sX /mnt cp /boot/loader.efi /mnt/boot/bootx64.efi umount /mnt > > There's nothing really to fix here. > > Well, it's very dangerous, and having a way to know how to fix > it would be very important. > You also need to know what you are doing when you upgrade your zfs pools. This should be called out prominently in the release notes, howeve. > > All the code is there. It all works. > > The upgrade is fail safe up until the point you do the zpool upgrade, > which > > has to be done by the system administrator. It's not done in the > installer > > or as part of 'make installworld'. > > I understand. But if the installer does not know that she/he needs to > do something with some bootx64.efi file... ? > > Can't zpool upgrade mention the necessary steps, as it did before ? > I wasn't aware it lost that in the openzfs upgrade... What did it used to say? Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfrXh2ZVVk-A5ezjbcEg8P%2BJTzZSaOXg1HNEVqgt1nBecg>