From owner-svn-src-all@freebsd.org Wed Sep 2 15:53:58 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E22F73DACE0; Wed, 2 Sep 2020 15:53:58 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BhT525fsHz4tsW; Wed, 2 Sep 2020 15:53:58 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Received: from Ryans-MBP.attlocal.net (unknown [IPv6:2600:1700:358a:c660:cc6b:be18:7e3b:e0e7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: freqlabs/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 688A224DE9; Wed, 2 Sep 2020 15:53:58 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Subject: Re: svn commit: r365249 - head To: Andriy Gapon , Ryan Moeller , Warner Losh , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <202009021428.082EStuD062827@repo.freebsd.org> <9c0dfb3c-7dcf-b973-b2b5-95cf56dd4322@FreeBSD.org> <780dd0e7-c521-e83a-7d57-aa0e99d64b75@FreeBSD.org> From: Ryan Moeller Message-ID: <72524bda-bc15-cc19-2a7f-21a56e7d6ba5@FreeBSD.org> Date: Wed, 2 Sep 2020 11:53:57 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <780dd0e7-c521-e83a-7d57-aa0e99d64b75@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2020 15:53:58 -0000 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