Just release TrueNas 13 => "Error Upgrading Pool xyz"

Louis2

Contributor
Joined
Sep 7, 2019
Messages
177
Hello,

It is sad to say, however after upgrading from 13 RC1, the first thing I tried is to upgrade my ZFS-pools.

With as sad result "Error Upgrading Pool"

1652203364493.png


I tried two pools, in both cases having this result.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,462
It would probably be helpful to run zpool upgrade <poolname> from the CLI and post the output--both here and to that ticket.
 
Joined
Jun 2, 2019
Messages
591
I did the upgrade from the CLI

root@NAS-2[~]# zpool upgrade data
This system supports ZFS pool feature flags.

Enabled the following features on 'data':
draid
 

sepin4

Cadet
Joined
May 11, 2022
Messages
2
Hello,

I had the same problem so I did the upgrade over terminal session. However I had the dumb idea to upgrade the boot pool as well thinking it was a safe atomic operation and it returned the following message:

Pool 'boot-pool' has the bootfs property set, you might need to update
the boot code. See gptzfsboot(8) and loader.efi(8) for details.


I'm not familiar with the FreeBSD boot sequence and the man page for gptzfsboot is confusing. It says: "gptzfsboot is used on BIOS-based computers to boot from a filesystem in a ZFS pool." My system is running on UEFI so I figure nothing to do here. However on other forum threads the boot code is updated even on EFI based systems, but the problem is they have "freebsd-boot" partition and I don't. Here's my partition table after the upgrade to Release 13:

gpart show ada0
=> 40 234441568 ada0 GPT (112G)
40 532480 1 efi (260M)
532520 33554432 3 freebsd-swap (16G)
34086952 200343552 2 freebsd-zfs (96G)
234430504 11104 - free - (5.4M)


I don't have much time to invest in learning how the boot sequence works so can someone help me to figure out if I have to update something on the boot partition and if so what and how?

Thank you!
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,702
I don't have much time to invest in learning how the boot sequence works so can someone help me to figure out if I have to update something on the boot partition and if so what and how?
 

sepin4

Cadet
Joined
May 11, 2022
Messages
2
Thank you!

I did the procedure and restarted the system and it booted.
 

hoserama

Dabbler
Joined
Dec 24, 2017
Messages
29
Same error for me as well.
 

jasonboche

Dabbler
Joined
Oct 2, 2018
Messages
25
Thank you for the help on this thread. Obviously I'm here with the same issue and upgrading the pool via CLI was the solution. Do I need to reboot TrueNAS after upgrading and adding the additional flag support?

Thank you,
Jas
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,374
Put me down for this issue too, makes me a bit hesitant, just a small bug?

Error upgrading pool.
 

MassStash

Cadet
Joined
Aug 26, 2021
Messages
1
Same issue here in GUI, and CLI cmd worked. Outputted updated feature enabled draid. woohoo!
 
Top