Re: Set ZFS pool ashift=14 for FreeBSD root pools?
vermaden <[email protected]> Tue, 12 May 2026 23:52:15 +0200
| Newsgroups | gmane.os.freebsd.devel.hackers |
|---|---|
| Message-ID | <kerpupuxmynlnsrwwkor@yhkr> |
> that ashift=14 will do what?
The zpool(8) command allows -o ashift=14 and properly creates such pool.
After I specified -o ashift=14 in the 'ZFS Pool Options' FreeBSD installed successfully.
... but then zdb(8) does not work because /etc/zfs/zpool.cache is not used on boot/import ... strange.
root@ashift:~ # zdb
libzpool: WARNING: ignoring tunable zfs_arc_max (using 154539520 instead)
cannot open '/etc/zfs/zpool.cache': No such file or directory
... or maybe You know other way to check it?
... and after I created such -o ashift=14 ZFS pool on other system - everything works:
root@freebsd15:~ # zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
pool 960M 1.36M 959M - - 2% 0% 1.00x ONLINE -
zroot 17.5G 1.46G 16.0G - - 3% 8% 1.00x ONLINE -
root@freebsd15:~ # zdb 2>&1 | grep -E -e ashift -e '^pool:' -e '^zroot:'
pool:
ashift: 14
zroot:
ashift: 12
Regards,
vermaden