On Mon, Mar 31, 2008 at 9:14 PM, Mike Christie <[EMAIL PROTECTED]> wrote:
>  Bart Van Assche wrote:
>  > Has anyone here experience with letting the open-iscsi initiator
>  > connect to an iSCSI target system on which many (hundreds) of target
>  > have been configured ? From a certain number of targets on the
>  > open-iscsi initiator starts complaining that the buffer size is too
>  > small. Can I increase the 32768 byte buffer limit without recompiling
>  > open-iscsi ?
>
>  Do you see this error during discovery? What is the error exactly?

This error did indeed happen during discovery (against an OpenSolaris
iSCSI target):

# dpkg -l open-iscsi
...
ii  open-iscsi     2.0.865-1      High performance, transport independent iSCS
# iscsiadm -m discovery -t sendtargets -p 10.100.101.51
iscsiadm: buffer size 32768 too small for data length 32768


>  In http://www.open-iscsi.org/bits/open-iscsi-2.0-865.15.tar.gz you can set:
>
>  # To specify the maximum number of data bytes the initiator can receive
>  # in an iSCSI PDU from a target during a discovery session, edit the
>  # following line.
>  #
>  # The value is the number of bytes in the range of 512 to (2^24-1) and
>  # the default is 32768
>  #
>  discovery.sendtargets.iscsi.MaxRecvDataSegmentLength = 32768
>
>  Some targets have a limit of 64K and there is a bug where we do not
>  handle multiple pdus correctly.
>
>  In http://www.open-iscsi.org/bits/open-iscsi-2.0-869-rc2.tar.gz you can
>  set the same value and the pdu handling should be fixed.

This works a lot better:

# /open-iscsi-2.0-869-rc2/sbin/iscsiadm -m discovery -t sendtargets -p
10.100.101.51 | wc
    889    1778   84341

Thanks for providing a solution so quickly. Has it already been
decided when open-iscsi version 2.0-869 will be released ?

Bart.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---

Reply via email to