Did zpool upgrade on boot pool. Now what?

ddrucker

Dabbler
Joined
Feb 24, 2020
Messages
19
I ran zpool upgrade on the boot pool. Now what? Is it possible to fix this without losing all my actual data?
 
Joined
Oct 22, 2019
Messages
3,641
What's the problem you bumped into? Is there a problem?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
1st you could just reinstall without losing your data. The data is in your storage pool, not your boot pool.

2nd while the system is still running you should upgrade your boot loader. Please post the output of zpool status boot-pool and gpart show and I can guide you.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
It doesn't boot. It just goes to the Grub menu.
Reinstall. And sorry - just noticed this is SCALE. Forget my first post. I could only help you with CORE. If the system was still running, that is.
 
Joined
Oct 22, 2019
Messages
3,641
Now I'm even more confused. Why would upgrading the ZFS features on a boot-pool prevent rebooting into the same system (of which is using the same ZFS version?)

If this is an issue of Grub, why would SCALE even notify the user that their boot-pool can be upgraded? That seems like a bad design.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
The boot loader must support the ZFS features. If it doesn't - no boot.
 
Joined
Oct 22, 2019
Messages
3,641
The boot loader must support the ZFS features. If it doesn't - no boot.


So then it raises this question...
If this is an issue of Grub, why would SCALE even notify the user that their boot-pool can be upgraded? That seems like a bad design.
Can someone on SCALE confirm that it indeed does notify the user they can upgrade their boot-pool? (That should outright be removed. Otherwise, you're setting up users to hijack themselves with an unbootable system.)
 

LarsR

Guru
Joined
Oct 23, 2020
Messages
719
It does Report zpool Upgrades for the Boot-Pool. But someone from iX, dont know who anymore, Said Not to manually Upgrade the Boot-Pool. If the Boot-Pool needs an Upgrade iX will include it in a system Update.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
I always keep my CORE boot pools up to date, but I know how to upgrade the FreeBSD boot loader to match.
 
Joined
Oct 22, 2019
Messages
3,641
Even more of a reason to remove the notification that the boot-pool can be upgraded. (I would go even further and remove the "upgrade" option from the GUI for the boot-pool.)

* For SCALE
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Can someone on SCALE confirm that it indeed does notify the user they can upgrade their boot-pool?
No, it doesn't. But that doesn't prevent people from doing stupid dangerous things at the CLI.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Joined
Oct 22, 2019
Messages
3,641
Reassuring to know that neither is the case for SCALE.

Now I understand the reason for this thread a bit better... :oops:
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
But I really should "finesse" my first answer a little. SCALE doesn't give an alert about the boot pool, the way it does about other pools. However, if you go into the boot pool status page, you'll see a little circled i, and if you mouse over that, it will tell you that some supported features are enabled. But I can't see anywhere in the GUI to do a pool upgrade for the boot pool. Now, that's on SCALE 22.12.4.1; I can't speak for any other versions.
 
Joined
Oct 22, 2019
Messages
3,641
I still wish there was an online demo for each iteration of SCALE. That way we (Core users) can play around with the GUI without the need to create a VM that will barely see much use.

Here is an example of what I mean: https://demoui.asus.com

 

Etorix

Wizard
Joined
Dec 30, 2020
Messages
2,134
Otherwise, you're setting up users to hijack themselves with an unbootable system.)
In my experience, this last sentence pretty much sums up the experience of having GRUB as bootloader. :rolleyes:
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
The root cause is probably this:
Code:
root@truenas[~]# zpool status
  pool: boot-pool
 state: ONLINE
status: Some supported and requested features are not enabled on the pool.
    The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
    the pool may no longer be accessible by software that does not support
    the features. See zpool-features(7) for details.
  scan: scrub repaired 0B in 00:00:13 with 0 errors on Sun Oct 15 03:45:14 2023
config:

    NAME        STATE     READ WRITE CKSUM
    boot-pool   ONLINE       0     0     0
      sda3      ONLINE       0     0     0

errors: No known data errors
[...]


I'll try to find out how one does update grub after a zpool upgrade. Just because I'm curious. The boot drive is a VMDK. I can do a copy.
 
Top