ZFS Disk reference by id, wwn and iscsi

pahanijulmu

New Member
Nov 4, 2025
4
0
1
I have ZFS Raidz1 pool using 5x800gb SAS SSD, one of the disk failed and I replaced it first with command

zpool replace sas-ssd 10890762950005935701 /dev/sdh

Which went fine, but then I realized its apparently not great idea to reference disk by /dev/sdX path if disk order changes? So I did zpool export sas-ssd and now replaced disk appeared referenced by id starting with wwn- while other disks are starting with scsi- , does this matter?

Code:
root@pve:~# zpool status

  pool: sas-ssd
 state: ONLINE
  scan: scrub repaired 0B in 00:04:33 with 0 errors on Fri Nov 14 22:39:02 2025
config:

        NAME                        STATE     READ WRITE CKSUM
        sas-ssd                     ONLINE       0     0     0
          raidz1-0                  ONLINE       0     0     0
            wwn-0x5002538a0772c6f0  ONLINE       0     0     0
            scsi-3500117310199d710  ONLINE       0     0     0
            scsi-3500117310199d66c  ONLINE       0     0     0
            scsi-3500117310199e464  ONLINE       0     0     0
            scsi-3500117310199e368  ONLINE       0     0     0