Hello,
I found this
link with guidance on how to performance tune iscsi.
My problem is either parameters are not being changed or they are not being reported correctly.
For instance, on the target (/etc/tgt/targets.conf) I've set this (on the global parameters section):
(I did uncomment the line)
Then restarted the target daemon (tgtd)
On the initiator side, the default iscsi.conf is set to
Code:
node.session.iscsi.InitialR2T = No
So I logon to the target with (this starts the iscsid daemon):
Code:
iscsiadm -m node -T iqn.choco.org.dev:disk1.disk -p 10.0.0.1 --login
But when I try (from the initiator):
Code:
iscsiadm -m session -P 2
from the initiator, this is what I get:
Quote:
Negotiated iSCSI params:
************************
HeaderDigest: None
DataDigest: None
MaxRecvDataSegmentLength: 262144
MaxXmitDataSegmentLength: 8192
FirstBurstLength: 65536
MaxBurstLength: 262144
ImmediateData: Yes
InitialR2T: Yes
MaxOutstandingR2T: 1
|
If I run:
Code:
iscsiadm -m node -T iqn.choco.org.dev:disk1.disk -p 10.0.0.1
I get this:
Quote:
node.session.iscsi.InitialR2T = No
|
I've even tried updating the InitialR2T setting with:
Code:
iscsiadm -m node -T iqn.choco.org.dev:disk1.disk -p 10.0.0.1 --op=update -n node.session.iscsi.InitialR2T -v No
this made no difference
What is going on? I'm a bit confused.
Any ideas?
Thanks