I connect my Windows 11 machine to my NAS using an iSCSI connection. This setup works well most of the time, especially when using a large MTU size (9000). However, every once in a while, my Windows machine displays an error indicating that the volume is corrupted. I find myself needing to run the Chkdsk command every few weeks to restore read/write access.
I searched online for solutions but only found articles related to older versions of Windows, such as 2012 and 8.
Mounting an iSCSI volume on multiple clients at the same time is akin to an undefined situation and will corrupt data in short order.
Since it’s iSCSI each client assumes it’s the only one working with the volume and whenever anything needs to change, metadata for example, it assumes it is the only one modifying it. If this isn’t the case, and another client is changing things affecting the same metadata, chaos ensues.
There are ways to do multi-user iSCSI but that typically takes specialist software working as a gatekeeper/wrapper, actively preventing above mentioned corruption. This goes far beyond the iSCSI implementation included in TrueNAS and most other similar software.
Edit: I recommend rethinking your approach. Consider if SMB may be a better access method.