Iâve had nothing but rather bad experiences with tri-mode HBAâs.
They do some sort of internal processing and present NVMe drives to the OS as if they were SCSI/SAS drives and this slows the whole process down significantly due to the latencies involved with that conversion.
SAS9400 adapters are particularly bad. SAS9500 adapters are a little bit better. SAS9600 adapters are the best, but they are still rather expensive and even these will have much reduced performance compared to running the drives natively.
Additionally tri-mode adapters can be finicky and have weird compatibility issues and other conflicts.
I have honestly never heard anyone say anything positive about tri-mode adapters.
If I had to use a large number of NVMe drives on a board with few PCIe lanes, Iâd probably max out the few on-board m.2 ports there are and get a 16x to four m.2 adapter riser (assuming the motherboard supports bifurcation) and use that.
There are some PCIe switch products that can also be useful, but they tend to be frighteningly expensive to the point where they just arenât worth it. (that, and they tend to be limited by upstream bandwidth constrictions, and add undesired latency, though a lot less bad than tri-mode adapters)
Using tri-mode adapters would be a very last resort.
And all that said, Iâd argue that there is a rather limited point in using NVMe for NAS (other than maybe as a cache device to help speed up slower devices).
If you really NEED SSDâs for this NAS, one of the more affordable ways to accomplish that right now is to get decommed high write endurance enterprise SAS SSDâs from tech recyclers or on eBay, and hook them up using actual SAS on an older SAS9300 HBA. They wonât have has high peak performance as an NVMe device does, but they will be much more stable under load as they generally donât have volatile SAS caches that run out followed by much slower write performance.
And if you look around you can even set up so called âwide modeâ with dual port SAS devices which can get you quite good performance, up to dual SAS3 port bandwidth (using multipath IO) up to about 3GB/s if the drive supports it, though it does require special breakout cables.
All of that said, while there are workarounds to get old consumer hardware to work in this application, the more capability you ask from it, the more ghetto it is going to get. Iâd argue that for any server that runs 24/7 you are going to want ECC and an official server CPU (Epyc/Xeon) or at the very least something like an ASRock Rack server board designed to use consumer AM4/AM5 CPUâs