Verified.
lvm2-2.02.186-3.el7.x86_64
1) conf option present
# grep allow_mixed_block_sizes /etc/lvm/lvm.conf.rpmnew # Configuration option devices/allow_mixed_block_sizes. allow_mixed_block_sizes = 1
2) mixed block sizes allowed by default
# blockdev --report /dev/sd{a,k} RO RA SSZ BSZ StartSec Size Device rw 8192 512 4096 0 32212254720 /dev/sda rw 8192 4096 4096 0 536870912 /dev/sdk
# vgcreate vg /dev/sda /dev/sdk Physical volume "/dev/sda" successfully created. Physical volume "/dev/sdk" successfully created. Volume group "vg" successfully created
Verified.
lvm2-2. 02.186- 3.el7.x86_ 64
1) conf option present
# grep allow_mixed_ block_sizes /etc/lvm/ lvm.conf. rpmnew allow_mixed_ block_sizes. mixed_block_ sizes = 1
# Configuration option devices/
allow_
2) mixed block sizes allowed by default
# blockdev --report /dev/sd{a,k}
RO RA SSZ BSZ StartSec Size Device
rw 8192 512 4096 0 32212254720 /dev/sda
rw 8192 4096 4096 0 536870912 /dev/sdk
# vgcreate vg /dev/sda /dev/sdk
Physical volume "/dev/sda" successfully created.
Physical volume "/dev/sdk" successfully created.
Volume group "vg" successfully created