Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 May 2021 20:37:14 +0200
From:      Mathieu Arnold <mat@freebsd.org>
To:        Michael Gmelin <freebsd@grem.de>
Cc:        Kurt Jaeger <pi@freebsd.org>, current@freebsd.org
Subject:   Re: zpool upgrade and bootcode on 13-RELEASE
Message-ID:  <20210528183714.7xbmuouxlxxy3n6j@aching.in.mat.cc>
In-Reply-To: <20210519193243.3fd82d19@bsd64.grem.de>
References:  <20210519153757.4e00e96f@bsd64.grem.de> <YKVGMhZrCLKPU8Kr@home.opsec.eu> <20210519193243.3fd82d19@bsd64.grem.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--kmywjhzvlsiowhzh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, May 19, 2021 at 07:32:43PM +0200, Michael Gmelin wrote:
>=20
>=20
> On Wed, 19 May 2021 19:09:06 +0200
> Kurt Jaeger <pi@freebsd.org> wrote:
>=20
> > Hi!
> >=20
> > > Does this mean, re-installing the bootcode isn't necessary anymore
> > > - or has the warning been removed by accident/as a side effect of
> > > merging with OpenZFS? =20
> >=20
> > On the contrary, because of the switch from FreeBSD ZFS to
> > OpenZFS, the bootcodes needs to be updated! It's unfortunate
> > that no message is displayed 8-(
> >=20
>=20
> That's too bad - maybe it would make sense to mention this in the
> release errata?
>=20
> > The problem is, finding out which bootcode needs to go where etc.
>=20
> For the machines in question it was a straightforward legacy layout, so
> that was easy enough (they came back up just fine - *phew*).
>=20
> Do you think there is any chance to get the warning back in there?
> Maybe in a more generic way, like:
>=20
>   In case you're booting from <poolname>, please make sure to update
>   the bootcode according to your partition layout. See `man zfsboot'
>   for details.
>=20
> Fun fact: That man page already exists (I had no idea), but could use
> some love - e.g., add the EFI examples you gave.

I have had a look at that man page, it gives ten different commands,
without saying which you need to use, if they are all needed, or not, or
when you actually have to used them.

Fun fact is that I absolutely never ever used any of them.  All I ever
did was run:

  gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada1

because `zpool upgrade` told me to.  It would probably be great to have
that command in that man page.

--=20
Mathieu Arnold

--kmywjhzvlsiowhzh
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAABCgB9FiEEVhwchfRfuV0unqO5KesJApEdfgIFAmCxOFVfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDU2
MUMxQzg1RjQ1RkI5NUQyRTlFQTNCOTI5RUIwOTAyOTExRDdFMDIACgkQKesJApEd
fgLd8A/8CsRXLRnwFYSceOrQBPLIHrhFmGRc3ox96t5/+lnWkBnKVJZGLEOMGzJ8
YNiwHPDI6VLCpyGtsEx8X4qcWOb6Kk4Rh6iEWcIorneDhWUk/gW11vbHN8cvvlgi
Gz1WRgyMRHx2i16do0LCzY840HaryOoA4KvRRYNwlWNBZT9LRovMD4SfPYb3oX0Z
gsxxFJAkQrvvCqNHEN3nptDd4mA5Kghb/+QoEEaa6iWltfJ5lLiuXqhh1LIxrXrJ
CXyp4rOmUZXH0QNwW6jl0bJ0yD6tJ2ng257nfRAskNwWqyUITkKPFwYWFmeFo2O3
KNRyBfa5xRJWsfycAh7ir1WOxnbJ0iAPpMAJNJq6a0ZW39yAzVxJjf2oAKVWNMwq
OP9srsJM535RjVnnbg3JYHEFX+XNkePzwpQT9rJBk+bOL2EbQ8LzX9RkKOznUoJ1
2oJ7lfHdRIEPSqtzbUJbJI67aROsMiuf3ssvKgnHso5TXGvqLIxz/2temYkk/Z7L
yVRkqyjR1i0IMvZcEmDwuIKyG9z1C8LGfOxdVY/MQ0mYWswT28BhNeSn6iJJ3KsS
Mqb9EL9WzdSzJW2OR8oRhFVtyVoij1KRikY3lL6UPjMK7pd1+qybThtqhu49pTYA
QXETXip9XPMV2WXtx7uURwZ1o2FEDIbUPJECBkc0y4K+537mlTk=
=sSoy
-----END PGP SIGNATURE-----

--kmywjhzvlsiowhzh--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210528183714.7xbmuouxlxxy3n6j>