Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Sep 2013 16:06:15 -0400
From:      Outback Dingo <outbackdingo@gmail.com>
To:        Alfred Perlstein <bright@mu.org>
Cc:        freebsd-scsi@freebsd.org, "freebsd-current@FreeBSD.org" <freebsd-current@freebsd.org>, "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org>
Subject:   Re: New iSCSI stack.
Message-ID:  <CAKYr3zxxYrk5%2B9Cs=ZE2PomnS9qoFWDUBq_jotmcM4wb8jyiqA@mail.gmail.com>
In-Reply-To: <CAKYr3zwdzQJ_4spSy_8cuKi6HZUc%2BM=55rGDOdiDjoc60=cz-g@mail.gmail.com>
References:  <A758F12B-2798-4A90-8C67-88F78B82434D@FreeBSD.org> <522A1C73.9030402@mu.org> <CAKYr3zwdzQJ_4spSy_8cuKi6HZUc%2BM=55rGDOdiDjoc60=cz-g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 6, 2013 at 4:03 PM, Outback Dingo <outbackdingo@gmail.com>wrote=
:

>
>
>
> On Fri, Sep 6, 2013 at 2:18 PM, Alfred Perlstein <bright@mu.org> wrote:
>
>> On 9/5/13 3:27 AM, Edward Tomasz Napiera=C5=82a wrote:
>>
>>> Hello.  At http://people.freebsd.org/~**trasz/cfiscsi-20130904.diff<htt=
p://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 i=
t
>>> 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@freebsd.org mailing list
>>> http://lists.freebsd.org/**mailman/listinfo/freebsd-**current<http://li=
sts.freebsd.org/mailman/listinfo/freebsd-current>
>>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@**
>>> freebsd.org <freebsd-current-unsubscribe@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 optio=
n
>> 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 u=
p
> 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@freebsd.org mailing list
>> http://lists.freebsd.org/**mailman/listinfo/freebsd-**current<http://lis=
ts.freebsd.org/mailman/listinfo/freebsd-current>
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@**
>> freebsd.org <freebsd-current-unsubscribe@freebsd.org>"
>>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKYr3zxxYrk5%2B9Cs=ZE2PomnS9qoFWDUBq_jotmcM4wb8jyiqA>