From owner-freebsd-current@FreeBSD.ORG Fri Sep 6 20:06:15 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B84BD91; Fri, 6 Sep 2013 20:06:15 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-pb0-x233.google.com (mail-pb0-x233.google.com [IPv6:2607:f8b0:400e:c01::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7F98E2077; Fri, 6 Sep 2013 20:06:15 +0000 (UTC) Received: by mail-pb0-f51.google.com with SMTP id jt11so3621740pbb.38 for ; Fri, 06 Sep 2013 13:06:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=PiMU+6Iosf4CIyrL/9VcXH8DbpU3e36DE7eq832neMY=; b=r0NlwZSwDvy7XYR33a37NQLBccTumJbwTvyhW4kwL80j7y04WmThGvVJovq48uOBAO VggWVmlHGwalwEOnsGi2tZQSljdc+DWSmXDCqoIzkBZ5UEBpVHyZI9EbuQlSzm/ug+k2 ixv7XgcMjdwN0OjtP3Z7qT6tTG4z5guC7I7Pk/o+RyR8s12F5P2U7iDySlDX/E4wvrW7 P+SCtkTJ0BPvUEugANrdA76SyOxslpiDNWfjfHBeVUZJ2YQUVkPi9teB2k89tK162zd5 pTecRKrbku4BmOjyDM1xC5x6AW1i/UefXEqq3mX8cLrqYMr27bwBqdspnb8p4niQcWTe b+Mw== MIME-Version: 1.0 X-Received: by 10.67.21.130 with SMTP id hk2mr6016873pad.76.1378497975139; Fri, 06 Sep 2013 13:06:15 -0700 (PDT) Received: by 10.66.126.141 with HTTP; Fri, 6 Sep 2013 13:06:15 -0700 (PDT) In-Reply-To: References: <522A1C73.9030402@mu.org> Date: Fri, 6 Sep 2013 16:06:15 -0400 Message-ID: Subject: Re: New iSCSI stack. From: Outback Dingo To: Alfred Perlstein Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-scsi@freebsd.org, "freebsd-current@FreeBSD.org" , =?ISO-8859-2?Q?Edward_Tomasz_Napiera=B3a?= , "freebsd-arch@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Sep 2013 20:06:15 -0000 On Fri, Sep 6, 2013 at 4:03 PM, Outback Dingo wrote= : > > > > On Fri, Sep 6, 2013 at 2:18 PM, Alfred Perlstein wrote: > >> On 9/5/13 3:27 AM, Edward Tomasz Napiera=C5=82a wrote: >> >>> Hello. At http://people.freebsd.org/~**trasz/cfiscsi-20130904.diffyou'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 >>> To unsubscribe, send any mail to "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 >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@** >> freebsd.org " >> > >