📄 iscsi.conf
字号:
# one, uncomment the following line:##PingTimeout=<number>## where <number> is in seconds. A setting of "0" will result in the ping command# never timing out.## The global connection timeout settings can be overridden on a per target name,# discovery address or IP address basis. An example of setting the# "LoginTimeout" value to 12 seconds for just target iqn.1987-# 05.com.cisco:00.0d1d898e8d66.t0 would be:##TargetName=iqn.1987-05.com.cisco:00.0d1d898e8d66.t0# LoginTimeout=12## An example of setting the "AuthTimeout" value to 8 seconds for just all# targets found at address 192.168.10.94 would be:##DiscoveryAddress=192.168.10.94# AuthTimeout=8## An example of setting the "IdleTimeout" value to 3 seconds for just all# targets found on subnet 192.168.10.94 would be:##Subnet=192.168.10.0/24# IdleTimeout=3## ------------------------# SESSION TIMEOUT SETTINGS# ------------------------# To globally specify the length of time to wait for session re-establishment# before failing SCSI commands back to the application, uncomment the# following line:# #ConnFailTimeout=<number>## where <number> is in seconds. A setting of "0" will result in commands never# being failed back due to connection failure.## The global session timeout settings can be overridden on a per target name# basis. An example of setting the "ConnFailTimeout" value to 5 seconds for# just target iqn.1987-05.com.cisco:00.0d1d898e8d66.t0 would be:##TargetName=iqn.1987-05.com.cisco:00.0d1d898e8d66.t0# ConnFailTimeout=5## If a third party multipathing application is being used,# then the "ConnFailTimeout" should be set to smaller value# such as 15. This value is just a guideline so the actual value will be# dependent on the users operating environment.## -------------------------------# ERROR HANDLING TIMEOUT SETTINGS# -------------------------------# To globally specify the length of time to wait for an abort command to# complete before declaring the abort command has failed, uncomment the# following line:##AbortTimeout=<number>## where <number> is in seconds. A setting of "0" will result in commands never# being timed out.## To globally specify the length of time to wait for a reset command to complete# before declaring that the reset command has failed, uncomment the following# line:##ResetTimeout=<number>## where <number> is in seconds. A setting of "0" will result in commands never# being timed out.## The global error handling timeout settings can be overridden on a per target# name or per IP address basis. An example of setting the "AbortTimeout" value# to 10 seconds for just target iqn.1987-05.com.cisco:00.0d1d898e8d66.t0 would# be:##TargetName=iqn.1987-05.com.cisco:00.0d1d898e8d66.t0# AbortTimeout=10## An example of setting the "ResetTimeout" value to 6 seconds for just all# targets found on portal 192.168.10.94 would be:##Subnet=192.168.10.0/24# ResetTimeout=6## -----------------------------# CONTINUOUS DISCOVERY SETTINGS# -----------------------------# To globally specify that all discovery sessions be kept open, uncomment the# following line:##Continuous=yes## To globally specify that all discovery sessions be closed once discovery is# completed, uncomment the following line:##Continuous=no## The global continuous discovery setting can be overridden on a per target# basis. An example of setting "Continuous" to "no" for just target iqn.1987-# 05.com.cisco:00.0d1d898e8d66.t0 would be:##TargetName=iqn.1987-05.com.cisco:00.0d1d898e8d66.t0# Continuous=no ## ---------------------------------# ASYNC EVENT NOTIFICATION SETTINGS# ---------------------------------# To globally specify that the initiator wants to receive vendor specific async # events from the target(s), uncomment the following line:##SendAsyncText=yes## To globally specify that the initiator does not want to receive vendor # specific async events from the target(s), uncomment the following line:##SendAsyncText=no## The SendAsyncText key can be specified for a particular Discovery Address.## The global async event notification setting can be overridden on a per target# basis. An example of setting "SendAsyncText" to "no" for just target iqn.1987-# 05.com.cisco:00.0d1d898e8d66.t0 would be:##TargetName=iqn.1987-05.com.cisco:00.0d1d898e8d66.t0# SendAysncText=no# # ------------------------------------# iSCSI OPERATIONAL PARAMETER SETTINGS# ------------------------------------# To globally enable R2T flow control (i.e., the initiator must wait for an R2T# command before sending any data), uncomment the following line:##InitialR2T=yes ## To globally disable R2T flow control (i.e., the initiator has an implied# initial R2T of "FirstBurstLength" at offset 0), uncomment the following line:##InitialR2T=no ## To globally enable immediate data (i.e., the initiator sends unsolicited data# with the iSCSI command packet), uncomment the following line:##ImmediateData=yes## To globally disable immediate data (i.e., the initiator does not send# unsolicited data with the iSCSI command PDU), uncomment the following line:##ImmediateData=no## To globally specify the maximum number of data bytes the initiator can receive# in an iSCSI PDU from a target, uncomment the following line:##MaxRecvDataSegmentLength=<number>## where <number> is the number of bytes in the range of 512 to (2^24-1)## To globally specify the maximum number of unsolicited data bytes the initiator# can send in an iSCSI PDU to a target, uncomment the following line:##FirstBurstLength=<number>## where <number> is the number of bytes in the range of 512 to (2^24-1)## To globally specify the maximum SCSI payload that the initiator will negotiate# with the target for, uncomment the following line:##MaxBurstLength=<number>## where <number> is the number of bytes in the range of 512 to (2^24-1)## To globally specifiy the maximum number of bytes that can be sent over a TCP# connection by the initiator before receiving an acknowledgement from the# target, uncomment the following line:##TCPWindowSize=<number>## where <number> is the number of bytes in the range of 512 to (2^24-1)## The global iSCSI operational parameter setting can be overridden on a per# target basis. An example of setting multiple parameters for just target# iqn.1987-05.com.cisco:00.0d1d898e8d66.t0 would be:##TargetName=iqn.1987-05.com.cisco:00.0d1d898e8d66.t0# InitialR2T=no# ImmediateData=no# MaxRecvDataSegmentLength=128 * 1024# FirstBurstLength=262144# MaxBurstLength=(16 * 1024 * 1024) - 1024# TCPWindowSize=262144## The global "TCPWindowSize" setting can also be overridden on a per portal# basis. An example of setting the "TCPWindowSize" for just subnet 10.77.13.0/16# would be:##Subnet=10.77.13.0/16# TCPWindowSize=262144## ------------# SLP SETTINGS# ------------# To globally configure the unicast IP address of the SLP service or directory# agent (i.e., the address at which iSCSI targets can be discovered), uncomment# the following line:##SLPUnicast=<address>## where <address> is single IP address.## To globally configure the multicast IP address of the SLP service or directory# agent (i.e., the address at which iSCSI targets can be discovered), uncomment# the following line:##SLPMulticast=<address># # where <address> is one of the following values:# "all"# "none"# a comma delimited list of IP addresses# # An example of valid SLPMulticast settings are:##SLPMulticast=all#SLPMulticast=none#SLPMulticast=192.168.10.94,10.77.10.94## To enable CHAP authentication for every target discovered through a given SLP# directory or service agent, add an "OutgoingUsername" and "OutgoingPassword"# entry indented below the "SLPUnicast" or "SLPMulticast" entries. An example of# these configurations would be:##SLPUnicast=192.168.10.95# OutgoingUsername=alice# OutgoingPassword=nty57nbe##SLPMulticast=all# OutgoingUsername=alice1# OutgoingPassword=nty57ocf## To specify the time interval between the sending of successive SLP queries,# uncomment the following line:##PollInterval=<text>## where <text> is specified in either seconds (e.g., "30s"), minutes# (e.g., "3m") or hours (e.g., "5h").
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -