Re: block size: 512B configured, 4096B native all of a sudden

From: Dag-Erling_Smørgrav <des_at_FreeBSD.org>
Date: Mon, 22 Apr 2024 15:18:46 UTC
mike tancsa <mike@sentex.net> writes:
> I upgraded a RELENG_13 box from last March to one today to bring in
> some of the zfs bug fixes.  But now I have this warning on a pool that
> was not there before.  But the special devices (two 2TB samsungs) are
> 512 according to smartctl?  Any idea why this warning popped up on the
> pool all of a sudden?  the disks and pool have been the same for a
> year or so.

what does `sysctl vfs.zfs.vdev.min_auto_ashift` say?

> Sector Size:      512 bytes logical/physical

The SSD is doing read-copy-update behind the scenes to support a
512-byte sector size for compatibility reasons, the real sector size is
unlikely to be less than 4 kB and may actually be significantly larger.

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org