So I'm part way through a mammoth changeover from piles of external disks running HFS+/APFS to actually finally having nearly all of my storage on ZFS in proper multi-bay enclosures. One of the pieces of the puzzle however is my NAS, which sadly does not support ZFS (so no zfs send'ing directly to it); it does however support iSCSI, so my intention is to create a big iSCSI target on a classic RAID (it's a secondary backup so self-healing isn't super critical).
However, I'm very unclear on how to actually connect ZFS to an iSCSI target.
I know that ZFS supports the creation of iSCSI targets, so it clearly has some way to define and expose these, but what I'm less clear on is whether it has a built-in ability to connect to them, or do I still need to find a separate iSCSI initiator for macOS?
If I do need a separate iSCSI initiator, what are the current options? Are there any good free ones?
I don't really need a GUI; in fact I'd prefer a way to connect via command line as I'll probably aim to only connect when I need to run a zfs send to the iSCSI target, i.e- connect, import, send, then export and disconnect, except for a periodic scrub, so a command line tool will make it a lot easier to write a script to handle all of this.