There was a thread (not mine) on the old Forums for how to turn FibreChannel on in CORE that I remember, but thats all I can recall. How TrueNAS Enterprise does slot mappings is on GitHub for anyone to view. It may be possible to write a similar script extension for your own specific hardware. However, there be dragons.
Here’s my brief exploration of this topic
As for this thread I had suggested using NetBox as a source of truth for drive mappings…and I still think that’s a valid solution to this problem. Maybe one of these days I’ll do a writeup for NetBox because it’s really quite useful to have a IPAM/DCIM tool in your homelab.