Re: ZFS Boot patch

看板FB_current作者時間12年前 (2013/12/22 11:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
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--
文章代碼(AID): #1Ijbqt7z (FB_current)
文章代碼(AID): #1Ijbqt7z (FB_current)