SOLVED zfs pool upgrade mistake (I upgraded boot-pool)

encbox

Dabbler
Joined
Mar 27, 2017
Messages
25
I got mail from my truenas-server, stating that there was an upgrade to the zfs pool: "New ZFS version or feature flags are available".
Unfortunately I made the mistake to use the command to upgrade all pools, including the boot pool.
Now I am a little scared to reboot, because there is a hint that I might need to update the boot code.

How can I figure out if I really need to do that?

Code:
root@truenas[~]# zpool upgrade -a
This system supports ZFS pool feature flags.

Enabled the following features on 'boot-pool':
  draid

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.


EDIT:
Version:
TrueNAS-13.0-U3.1
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
This shouldn't be happening and there should be several mechanisms in place to prevent it.

However, I expect what you did will have zero impact, as the feature would only be enabled if you added a draid vdev to the boot pool, which you wouldn't do.

More info (I need to update the resource, but the fundamentals are unchanged):

 
Joined
Oct 22, 2019
Messages
3,641
"New ZFS version or feature flags are available".
To this day I don't understand why this is a "WARNING" notification with a yellow hazard triangle symbol that invokes urgency. ⚠️
zfs_feature_flag_up_error_01.png


Why, TrueNAS? Why?

Here's my proposal for the notification.
  • Get rid of the "WARNING" label.
  • Get rid of the yellow hazard triangle
  • Use a non-urgent "Did you know?" approach instead.

Something like this:
INFO
information_2139-fe0f.png

Did you know you can upgrade a pool's "ZFS features"? Navigate to a pool's options in order to do so. Be aware that this is a one-way operation and cannot be undone, as you risk being unable to import the pool into an older system. It's usually not recommend to "upgrade" your pools.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Yes, but you can atone by asking your server for forgiveness.
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
I voted too, and suggested more text;
I would also add a comment in the INFO section that individual ZFS features can be enabled, as needed, without having to enable all new ZFS features. Not sure how to word that.

This might apply if someone is looking to enable a new checksum or compression feature by themselves.
 
Top