====== adding devices with different physical sector sizes is not allowed ======
zpool add hddpool log /dev/disk/by-id/nvme-XXXXXX-part8
cannot add to 'hddpool': adding devices with different physical sector sizes is not allowed
# get hddpool main disc sector size:
smartctl -a /dev/sda
Sector Sizes: 512 bytes logical, 4096 bytes physical
# get ashift of hddpool
zpool get ashift hddpool all-vdevs
NAME PROPERTY VALUE SOURCE
ata-XXXXXXX-part2 ashift 12 -
# get sector size of LOG device:
smartctl -a /dev/nvme-XXXXXX
Namespace 1 Formatted LBA Size: 512
Solution:
zpool add hddpool log /dev/disk/by-id/nvme-XXXXXX-part8 -o ashift=12