Truenas freezes while transferring?

Not sure if related, but since you mentioned the ‘avahi’ errors, maybe this will help:

If that gets rid of the avahi errors, but you still have issues, then at least maybe it’ll reduce the amount of noise in the logs & we can try to figure something out.

Any chance it could be PSU related?