Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Sep 2020 19:23:03 +0300
From:      Toomas Soome <tsoome@me.com>
To:        Ryan Moeller <freqlabs@FreeBSD.org>
Cc:        Andriy Gapon <avg@FreeBSD.org>, Warner Losh <imp@freebsd.org>, src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, svn-src-head@freebsd.org
Subject:   Re: svn commit: r365249 - head
Message-ID:  <045C502C-7650-4345-BAF4-A2AF1D5441AA@me.com>
In-Reply-To: <72524bda-bc15-cc19-2a7f-21a56e7d6ba5@FreeBSD.org>
References:  <202009021428.082EStuD062827@repo.freebsd.org> <9c0dfb3c-7dcf-b973-b2b5-95cf56dd4322@FreeBSD.org> <780dd0e7-c521-e83a-7d57-aa0e99d64b75@FreeBSD.org> <72524bda-bc15-cc19-2a7f-21a56e7d6ba5@FreeBSD.org>

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


> On 2. Sep 2020, at 18:53, Ryan Moeller <freqlabs@FreeBSD.org> wrote:
>=20
>=20
> 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
>>>>=20
>>>> Log:
>>>>    Add note about needing to manually import the zfs pools or =
update
>>>>    /etc/rc.d due to the cache file moving to /etc.
>>>>=20
>>>> Modified:
>>>>    head/UPDATING
>>>>=20
>>>> Modified: head/UPDATING
>>>> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
>>>> --- 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.
>>=20
>> 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.
>>=20
>=20
> 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.
>=20
> -Ryan


please note that  zpool import -a can be dangerous for multihomed =
setups.

rgds,
toomas





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?045C502C-7650-4345-BAF4-A2AF1D5441AA>