New ZFS datastore set up without disk IDs in PBS GUI

Nov 29, 2024
26
23
3
EDIT: After posting this, I rebooted my server and found that after the reboot the disks are referenced by ID, not by device name. So everything's fine -- maybe this is still helpful for someone wondering about device names vs. IDs.



Hi, I am trying to set up a backupstore in PBS 3.3.4 with four enterprise SAS SSDs connected via HBA in RAIDZ. When I do that via the GUI:
Bildschirmfoto 2025-04-02 um 15.54.34.png
The pool backupstore is set up not with the disk ids, but with device names.
Code:
zpool status
  pool: backupstore
 state: ONLINE
config:

    NAME         STATE     READ WRITE CKSUM
    backupstore  ONLINE       0     0     0
      raidz1-0   ONLINE       0     0     0
        sdc      ONLINE       0     0     0
        sdd      ONLINE       0     0     0
        sde      ONLINE       0     0     0
        sdf      ONLINE       0     0     0

zpool history
zpool create -o ashift=12 -m /mnt/datastore/backupstore backupstore raidz sdc sdd sde sdf
Wouldn't it make more sense to set up the pool with disk IDs? I tried setting it up by hand with the IDs from /dev/disk/by-id and that worked just fine:
Code:
zpool create -o ashift=12 -m /mnt/datastore/backupstore backupstore raidz /dev/disk/by-id/scsi-35002538b09ac8780 /dev/disk/by-id/scsi-35002538b09ac87d0 /dev/disk/by-id/scsi-35002538b09ac4220 /dev/disk/by-id/scsi-35002538b09ac43d0
zpool status backupstore
pool: backupstore
 state: ONLINE
config:

    NAME                        STATE     READ WRITE CKSUM
    backupstore                 ONLINE       0     0     0
      raidz1-0                  ONLINE       0     0     0
        scsi-35002538b09ac8780  ONLINE       0     0     0
        scsi-35002538b09ac87d0  ONLINE       0     0     0
        scsi-35002538b09ac4220  ONLINE       0     0     0
        scsi-35002538b09ac43d0  ONLINE       0     0     0
Is there a reason why the GUI would use device names instead of disk IDs? If not, should I report this as a bug?
Cheers, Andreas
 
Last edited: