Disk Errors on both Motherboard SATA connection and on HBA connections

Well, I was just repeating some things I saw. I think this is done via GRUB parameters. Most of the sources refer to a file called /boot/armbianEnv.txt that I don’t think is present/applicable to TrueNAS but conceptually the parameters are;

extraargs=libata.force=noncq,3.0, and
extraargs=libata.force=3.0

See, eg this post; https://forum.armbian.com/topic/15937-sata-issue-drive-resets-atax00-failed-command-read-fpdma-queued/?do=findComment&comment=121892

To update GRUB parameters in TrueNAS refer eg to this post; https://forums.truenas.com/t/how-to-limit-sata-link-speed/25019

So between the two you can probably figure it out or ask over on the TN forum.