[Bug 295261] ZFS zpool(8) does not set/report proper ashift value
[email protected] Thu, 14 May 2026 02:36:40 +0000
| Newsgroups | gmane.os.freebsd.devel.file-systems |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295261 --- Comment #2 from Graham Perrin <[email protected]> --- I misread part of comment 0, please ignore comment 1. ---- With 16.0-CURRENT, ignoring LEGACY: blah@maximal:/ % sysctl -d vfs.zfs | grep auto_ashift | grep -v LEGACY vfs.zfs.vdev.max_auto_ashift: Maximum ashift used when optimizing for logical -> physical sector size on new top-level vdevs vfs.zfs.vdev.min_auto_ashift: Minimum ashift used when creating new top-level vdevs blah@maximal:/ % If you prefer a minimum of 12 before use of zpool-create(8), then 0 (the default) may be expected with zpool-get(8) for the subsequently created pool. <https://man.freebsd.org/cgi/man.cgi?query=zpool-create&sektion=8&manpath=freebsd-current> <https://man.freebsd.org/cgi/man.cgi?query=zpool-get&sektion=8&manpath=freebsd-current> From <https://openzfs.github.io/openzfs-docs/man/master/7/zpoolprops.7.html#ashift> and <https://man.freebsd.org/cgi/man.cgi?query=zpoolprops&sektion=7&manpath=freebsd-current> for zpoolprops(7): > … the value 0 (the default) means to auto-detect using the kernel's > block layer and a ZFS internal exception list. … -- You are receiving this mail because: You are the assignee for the bug.