Can't add SLOG mirror, sector size issue

Hi all,

I have a 3 drive raidz pool with 3 8TB drives. I’m trying to add 2 Optane NVMe drives for slog, but I’m getting this error:

cannot add to 'tank': adding devices with different physical sector sizes is not allowed

I have another proxmox system that’s functionally identical, 4 spinners in raidz, with 2 optane drives for slog. Only difference I can see (including the sector sizes on both systems) is that the working system is running zfs-kmod-2.2.0-pve1 and the new one with the issue is running zfs-kmod-2.2.4-pve1.

The spinners in both systems report these sector sizes Sector size (logical/physical): 512 bytes / 4096 bytes and the optane nvme drives report these sizes Sector size (logical/physical): 512 bytes / 512 bytes

Seems very odd to me. Anyone spot something I’ve missed?

Ensure the nvme-cli package is installed and run:
nvme id-ns /dev/nvme{0…2}n1 to see available namespaces (lbaf, 512/4k) at the end of each one.
You can reformat to 4k sectors if supported by your model and after that try again to add as slog.

1 Like