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

From: mike tancsa <mike_at_sentex.net>
Date: Mon, 22 Apr 2024 15:20:38 UTC
On 4/22/2024 11:18 AM, Dag-Erling Smørgrav wrote:
> 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?
  sysctl vfs.zfs.vdev.min_auto_ashift
vfs.zfs.vdev.min_auto_ashift: 9
>> 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.

Where what would be picking up the "true" size and why the change from a 
March 4th system to one today ?

     ---Mike