Date: Wed, 2 Sep 2020 11:53:57 -0400 From: Ryan Moeller <freqlabs@FreeBSD.org> To: Andriy Gapon <avg@FreeBSD.org>, Ryan Moeller <freqlabs@freebsd.org>, Warner Losh <imp@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r365249 - head Message-ID: <72524bda-bc15-cc19-2a7f-21a56e7d6ba5@FreeBSD.org> In-Reply-To: <780dd0e7-c521-e83a-7d57-aa0e99d64b75@FreeBSD.org> References: <202009021428.082EStuD062827@repo.freebsd.org> <9c0dfb3c-7dcf-b973-b2b5-95cf56dd4322@FreeBSD.org> <780dd0e7-c521-e83a-7d57-aa0e99d64b75@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 9/2/20 11:43 AM, Andriy Gapon wrote: > On 02/09/2020 18:23, Ryan Moeller wrote: >> On 9/2/20 10:28 AM, Warner Losh wrote: >>> Author: imp >>> Date: Wed Sep 2 14:28:54 2020 >>> New Revision: 365249 >>> URL: https://svnweb.freebsd.org/changeset/base/365249 >>> >>> Log: >>> Add note about needing to manually import the zfs pools or update >>> /etc/rc.d due to the cache file moving to /etc. >>> >>> Modified: >>> head/UPDATING >>> >>> Modified: head/UPDATING >>> ============================================================================== >>> --- head/UPDATING Wed Sep 2 12:57:34 2020 (r365248) >>> +++ head/UPDATING Wed Sep 2 14:28:54 2020 (r365249) >>> @@ -36,6 +36,10 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW: >>> scenarios have been tested and fixed, but rebuilding kernels without >>> rebuilding world may fail. >>> + The ZFS cache file has moved from /boot to /etc to match the OpenZFS >>> + upstream default. This means your zpool won't auto import until you >>> + upgrade your /etc/rc.d files or you import them manually. >>> + >>> 20200824: >>> The resume code now notifies devd with the 'kernel' system >>> rather than the old 'kern' subsystem to be consistent with >> Thanks, enough people seemed to be getting tripped up by this. > I think that this is a very useful note. > > But I do not see a direct connection between the change of zpool.cache location > and the new ZFS's not automatically importing zpool.cache pools on boot. > True, the real reason is that the kernel module in OpenZFS does not autoimport pools. Instead we explicitly "zpool import -a" in one of the ZFS rc scripts. I'll amend the UPDATING message. -Ryan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?72524bda-bc15-cc19-2a7f-21a56e7d6ba5>