HP 3PAR Solaris Implementation Guide

automatically discover the target without the need to issue devfsadm. However, if any change
is made in the target discovery address or method, a devfsadm command must be issued to
reconfigure the altered discovery address.
2. Verify the discovered targets.
# iscsiadm list target
Target: iqn.2000-05.com.3pardata:21310002ac00003e
Alias: -
TPGT: 131
ISID: 4000002a0000
Connections: 1
3. The Solaris iSCSI initiator sets the Max Receive Data Segment Length target parameter
to a value of 8192 bytes and this variable determines the amount of data the HP 3PAR
StoreServ Storage can receive or send to the Solaris host in a single iSCSI PDU. This parameter
value should be changed to 65536 bytes for better I/O throughput and the capability to
handle large I/O blocks. The following command should be used to change the parameter
and should be set on each individual target port.
# iscsiadm modify target-param -p maxrecvdataseglen=65536 <target iqn name>
Example:
a. List the default target settings used by the iSCSI Initiator.
# iscsiadm list target-param -v
Target: iqn.2000-05.com.3pardata:21310002ac00003e
---
Login Parameters (Default/Configured):
Max Receive Data Segment Length: 8192/-
b. List the target settings negotiated by the iSCSI Initiator.
# iscsiadm list target -v
Target: iqn.2000-05.com.3pardata:21310002ac00003e
Login Parameters (Negotiated):
Max Receive Data Segment Length: 8192
c. Change the value from 8192 to 65536 for all target ports.
# iscsiadm modify target-param -p maxrecvdataseglen=65536
iqn.2000-05.com.3pardata:21310002ac00003e
d. Verify that the changed value is set.
# iscsiadm list target-param -v
Target: iqn.2000-05.com.3pardata:21310002ac00003e
---
Max Receive Data Segment Length: 8192/65536
---
# iscsiadm list target -v
Target: iqn.2000-05.com.3pardata:21310002ac00003e
Setting Up the iSCSI Initiator for Target Discovery 47