New iSCSI stack.
Outback Dingo
outbackdingo at gmail.com
Fri Sep 6 20:06:15 UTC 2013
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@**
>>> 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@**
>> freebsd.org <freebsd-current-unsubscribe at freebsd.org>"
>>
>
>
More information about the freebsd-scsi
mailing list