Date: Thu, 12 Jan 2017 23:29:56 +0100 From: Stefan Bethke <stb@lassitu.de> To: freebsd-stable <freebsd-stable@freebsd.org> Subject: zpool asize problem on 11.0 Message-ID: <01B0C796-CB6D-412D-AB93-05836906BC89@lassitu.de>
next in thread | raw e-mail | index | archive | help
I’ve just created two pools on a freshly partitioned disk, using 11.0 amd64, and the shift appears to be 9:
# zpool status -v host
pool: host
state: ONLINE
status: One or more devices are configured to use a non-native block size.
Expect reduced performance.
action: Replace affected devices with devices that support the
configured block size, or migrate data to a properly configured
pool.
scan: none requested
config:
NAME STATE READ WRITE CKSUM
host ONLINE 0 0 0
gpt/host0 ONLINE 0 0 0 block size: 512B configured, 4096B native
errors: No known data errors
# zdb host | grep ashift
ashift: 9
ashift: 9
But:
# sysctl vfs.zfs.min_auto_ashift
vfs.zfs.min_auto_ashift: 12
Of course, I’ve noticed this only after restoring all the backups, and getting ready to put the box back into production.
Is this expected behaviour? I guess there’s no simple fix, and I have to start over from scratch?
Stefan
--
Stefan Bethke <stb@lassitu.de> Fon +49 151 14070811
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01B0C796-CB6D-412D-AB93-05836906BC89>
