Page MenuHomeFreeBSD

UPDATING: Add entry for boot-time error message caused by removal of vfs.zfs.min_auto_ashift tunable
ClosedPublic

Authored by emaste on Sep 21 2025, 5:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 8, 6:42 PM
Unknown Object (File)
Sat, Nov 8, 6:42 PM
Unknown Object (File)
Thu, Nov 6, 5:23 PM
Unknown Object (File)
Thu, Nov 6, 9:08 AM
Unknown Object (File)
Wed, Nov 5, 2:50 AM
Unknown Object (File)
Sat, Nov 1, 6:56 PM
Unknown Object (File)
Wed, Oct 29, 2:08 PM
Unknown Object (File)
Wed, Oct 29, 2:08 PM
Subscribers

Details

Summary

Document error message caused by removal of vfs.zfs.min_auto_ashift tunable and how to fix it.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

yasu requested review of this revision.Sep 21 2025, 5:52 PM

I would phrase this slightly differently -- bsdinstall now uses the updated name, and with the revert I just committed the "unknown oid" will go away. We should mention that the sysctl OIDs changed with the switch to OpenZFS in FreeBSD 13 and backwards compatibility will be removed. It's a little tricky because this should have been an UPDATING entry many years ago.

Maybe something like this:

With the migration to OpenZFS, vdev sysctls moved from vfs.zfs to vfs.zfs.vdev.
Backwards compatibility aliases will be removed in the near future.  Please 
update /etc/sysctl.conf to reference the new OIDs.
 
For example,
 
        vfs.zfs.min_auto_ashift=12
 
needs to be changed to
 
        vfs.zfs.vdev.min_auto_ashift=12
emaste updated this revision to Diff 164304.
emaste edited reviewers, added: yasu; removed: emaste.

Alternate proposal, given:

  • the aliases have been restored
  • they now (mostly) emit warning messages on use
This revision was not accepted when it landed; it landed in state Needs Review.Thu, Oct 16, 6:44 PM
This revision was automatically updated to reflect the committed changes.