From nobody Thu Feb 24 09:43:22 2022 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2778719DBFF7 for ; Thu, 24 Feb 2022 09:43:39 +0000 (UTC) (envelope-from Alexander@leidinger.net) Received: from mailgate.Leidinger.net (mailgate.leidinger.net [IPv6:2a00:1828:2000:313::1:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (P-256) client-digest SHA256) (Client CN "mailgate.leidinger.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K47JT6ltMz3N1y for ; Thu, 24 Feb 2022 09:43:37 +0000 (UTC) (envelope-from Alexander@leidinger.net) Received: from outgoing.leidinger.net (p5b165562.dip0.t-ipconnect.de [91.22.85.98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256 client-signature ECDSA (P-256) client-digest SHA256) (Client CN "outgoing.leidinger.net", Issuer "R3" (verified OK)) by mailgate.Leidinger.net (Postfix) with ESMTPSA id B018514CE; Thu, 24 Feb 2022 10:43:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leidinger.net; s=outgoing-alex; t=1645695807; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to; bh=TpbV23gV8ga1iC4v94Avjf8g3LswEOQIhXhv/0oYY6c=; b=Qpn3daU/J3M1JHA/4rChZXqLQg4jJjkYeCdFdt/WU16VYwgztxdxcnPfM/5kJRZhGRFJzJ Zbvav7JRs9AIeW2+pWdXblDkPuQrPJkp19qtHqNqUGWK1Uwr5qcJJi5qtfjqSfe0z/rV0m SHHPsccJpsvlg/J3o5UK44Dnkf7r1Ztsgu+SeED/NGT4XFzVulsZDwHLKqh/XHG+B2hhh/ xW1kguc64ef2SNYcsVJwmZ0wnzD/P0nJK/TS6AmZRbE0xJjAr5IWqEH1y2YqSK8SbtOX55 t40wzgCUfF5EC/DSBRF8Q0eGss24tYWMRYFiU9TpSG/c3XI2e2AhgpbYBZGM2Q== Received: from webmail.leidinger.net (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (Client did not present a certificate) by outgoing.leidinger.net (Postfix) with ESMTPS id 212F1A344; Thu, 24 Feb 2022 10:43:25 +0100 (CET) Date: Thu, 24 Feb 2022 10:43:22 +0100 Message-ID: <20220224104322.Horde.akByDDeJzjTUIyGt_Few2RI@webmail.leidinger.net> From: Alexander Leidinger To: Miroslav Lachman <000.fbsd@quip.cz> Cc: FreeBSD Stable Mailing List Subject: Re: bootcode update after zpool upgrade In-Reply-To: Accept-Language: de,en Content-Type: multipart/signed; boundary="=_HBiTIaHt-tums-1-FqhKi5R"; protocol="application/pgp-signature"; micalg=pgp-sha256 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 X-Rspamd-Queue-Id: 4K47JT6ltMz3N1y X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=leidinger.net header.s=outgoing-alex header.b="Qpn3daU/"; dmarc=pass (policy=quarantine) header.from=leidinger.net; spf=pass (mx1.freebsd.org: domain of Alexander@leidinger.net designates 2a00:1828:2000:313::1:5 as permitted sender) smtp.mailfrom=Alexander@leidinger.net X-Spamd-Result: default: False [-6.09 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[leidinger.net:s=outgoing-alex]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[leidinger.net:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[leidinger.net,quarantine]; NEURAL_HAM_SHORT(-0.99)[-0.994]; MID_RHS_MATCH_FROMTLD(0.00)[]; MLMMJ_DEST(0.00)[freebsd-stable]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:34240, ipnet:2a00:1828::/32, country:DE]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[91.22.85.98:received] X-ThisMailContainsUnwantedMimeParts: N 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--