Re: New iSCSI stack.

From: Outback Dingo <outbackdingo_at_gmail.com>
Date: Fri, 6 Sep 2013 16:06:15 -0400
On Fri, Sep 6, 2013 at 4:03 PM, Outback Dingo <outbackdingo_at_gmail.com>wrote:

>
>
>
> On Fri, Sep 6, 2013 at 2:18 PM, Alfred Perlstein <bright_at_mu.org> wrote:
>
>> On 9/5/13 3:27 AM, Edward Tomasz NapieraƂa wrote:
>>
>>> Hello.  At http://people.freebsd.org/~**trasz/cfiscsi-20130904.diff<http://people.freebsd.org/~trasz/cfiscsi-20130904.diff>you'll find
>>> a patch which adds the new iSCSI initiator and target, against
>>> 10-CURRENT.
>>> To use the new initiator, start with "man iscsictl".  For the target -
>>> "man
>>> ctld".
>>>
>>> All feedback is welcome.  If nothing unexpected comes up, I'll commit it
>>> in a few days from now.  Note that it's still not optimized; at this
>>> point
>>> I'm focusing more on reliability and interoperability.
>>>
>>> This work is being sponsored by FreeBSD Foundation.
>>>
>>> ______________________________**_________________
>>> freebsd-current_at_freebsd.org mailing list
>>> http://lists.freebsd.org/**mailman/listinfo/freebsd-**current<http://lists.freebsd.org/mailman/listinfo/freebsd-current>
>>> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_**
>>> freebsd.org <freebsd-current-unsubscribe_at_freebsd.org>"
>>>
>>>  Edward, this is really exciting!
>>
>> Is there an easy way to use the userland iscsi configuration files?
>>
>> We would love to quickly backport and ship this with FreeNAS as an option
>> for our users, having the config files be the same OR having a very good
>> converter would really make that much easier for us.
>>
>>
>> your going to have to backport more then just this as capsicum and the
> ICL stuff is iSCSI Common Layer, we went to try but kept getting caught up
> in the ICL breakage also, but removal of all references in the patch to
> capsicum, it was 4-6 files i belive, will get at least ctld and iscsi to
> build, now you need the new cam which needs better eyes then mine to fix in
> a back port due to icl version differences in 9 and 10.
>
>
>

And i used this config as a simple test.... ctld.conf
 cat /etc/ctl.conf
     pidfile /var/run/ctld.pid

#     auth-group example2 {
#             chap-mutual "user" "secret" "mutualuser22" "mutualsecret"
#             chap-mutual "user2" "secret2" "mutualuser22" "mutualsecret"
#     }

     portal-group example2 {
             discovery-auth-group no-authentication
             listen 127.0.0.1
             listen 0.0.0.0:3261
             listen [::]:3261
     }

     target iqn.2012-06.com.example:target0 {
             auth-group no-authentication
             portal-group example2
             lun 0 {
                     path /home/dingo/example_0
                     blocksize 4096
                     size 4G
             }
     }

     target iqn.2012-06.com.example:target3 {
             auth-group no-authentication
             portal-group example2
             lun 0 {
                     path /home/dingo/example_3
                     blocksize 4096
                     size 4G
             }
     }

     target iqn.2012-06.com.example:target2 {
             auth-group no-authentication
             portal-group example2
             lun 0 {
                     path /home/dingo/example2_0
                     blocksize 4096
                     size 4G
             }
             lun 1 {
                     path /home/dingo/example2_1
                     blocksize 4096
                     size 4G
             }
     }

so your 9.x config mileage might vary


>
>> --
>> Alfred Perlstein
>>
>>
>> ______________________________**_________________
>> freebsd-current_at_freebsd.org mailing list
>> http://lists.freebsd.org/**mailman/listinfo/freebsd-**current<http://lists.freebsd.org/mailman/listinfo/freebsd-current>
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_**
>> freebsd.org <freebsd-current-unsubscribe_at_freebsd.org>"
>>
>
>
Received on Fri Sep 06 2013 - 18:06:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:41 UTC