zfs /dev/disk/by-id gives strange

belrpr

Member
Aug 9, 2017
48
7
6
40
Hi,

I've installed a new proxmox server with 5.1 and used a ZFS mirror.
First thing that I always do is changing zfs to /DEV/DISK.BY-ID just to be save.

But in this installation I see something like this:
Code:
root@FS-HV-01-17:~# zpool status
  pool: rpool
 state: ONLINE
  scan: none requested
config:

        NAME                              STATE     READ WRITE CKSUM
        rpool                             ONLINE       0     0     0
          mirror-0                        ONLINE       0     0     0
            wwn-0x50025385a0282b11-part2  ONLINE       0     0     0
            wwn-0x50025385a0282a87-part2  ONLINE       0     0     0

While the wwn used to be ata-Samsung_SSD_840_PRO_Series_S1AXNSAF714631P so I could easily find the drive because of the serialnumber.

If I manually do ls -al /dev/disk/byid I see both the symlinks.
 
you can also define your own names using udev or vdev_id.conf , or use the new 'zpool status -c serial' option (note that -c is disabled for the root user by default, see 'man zpool').