[Bug 274557] FreeBSD-14.0-rc1 ZFS-setup force 4k (ashift 12) results in ashift=0 (autodetect)

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 19 Oct 2023 10:50:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274557

--- Comment #1 from Gian-Simon Purkert <gspurki@gmail.com> ---
Just to add some information.

Looking at the bsdinstall->zfsboot script, ashift is set by "sysctl
vfs.zfs.min_auto_ashift=12" and not by "zpool set ashift=12 zroot", but I think
it would still be clearer if both variables were set. 
So definitely not a bug.

Am I correct in understanding that min_auto_ashift is the system-wide default
for "zpool create", but you can still override it with "zpool create -o
ashift=9" ?

-- 
You are receiving this mail because:
You are on the CC list for the bug.