Date: Thu, 24 Feb 2022 10:43:22 +0100 From: Alexander Leidinger <Alexander@leidinger.net> To: Miroslav Lachman <000.fbsd@quip.cz> Cc: FreeBSD Stable Mailing List <freebsd-stable@freebsd.org> Subject: Re: bootcode update after zpool upgrade Message-ID: <20220224104322.Horde.akByDDeJzjTUIyGt_Few2RI@webmail.leidinger.net> In-Reply-To: <e78a871b-b6f1-e3b4-c675-07b79c2fbbdc@quip.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format and has been PGP signed. --=_HBiTIaHt-tums-1-FqhKi5R Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoting Miroslav Lachman <000.fbsd@quip.cz> (from Wed, 23 Feb 2022=20=20 23:40:42=20+0100): > I did "zpool upgrade tank0" on one of our machines with FreeBSD=20=20 >=2012.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=20=20 >=20(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=20=20 which=20features the bootcode supports. Not all features are supported=20= =20 for=20a root pool. Bye, Alexander. --=20 http://www.Leidinger.net=20Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_HBiTIaHt-tums-1-FqhKi5R Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIzBAABCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmIXUzkACgkQEg2wmwP4 2IZpVA/9Ey7P7DBX143Oqj3LJKWfS3GpSttHmjf4rRfp1FN7fwtjX4qjAdjRVdno Lq3MxQRYHPV0VQieY/Q9c3HnGOkw3PlY3PgVMhteC8IayQklbZLeApRyXTzZ6219 y4pqw/IkSI8+ud3mBWq3rnASfU98UYaFmljT8Fj1ndbVwwwyZzXBHct4Ei2DZSMk LOffdOTU3lkLWxdFkS0GvRnWGCW1WagK2mv1S8KugfQjd7p86n8liArjrGg5UQIr UDHgmbg6mulA/p5qFUXXuMrY0zs9LaguRiELVu5nIQ3Um1IT75G39xFD12WOEuDg 3H5TXw5TLb5jgoVZfVPkmpE4HmGAgjuz0el6Tn2T54x5gt00TwOL811t/fNKRepb KxnBgdSL4Qid22uUFEqIEOe6Qv7mP+9LFPL2GuXkiVAwtMYRpbknyLclPFp518NH UPjeHmKBV+EISKM4rMcpBXtfGZ11U34m4GZC1db5SWQGM2X2e+nQdAjE6h9lZfux 9VBbn4hVVXWdknTN22c0MmeLT49dwXTvAuEL/DWhtn/T9P87M9vtagz9bGO16dhO 64tcVhZzEK5abtQgOlim6/XsJTTM420bFlXDHtLmJ3mfzzg4GFGszI13sabIVmt+ 9ju220PZnu3JstLOnbRmcXTH1JJRn+qXAP6sBUhnevjgzgClB20= =lgN7 -----END PGP SIGNATURE----- --=_HBiTIaHt-tums-1-FqhKi5R--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220224104322.Horde.akByDDeJzjTUIyGt_Few2RI>