Setting up vdev_id aliases for nvme

Built up an HL15 using a H13SSL-N this past couple weeks.

I have the first 8 drives driven off the 3rd onboard MCIO port, and the remaining 7 connected with a reverse breakout cable. I’ve got a sata SSD sitting on the last SATA port as a boot device.

So far so good. Rocky’s in place with the cockpit plugins, and I figured out how to configure the server_info.conf, dalias.conf and vdev_id.conf files to make the drive view correctly show the device presence for all the drive I have installed. The ZFS plugin also works fine to configure a zfs pool across all the spinning rust I have.

The problem comes in with wanting to add a couple of m.2 nvme devices for SLOG and ARC. How do I configure aliases for them in dalias and vdev_id so they are available to add from the ZFS plugin in Cockpit?

I was looking around for some examples from one of the hybrid storinators, but I’m not finding what I need. Since they show up under /dev/ and in the Cockpit Storage page the same way regardless of if I use the builtin m.2 slots, or use a card like the AOC nvme card that’s in the homelab store, it stands to reason that there must be some way to alias nvme devices so they are usable/visible from the ZFS and 45Drives drive status page.