Hi -
I've been banging my head into a wall trying to figure this out. I'm setting up an iSCSI share on Debian, but keep getting "No portals found" on my client machine when I do: iscsiadm -m discovery -t st -p 192.168.3.21
In my google searches, I keep running into ACL solutions, but my ACL is set to "ALL". I've reinstalled my target and open-iscsi but nothing helps. I can ping my target from the client without any problems, and have put my initiator name into the initiators.conf file on the client. Any solutions will be greatly appreciated!
sudo tgtadm --mode target --op show
Code:
Target 1: iqn.2020-04.lan.servers:target01
System information:
Driver: iscsi
State: ready
I_T nexus information:
LUN information:
LUN: 0
Type: controller
SCSI ID: IET 00010000
SCSI SN: beaf10
Size: 0 MB, Block size: 1
Online: Yes
Removable media: No
Prevent removal: No
Readonly: No
SWP: No
Thin-provisioning: No
Backing store type: null
Backing store path: None
Backing store flags:
LUN: 1
Type: disk
SCSI ID: IET 00010001
SCSI SN: beaf11
Size: 52429 MB, Block size: 512
Online: Yes
Removable media: No
Prevent removal: No
Readonly: No
SWP: No
Thin-provisioning: No
Backing store type: rdwr
Backing store path: /iscsi/blocks/1.img
Backing store flags:
Account information:
server
servers
ACL information:
ALL
iqn.2020-04.lan.servers:initiator01
Target config file:
Code:
<target iqn.2020-04.lan.servers:target01>
# provided devicce as a iSCSI target
backing-store /iscsi/blocks/1.img
# iSCSI Initiator's IQN you allow to connect to this Target
initiator-name iqn.2020-04.lan.servers:initiator01
# authentication info ( set any name you like for "username", "password" )
incominguser servers install
</target>
iscsiadm -m discovery (on client/initiator):
Code:
192.168.3.21:3260 via sendtargets
iscsiadm --mode node