It's unclear to me if it's safe to mix different sector sizes (512 and 4096) in the same PV.
I have a VG made up of multiple mdadm RAID6 arrays. All the arrays have sector size of 512. I was adding another array and realized it has a sector size of 4096 (I got the appropriate error message during the vgextend).
I'm using a the VG to create a thin volume where I have an xfs filesystem with 4096 as sector size:
= sectsz=4096 attr=2, projid32bit=1
= crc=1 finobt=1, sparse=1, rmapbt=0
= reflink=1 bigtime=1 inobtcount=1 nrext64=0
data = bsize=4096 blocks=432181084160, imaxpct=1
= sunit=256 swidth=8192 blks
naming =version 2 bsize=4096 ascii-ci=0, ftype=1
log =internal log bsize=4096 blocks=521728, version=2
= sectsz=4096 sunit=1 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
Is it safe to enable allow_mixed_block_sizes and combine the array? What situations are safe and which ones are not?
It's unclear to me if it's safe to mix different sector sizes (512 and 4096) in the same PV.
I have a VG made up of multiple mdadm RAID6 arrays. All the arrays have sector size of 512. I was adding another array and realized it has a sector size of 4096 (I got the appropriate error message during the vgextend).
I'm using a the VG to create a thin volume where I have an xfs filesystem with 4096 as sector size:
Is it safe to enable
allow_mixed_block_sizesand combine the array? What situations are safe and which ones are not?