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

From: mike tancsa <mike_at_sentex.net>
Date: Mon, 22 Apr 2024 15:33:05 UTC
On 4/22/2024 11:29 AM, Dag-Erling Smørgrav wrote:
> mike tancsa <mike@sentex.net> writes:
>> Where what would be picking up the "true" size and why the change from
>> a March 4th system to one today ?
> https://cgit.freebsd.org/src/commit/?id=b7dce5b8e988f47784c55aa096541deda7b1aaeb

Well, that explains it :)  I guess the next question is how can I fix 
the issue ? its over 73TB and would take quite a long time to zfs send | 
zre recv. The HDDs are indeed 4K disks. If I offline the 2 SSD disks 
that are part of the special device one by one and resilver, will it fix 
it ?

  zpool status
   pool: zbackup1
  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: scrub repaired 0B in 1 days 12:33:12 with 0 errors on Sun Dec 
10 17:45:06 2023
config:

         NAME                               STATE     READ WRITE CKSUM
         zbackup1                           ONLINE       0 0     0
           raidz1-0                         ONLINE       0 0     0
             diskid/DISK-VAGGPZKLp1         ONLINE       0 0     0
             diskid/DISK-VAHZDXALp1         ONLINE       0 0     0
             diskid/DISK-VAJ0S1DLp1         ONLINE       0 0     0
             diskid/DISK-VAHZRMSLp1         ONLINE       0 0     0
             diskid/DISK-VAHZAN4Lp1         ONLINE       0 0     0
           raidz1-2                         ONLINE       0 0     0
             diskid/DISK-1EJD0HUZp1         ONLINE       0 0     0
             diskid/DISK-1EJD5Y7Zp1         ONLINE       0 0     0
             diskid/DISK-1EK5KGUZp1         ONLINE       0 0     0
             diskid/DISK-1EK112WZp1         ONLINE       0 0     0
         special
           mirror-1                         ONLINE       0 0     0
             diskid/DISK-S6PNNM0W619793Pp1  ONLINE       0 0     0  
block size: 512B configured, 4096B native
             diskid/DISK-S6PNNM0W619816Bp1  ONLINE       0 0     0  
block size: 512B configured, 4096B native

     ---Mike