iscsi ENOBUF error

Steven Hartland killing at multiplay.co.uk
Mon Nov 2 15:55:23 UTC 2015


On 02/11/2015 15:35, Daniel Braniss wrote:
>
>> On 2 Nov 2015, at 16:52, Steven Hartland wrote:
>>
>>
>> On 02/11/2015 13:17, Daniel Braniss wrote:
>>> Hi,
>>> I’m running the latest 10.2 Stable.
>>>
>>> I’m trying to set an iscsi target, and keep getting error 55, ENOBUF
>>> in both the target and initiator.
>>>
>>> Nov  2 14:54:41 store-07 kernel: cfiscsi_ioctl_handoff: new 
>>> connection from iqn.1994-09.org.freebsd:pe-14 (132.65.80.200) to 
>>> iqn.2015-11.il.ac.huji.cs:target0
>>> Nov  2 14:54:41 store-07 kernel: WARNING: icl_conn_start: soreserve 
>>> failed with error 55
>>> Nov  2 14:54:41 store-07 ctld[28649]: 132.65.80.200 
>>> (iqn.1994-09.org.freebsd:pe-14): error returned from CTL iSCSI 
>>> handoff request: cfiscsi_ioctl_handoff: icl_conn_handoff failed with 
>>> error 55; dropping connection
>>> Nov  2 14:54:41 store-07 ctld[28373]: child process 28649 terminated 
>>> with exit status 1
>>>
>>> any ideas?
>>>
>> Do you have any custom settings in /etc/sysctl.conf or /boot/loader.conf?
>>
>
> kern.ipc.maxsockbuf=1048576
> net.inet.tcp.recvspace=262144
> net.inet.tcp.sendspace=262144
> kern.ipc.shm_allow_removed=1

Looks like your customisation for kern.ipc.maxsockbuf is from 9.x days 
I'd recommend removing it or increasing it to > 2K.

     Regards
     Steve


More information about the freebsd-scsi mailing list