aggressive answers :) I know you are trying to help so no bad feelings about it.
When you insist on proceeding down the road after someone has already tried to give you the information you need, well, no good comes of it.
have a JBOD mode for disks.
This is unacceptable for TrueNAS.
Card firmware is 23.7.1-0010 - no idea if it is IT/IR firmware.
It is not. It is likely to be MFI/MRSAS firmware.
Do you think that everything will work fine on this card?
No, I do not. And clearly you've had the experience of incorrect firmware directly (H310):
performans is really bad. No SMART data nor disk serial numbers on Truenas Core web interface. I can tell that there is something wrong with this installation
And that article I linked to explains this in more detail. It's still a general explanation, not specifically targeting your exact issues.
is it possible for you to tell me which firmware I should be flashing to the card?
To the M5110? Probably the sledgehammer update, that's where you remove the card and beat it with an eight pound sledgehammer, and then get an HBA.
We've often discussed the fact that the LSI RAID controllers all use the same CPU architecture, and while theoretically you might be able to bodge LSI HBA IT firmware onto a high-end RAID controller, it leaves open-ended questions such as what happens to the battery charging circuit. If you're electronically competent, you can probably detach the battery. If you're competent with embedded processors, you might be able to get HBA firmware installed. But these are big maybes.
And the thing is, this is frequently discussed here on the forums. The M5110, two weeks ago:
I'm trying to build a NAS and the recommendation was to use an HBA if I want to use more hard drives. I bought a 9211-8i, connected 8 SATA hard drives to it but I don't see any signs of it working. According to the seller "It has been flashed to the latest IT Mode firmware". Am I supposed to do...
www.truenas.com
As for the PERC H310 Mini, yes, it can be crossflashed to IT mode and then it should work fine. Probably. Dell is a bit weird and some of their stuff likes to "work together" in odd ways.
So this basically ends up with me having to explain this stuff over and over and over and over and over again, and it's really not that pleasant, and I don't get paid to do this. Please excuse me if I sound exasperated. It comes across poorly when it seems like I provide links to things and yet need to write bespoke explanations that cover the same material. It's best to make use of available resources and then ask questions, if you can. We'll get you sorted out either way though.