On Sat, 20 Sept 2025 at 18:41, Nuno Teixeira <edua...@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.

Reply via email to