Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Aug 2016 02:13:58 +0300
From:      Max Gurtovoy <maxg@mellanox.com>
To:        Ben RUBSON <ben.rubson@gmail.com>, <freebsd-scsi@freebsd.org>
Cc:        Roy Shterman <roysh@mellanox.com>, Oren Duer <oren@mellanox.com>
Subject:   Re: Help to make iSER working
Message-ID:  <b2429611-bb7e-e6ef-2153-a38f84b4c35e@mellanox.com>
In-Reply-To: <60159AE3-202A-4B42-85DC-CE211234020C@gmail.com>
References:  <71E4886B-61C3-4091-A7FF-E5A4F59AEACE@gmail.com> <64d8bc44-b6a3-4c0a-6d13-f919bf26685a@mellanox.com> <60159AE3-202A-4B42-85DC-CE211234020C@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi Ben,

Our initial goal was to push the initiator driver to FreeBSD and we 
accomplished it.
You are welcome to report your benchmarks running iser and compare to 
tcp numbers.
Regarding plans for the target side, it's not on my plate for the near 
future (but obviously can be later on :)).
I'm not aware of other contributers plans.

Thanks,
Max.

On 8/11/2016 12:06 AM, Ben RUBSON wrote:
> Hi Max,
>
> Thank you very much for your answer.
> Is there any plan to add iSER target to FreeBSD ?
>
> Thank you again,
>
> Ben
>
>
>
>> On 10 Aug 2016, at 22:51, Max Gurtovoy <maxg@mellanox.com> wrote:
>>
>> Hi Ben,
>>
>> iSER initiator is supported in FreeBSD-11 but not the iser target.
>> for the target you should use Linux target such as TGT (user space),
>> Lio or SCST.
>>
>> thanks,
>> Max.
>>
>>
>> On 8/10/2016 8:13 PM, Ben RUBSON wrote:
>>> Hello,
>>>
>>> I have some difficulties to make iSER (FreeBSD 11 BETA3) working.
>>>
>>>
>>>
>>> ### My configuration :
>>>
>>> 2 servers with Mellanox ConnectX-3 NICs.
>>>
>>>
>>>
>>> ### What I did :
>>>
>>> I rebuilt kernel adding the following to GENERIC :
>>> options OFED
>>> device mlxen
>>> options COMPAT_LINUXKPI
>>>
>>> I built iser :
>>> cd /usr/src/sys/modules/iser/ ; make ; make install ; kldload iser
>>> (I saw later-on that I could have used "device iser" in kernel configuration)
>>>
>>> My /etc/ctl.conf :
>>> portal-group pg0 {
>>>  discovery-auth-group no-authentication
>>>  listen 192.168.2.2
>>>  offload iser
>>> }
>>> target iqn.2012-06.com.test:target1 {
>>>  auth-group no-authentication
>>>  portal-group pg0
>>>  alias my-iser-disk
>>>  lun 0 {
>>>    path /dev/da8
>>>  }
>>> }
>>>
>>>
>>>
>>> ### Error :
>>>
>>> As soon as I do the following :
>>> iscsictl -A -r -t iqn.2012-06.com.test:target1 -p 192.168.2.2
>>> I get this error :
>>> iscsid[1187]: 192.168.2.2 (iqn.2012-06.com.test:target1): failed to connect to 192.168.2.2 using ICL kernel proxy: ISCSIDCONNECT: Invalid argument
>>> iscsid[655]: child process 1187 terminated with exit status 1
>>>
>>> "sysctl hw.mlxen1.stat.tx_packets" on initiator shows that no packet is sent at all when trying to connect.
>>>
>>> Did I miss something ?
>>>
>>> Many thanks !
>>>
>>> Ben
>>>
>>> _______________________________________________
>>> freebsd-scsi@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-scsi
>>> To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org"
>>>
>
> _______________________________________________
> freebsd-scsi@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-scsi
> To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b2429611-bb7e-e6ef-2153-a38f84b4c35e>