Dear experts,
I’m a newbie with SUSE OS. i’m trying to create a disk without formatting and share this iSCSI disk from server to client. and I get this error
“Target connection failed.
iscsiadm: Could not login to [iface:default, target:iqn.2020-06.com.example,portal: IP, 3269]
iscsiadm: initiator reported error (24 - iSCSI login failed due to authorization failure)
iscsiadm: could not log into all portals.”
I don’t know why i get this error, because i didn’t check authorization login for the connect almost server and client.
please help me how to solved this error.
Have a nice day!
Dear expert,
Here is my command:
targetcli
/backstores/block> create sbddb /dev/mapper/lvm_sbddb-sbd_db
/> cd iscsi
/iscsi> create
/iscsi/iqn.20…d1c/tpg1/luns> create /backstores/block/sbddb
/iscsi/iqn.20…d1c/tpg1/acls> create iqn.1996-04.de.suse:sbddb
cd …/portals/
/iscsi/iqn.20…/tpg1/portals> create 10.1.1.10 3260
/iscsi/iqn.20…20fbfd1c/tpg1> set attribute authentication=0
/> saveconfig
/> exit
and #iscsiadm -m discovery -t sendtargets -p idpnfs
10.1.1.10:3260,1 iqn.2003-01.org.linux-iscsi.idpnfs.x8664:sn.0bd720fbfd1c
when i try to connect from itself it announced that:
iscsiadm -m node -p 10.1.1.10 --login
“Logging in to [iface: default, target: iqn.2003-01.org.linux-iscsi.idpnfs.x8664:sn.0bd720fbfd1c, portal: 10.1.1.10,3260]
iscsiadm: Could not login to [iface: default, target: iqn.2003-01.org.linux-iscsi.idpnfs.x8664:sn.0bd720fbfd1c, portal: 10.1.1.10,3260].
iscsiadm: initiator reported error (24 - iSCSI login failed due to authorization failure)
iscsiadm: Could not log into all portals”
please help me!