I have an xcp-ng 8.3 system that will not mount an iscsi Lun on a Truenas scale electric eel system. Other os’s mount it just fine, only xcp-ng will not. I have found a few posts that talk about ssh’ing into hosts and hand making config file changes. Have not tried them yet. Wanted to see if there is a better way?
I can mount nfs and smb shares from the truenas into xcp-ng, just not iscsi
What error messages are you getting? What is happening exactly?
Log shows a whole bunch of code but this piece may be the clue???
“Device Mapper path missing [opterr=Device mapper path /dev/mapper/36589cfc000000ab10ffd56a4348d0954 not found]”,
“”
SR_BACKEND_FAILURE_432
I’ve run into something similar before. XCP-ng can be a bit picky with iSCSI targets, especially from TrueNAS Scale. Sometimes it’s about how the target is being presented. Have you checked if the TrueNAS iSCSI target is using a LUN ID that XCP-ng expects? Also, make sure CHAP is set up correctly if you’re using it. It might be worth enabling debug logs on the TrueNAS side while attempting the mount to see what’s getting through. And yeah, editing config files manually can work, but it feels like a last resort. Let us know what kind of errors you’re seeing; it might help narrow things down.