Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Dec 2013 12:34:56 -0500
From:      Allan Jude <freebsd@allanjude.com>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: ZFS Boot patch
Message-ID:  <52B1DCC0.6040808@allanjude.com>
In-Reply-To: <52B1DB06.3090305@allanjude.com>
References:  <52B1DB06.3090305@allanjude.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--hRPerlFgHVbmPpTGRrt3N86jUmCmDfiJ8
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 2013-12-18 12:27, Allan Jude wrote:
> An issue we thought we had fixed, was not actually fixed.
>
> When doing a GELI based Root-on-ZFS install, the 'bootpool' is not
> always properly mounted in the installed system.
>
> The lines added to loader.conf to make it use the zpool.cache file and
> learn of the existence of the 2nd pool are required, and have the
> desired effect.
>
> However, it seems that the 2nd pool is not always listed in the cache f=
ile.
>
> The attached patch should fix this issue.
>
> Hopefully this can get MFCd in time for the next RC
>
>
A note for the release notes. If you have an existing install, it can be
'repaired' easily:

zpool import -f bootpool
zpool set cachefile=3D/boot/zfs/zpool.cache bootpool

This will add the bootpool to the existing zpool.cache (which contains
the data for your main pool)

This only applies to users who opted to encrypt their zpool.

--=20
Allan Jude



--hRPerlFgHVbmPpTGRrt3N86jUmCmDfiJ8
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSsdzBAAoJEJrBFpNRJZKfBY0P/33F4x3UIzAkVWLYlTZr+0Vv
fecBaexUkvv/rs9hbLRu6E6h5g4wBPQ86K5JPN/B1vAPv+A/UZRacUMuq2qVOOyh
skei848N2QTybxkws42TqjL/ie0C9AYgdhOLsc4ekyhrM47uihWr+p/gxWfamcpa
Ags33bqXI7M26PNuJ0mUDIbTG/aLsLVL/O88Qe6NqzRDIfeiBgk+HMUGPDLTNwEo
jQ7DnkpDB1X4X6ADuY1aZU5HJJD+n41DJPC+qJ3ZfqhqDFWn9HPPXSbRqacvQTCI
nT+tQkf11CcUY97mBJyv/mDpouvEHzPtKS0TkaOSNChss2Yh7Vc10rM5UtKcfc+I
LHRL5qC1AF0DFb5Xu2NrAMCS5yPadvJPFhM64C0Ejd0X7HUAC3Saw4ik+CuKuhtG
1p9+NiRXl9Lo5CXVIEv2+lY2P7q6wreizFT5/4tXRyaEeGLiwLRSUkWxDQHiZXrB
Zvur2uUWIaX425iWnRK6NW8efz2zKQDmvVi7pG3k8cYR1KNwBYV9+k0dCVI4hKG6
bKPCtO19Ip0PRLNVXtS9Chqmh6G8yCFrd3hmtNroJkglJ1h57cZ49NhMcqiNsFID
0PZEsESx14Fmenzw9FG7e7cbbq9H9nByp7u2vKQL9hyhT5xd7DHM1moe2aDNBFyx
+UwA5X6pHEbaWPgBU5SS
=yW20
-----END PGP SIGNATURE-----

--hRPerlFgHVbmPpTGRrt3N86jUmCmDfiJ8--



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