iSCSI login failed due to authorization failure
Or: How iSCSI Schooled Me Again
I’ve never really liked iSCSI. It’s always felt like the network equivalent of a floppy disk – just with more ways for things to break. And today, I was reminded why.
From one of my Linux machines (Debian 12, of course), I needed to connect to an iSCSI LUN on a Synology NAS. Being the security-paranoid person that I am, I enabled CHAP authentication. And just to be extra safe, I also enabled mutual CHAP. Because trust is good, but verification over TCP port 3260 is better.
And then… this happened:
# sudo iscsiadm -m node -T iqn.2000-01.com.synology:synology.Target-1.abcdefghijk -p xxx.xxx.xxx.xxx --login
Logging in to [iface: default, target: iqn.2000-01.com.synology:synology.Target-1.abcdefghijk, portal: xxx.xxx.xxx.xxx,3260]
iscsiadm: Could not login to [iface: default, target: iqn.2000-01.com.synology:synology.Target-1.abcdefghijk, portal: xxx.xxx.xxx.xxx,3260].
iscsiadm: initiator reported error (24 - iSCSI login failed due to authorization failure)
iscsiadm: Could not log into all portals
Continue Reading »