I was able to successfully log into an ISCSI target by command
command:sudo iscsiadm --mode node --targetname iqn.2010-06.com.XXXX-a215 --portal 10.X.X.X:3260, 1 --login
output: Logging in to [iface: default, target:iqn.2010-06.com.XXXX-a215, portal: 10.X.X.X,3260] (multiple)
Login to [iface: default, target:iqn.2010-06.com.XXXX-a215, portal: 10.X.X.X,3260] successful.
Mas quando executo ls -lh / dev / disk / by-path não consigo encontrar um dispositivo correspondente ao alvo adicionado acima.
quando faço iscsiadm -m session -P 3
Target: iqn.2010-06.com.XXX-a216 (non-flash)
Current Portal: X.X.X.X:3260,1
Persistent Portal: X.X.X.X:3260,1
**********
Interface:
**********
Iface Name: default
Iface Transport: tcp
Iface Initiatorname: iqn.1994-05.com.redhat:6da67798e2
Iface IPaddress: X.X.X.X
Iface HWaddress: <empty>
Iface Netdev: <empty>
SID: 1
iSCSI Connection State: Unknown
iSCSI Session State: LOGGED_IN
Internal iscsid Session State: Unknown
*********
Timeouts:
*********
Recovery Timeout: 120
Target Reset Timeout: 30
LUN Reset Timeout: 30
Abort Timeout: 15
*****
CHAP:
*****
username: <empty>
password: ********
username_in: <empty>
password_in: ********
************************
Negotiated iSCSI params:
************************
HeaderDigest: None
DataDigest: None
MaxRecvDataSegmentLength: 262144
MaxXmitDataSegmentLength: 1048576
FirstBurstLength: 262144
MaxBurstLength: 16776192
ImmediateData: Yes
InitialR2T: Yes
MaxOutstandingR2T: 1
************************
Attached SCSI devices:
************************
Host Number: 3 State: running
scsi3 Channel 00 Id 0 Lun: 0
Attached scsi disk sdb State: running
Target: **iqn.2010-06.com.XXX-a215** (non-flash)
Current Portal: X.X.X.X:3260,1
Persistent Portal: X.X.X.X:3260,1
**********
Interface:
**********
Iface Name: default
Iface Transport: tcp
Iface Initiatorname: iqn.1994-05.com.redhat:6da67798e2
Iface IPaddress: 10.15.235.74
Iface HWaddress: <empty>
Iface Netdev: <empty>
SID: 4
a216 é capaz de mostrar como sdb, a215 não é mostrada e a informação sobre a215 quando eu fiz iscsiadm -m session -P 3 é bem baixa. o que isso significa?
Tags iscsi