From owner-freebsd-questions@FreeBSD.ORG Fri Feb 25 06:42:53 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9B311065673 for ; Fri, 25 Feb 2011 06:42:53 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (adsl-70-129-195-213.dsl.ksc2mo.swbell.net [70.129.195.213]) by mx1.freebsd.org (Postfix) with ESMTP id 829B18FC1B for ; Fri, 25 Feb 2011 06:42:53 +0000 (UTC) Received: from www.dweimer.net (localhost [127.0.0.1]) by webmail.dweimer.net (8.14.4/8.14.4) with ESMTP id p1P6CbfX004412 for ; Fri, 25 Feb 2011 00:12:37 -0600 (CST) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 25 Feb 2011 01:12:37 -0500 From: "Dean E. Weimer" To: Mail-Reply-To: Message-ID: <8052c70bffaf07576556bddcf568deaa@www.dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: RoundCube Webmail/0.5 Subject: FreeBSD 8.1 iSCSI CHAP with header and data digest X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 06:42:53 -0000 I am trying to connect my FreeBSD 8.1 system to a FreeNAS server hosting an iSCSI drive. I can successfully connect if I disable header and data digests, but can't seem to get a connection using header and data digests to succeed. I know the FreeNAS side is correct because I was able to connect and successfully format the drive and write data to it using my Windows 7 PC with CHAP and digests enabled. Here is my FreeBSD iscsi.conf file, do any of you have any idea what I am doing wrong? webmail# vim /etc/iscsi.conf ## Global Config InitiatorName=ign.2005-01.il.ac.huji.cs:webmail.dweimer.local; ## Targets # FreeNAS Backup Drive backup { TargetName=iqn.2007-09.jp.ne.peach.istgt:backup TargetAddress=192.168.1.2 AuthMethod=CHAP chapIName=webmail chapSecret=Password1234 } Also when I connect using the iscontrol -c /etc/iscsi.conf -n backup command, I can't find a way to disconnect the drive. I ended up rebooting the server to disconnect it so I could go back to testing with digests enabled. Does anyone know how to disconnect an iscsi connection once connected without rebooting? -- Thanks, Dean E. Weimer http://www.dweimer.net/