You can modify parameters to adjust various response or connection time values of the iSCSI initiator either for all targets the initiator system is connected to or for a specific target.
To change a parameter value of a specific iSCSI target:
iscsiadm modify target-param -T tunable-prop=value target-name
For example, to set the maximum connection retry time to 90 seconds for one target:
# iscsiadm modify target-param -T conn-login-max=90 iqn.1986-03.com.sun: 02:47ac0506-cd48-67f5-fc0d-ab7544d37538
To adjust a parameter value for all targets:
iscsiadm modify initiator-node -T tunable-prop=value
For example, to set the maximum connection retry time to 90 seconds for all targets:
# iscsiadm modify initiator-node -T conn-login-max=90
To change a parameter value of a specific iSCSI target:
# iscsiadm modify target-param -T tunable-prop=value target-name
For example, to set the maximum connection retry time to 90 seconds for a specific target:
# iscsiadm modify target-param -T conn-login-max=90 iqn.1986-03.com.sun: 02:47ac0506-cd48-67f5-fc0d-ab7544d37538
The tunable parameters listed in the following table apply to the active connection, and change the behavior of the iSCSI initiator and the targets that connect to the initiator.
|