Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Sep 2025 22:12:23 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        Nuno Teixeira <eduardo@freebsd.org>
Cc:        src-committers@freebsd.org, dev-commits-src-all@freebsd.org,  dev-commits-src-main@freebsd.org
Subject:   Re: git: 87a7b35f04b6 - main - bsdinstall: fix vfs.zfs.vdev.min_auto_ashift oid
Message-ID:  <CAPyFy2D0zEgKgmLP=oVauTEO=j=C%2B3HVy_OQLTh9a9pQt63GUA@mail.gmail.com>
In-Reply-To: <CAFDf7UL7%2B-erWjmAcRnBM==DUMTt%2BwN=DFM5=u2oigQno3gS_w@mail.gmail.com>
References:  <202509191603.58JG3EF6037438@gitrepo.freebsd.org> <CAFDf7UL7%2B-erWjmAcRnBM==DUMTt%2BwN=DFM5=u2oigQno3gS_w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 20 Sept 2025 at 18:41, Nuno Teixeira <eduardo@freebsd.org> wrote:
>
> Hello!
>
> I've just upgraded to a recent main and on boot i see:
>
> `sysctl: unknown oid 'vfs.zfs.min_auto_ashift' at line 9`
>
> I remember this line in /etc/sysctl.conf for years:
>
> ```
> #
> #  This file is read when going to multi-user and its contents piped thru
> #  ``sysctl'' to adjust kernel values.  ``man 5 sysctl.conf'' for details.
> #
>
> # Uncomment this to prevent users from seeing information about processes that
> # are being run under another UID.
> #security.bsd.see_other_uids=0
> vfs.zfs.min_auto_ashift=12
> ```
> Do we need to fix it from vfs.zfs.min_auto_ashift -> vfs.zfs.vdev.min_auto_ashift on /etc/sysctl.conf?

Short answer yes - the sysctl should be updated in /etc/sysctl.conf.

There was backwards compatibility support for the old name but it was
removed recently with an OpenZFS update. Unfortunately bsdinstall was
also writing the old name into /etc/sysctl.conf until just now. We
have some worth to do prior to 15.0 to address this situation.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2D0zEgKgmLP=oVauTEO=j=C%2B3HVy_OQLTh9a9pQt63GUA>