Re: Set ZFS pool ashift=14 for FreeBSD root pools?
Miroslav Lachman <[email protected]> Wed, 13 May 2026 09:04:18 +0200
| Newsgroups | gmane.os.freebsd.devel.hackers |
|---|---|
| Message-ID | <[email protected]> |
On 12/05/2026 23:52, vermaden wrote: >> 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? Try `zpool get ashift <pool>`, but all my pools show 0 (zero) ashift=ashift Pool sector size exponent, to the power of 2 (internally referred to as ashift). Values from 9 to 16, inclusive, are valid; also, the value 0 (the default) means to auto-detect using the kernel's block layer and a ZFS internal exception list. Miroslav Lachman