Two USB drive enclosures, one serial number
I added a second multi-bay USB enclosure to my Proxmox box and the disk names under /dev/disk/by-id/ started colliding.
Both enclosures use JMicron USB-to-SATA bridges, and every bay in both of them reports the same fake serial: 0123456789ABCDEF. So the "stable" by-id names look like usb-JMicron_Generic_DISK00, …DISK01 and so on. They're numbered per enclosure, they collide between enclosures, and they can swap when the USB bus re-enumerates.
That's a problem for ZFS, which remembers the device paths it imported from. Two rules I follow now:
Import pools by partition UUID, which lives on the disk itself:
zpool export tank zpool import -d /dev/disk/by-partuuid tankIdentify physical disks by their real serial, which you can still read through the bridge with SAT passthrough:
smartctl -i -d sat /dev/sdX
Bonus gotcha: smartd's DEVICESCAN can't open these disks either. List each one explicitly in smartd.conf with -d sat.