Output from targetcli ls
o- srpt ............................................................................................................. [Targets: 1]
| o- ib.fe800000000000005849560e53b70b01 ........................................................................... [no-gen-acls]
| o- acls ............................................................................................................ [ACLs: 1]
| | o- ib.fe800000000000005849560e59150301 .................................................................... [Mapped LUNs: 1]
| | o- mapped_lun0 .................................................................................. [lun0 ramdisk/swap (rw)]
| o- luns ............................................................................................................ [LUNs: 1]
| o- lun0 .................................................................................. [ramdisk/swap (default_tg_pt_gp)]
the only "enable" I can find is already enabled. I tried turning it off and back on to no avail:
[root]@[southpark][07:06:44][/sys/kernel/config/target/srpt]# cat 0xfe800000000000005849560e53b70b01/tpgt_1/enable
1
The initiator is Debian Bookworm; the target is Debian Trixie. Both are using Mellanox Connect-IB HCAs and an SX6005 switch.
They pass VXLAN traffic just fine. iSCSI is a different set of problems. NVMe-oF doesn't do ramdisks. Fibre Channel just isn't very fast.
dmesg on the initiator:
[611882.283783] scsi host11: ib_srp: REJ received
[611882.283787] scsi host11: ib_srp: SRP LOGIN from fe80:0000:0000:0000:5849:560e:5915:0301 to fe80:0000:0000:0000:5849:560e:53b7:0b01 REJECTED, reason 0x00010006
[611882.283794] scsi host11: ib_srp: Connection 0/12 to fe80:0000:0000:0000:5849:560e:53b7:0b01 failed
dmesg on the target:
[5433244.260520] ib_srpt Received SRP_LOGIN_REQ with i_port_id 5849:560e:53b7:0b09:5849:560e:53b7:0b01, t_port_id 5849:560e:53b7:0b01:5849:560e:53b7:0b01 and it_iu_len 8260 on port 1 (guid=fe80:0000:0000:0000:5849:560e:53b7:0b09); pkey 0xffff
[5433244.288102] ib_srpt rejected SRP_LOGIN_REQ because target port ibp33s0f1_1 has not yet been enabled
[5433244.301979] ib_srpt Rejecting login with reason 0x10001
[5433244.315893] scsi host14: ib_srp: REJ received
[5433244.315902] scsi host14: ib_srp: SRP LOGIN from fe80:0000:0000:0000:5849:560e:53b7:0b01 to fe80:0000:0000:0000:5849:560e:53b7:0b09 REJECTED, reason 0x00010001
[5433244.343554] scsi host14: ib_srp: Connection 0/16 to fe80:0000:0000:0000:5849:560e:53b7:0b09 failed
ALSO, how do I put an SRP ACL in a specific partition? It looks like srp_daemon is scanning all defined partitions, which isn't exactly what I want.
Thanks,
nap
o- srpt ............................................................................................................. [Targets: 1]
| o- ib.fe800000000000005849560e53b70b01 ........................................................................... [no-gen-acls]
| o- acls ............................................................................................................ [ACLs: 1]
| | o- ib.fe800000000000005849560e59150301 .................................................................... [Mapped LUNs: 1]
| | o- mapped_lun0 .................................................................................. [lun0 ramdisk/swap (rw)]
| o- luns ............................................................................................................ [LUNs: 1]
| o- lun0 .................................................................................. [ramdisk/swap (default_tg_pt_gp)]
the only "enable" I can find is already enabled. I tried turning it off and back on to no avail:
[root]@[southpark][07:06:44][/sys/kernel/config/target/srpt]# cat 0xfe800000000000005849560e53b70b01/tpgt_1/enable
1
The initiator is Debian Bookworm; the target is Debian Trixie. Both are using Mellanox Connect-IB HCAs and an SX6005 switch.
They pass VXLAN traffic just fine. iSCSI is a different set of problems. NVMe-oF doesn't do ramdisks. Fibre Channel just isn't very fast.
dmesg on the initiator:
[611882.283783] scsi host11: ib_srp: REJ received
[611882.283787] scsi host11: ib_srp: SRP LOGIN from fe80:0000:0000:0000:5849:560e:5915:0301 to fe80:0000:0000:0000:5849:560e:53b7:0b01 REJECTED, reason 0x00010006
[611882.283794] scsi host11: ib_srp: Connection 0/12 to fe80:0000:0000:0000:5849:560e:53b7:0b01 failed
dmesg on the target:
[5433244.260520] ib_srpt Received SRP_LOGIN_REQ with i_port_id 5849:560e:53b7:0b09:5849:560e:53b7:0b01, t_port_id 5849:560e:53b7:0b01:5849:560e:53b7:0b01 and it_iu_len 8260 on port 1 (guid=fe80:0000:0000:0000:5849:560e:53b7:0b09); pkey 0xffff
[5433244.288102] ib_srpt rejected SRP_LOGIN_REQ because target port ibp33s0f1_1 has not yet been enabled
[5433244.301979] ib_srpt Rejecting login with reason 0x10001
[5433244.315893] scsi host14: ib_srp: REJ received
[5433244.315902] scsi host14: ib_srp: SRP LOGIN from fe80:0000:0000:0000:5849:560e:53b7:0b01 to fe80:0000:0000:0000:5849:560e:53b7:0b09 REJECTED, reason 0x00010001
[5433244.343554] scsi host14: ib_srp: Connection 0/16 to fe80:0000:0000:0000:5849:560e:53b7:0b09 failed
ALSO, how do I put an SRP ACL in a specific partition? It looks like srp_daemon is scanning all defined partitions, which isn't exactly what I want.
Thanks,
nap