Re: bootcode update after zpool upgrade
- Reply: Miroslav Lachman : "Re: bootcode update after zpool upgrade"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 24 Feb 2022 09:43:22 UTC
Quoting Miroslav Lachman <000.fbsd@quip.cz> (from Wed, 23 Feb 2022 23:40:42 +0100): > I did "zpool upgrade tank0" on one of our machines with FreeBSD > 12.2-p13 amd64 and then got this message: > > # zpool upgrade tank0 > This system supports ZFS pool feature flags. > > Enabled the following features on 'tank0': > large_dnode > spacemap_v2 > allocation_classes > > If you boot from pool 'tank0', don't forget to update boot code. > Assuming you use GPT partitioning and da0 is your boot disk > the following command will do it: > > gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0 > > > > I am not sure what I should update. This machine is EFI boot only > (this is the only one EFI machine we have). > Should I run: > gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 2 nvd0 > gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 2 nvd1 This is the bootcode zpool upgrade talks about. > Or should I update EFI partitions? (if so, then how?) The EFI partition contains the loader, not the bootcode. While we are at it, I'm still looking for the place where I can find which features the bootcode supports. Not all features are supported for a root pool. Bye, Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF