From owner-freebsd-net@FreeBSD.ORG Thu Jul 3 20:13:42 2014 Return-Path: Delivered-To: freebsd-net@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 ESMTPS id B612B1B5 for ; Thu, 3 Jul 2014 20:13:42 +0000 (UTC) Received: from orion.unicamp.br (orion.unicamp.br [143.106.10.169]) by mx1.freebsd.org (Postfix) with ESMTP id 2A56C2FB5 for ; Thu, 3 Jul 2014 20:13:41 +0000 (UTC) Received: from [143.106.64.207] (bioq15.ib.unicamp.br [143.106.64.207]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by orion.unicamp.br (Postfix) with ESMTPSA id 2100F53483B; Thu, 3 Jul 2014 17:06:29 -0300 (BRT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unicamp.br; s=default; t=1404417991; bh=TwZlQ7Bmw1E1wi87Z+CZxaKgGKkNRcyDuMGyEkVpL9I=; h=From; b=bNT7j2z3CzPzhvrjM1YE+7W4cBJ6xLeOqnfapzPKOzyBMsFS4HeJ1xxG6TYEoj3VS LPYBAQXwUI7vjyJCftMAoem12KQiafycZ+YqJJEBXXCkE92EXfjIKOXq7emxEM1BkE wIfucGH8C+8k1CrVl5lm8OcjM/fSq4KR7LgLreyA= Message-ID: <53B5B7C5.5020004@unicamp.br> Date: Thu, 03 Jul 2014 17:06:29 -0300 From: =?ISO-8859-1?Q?=22F=E1bio_R=2E_Medeiros=22?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: [iSCSI] FreeBSD native iSCSI support don't mapping LUNs to /dev/ Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2014 20:13:42 -0000 Hello there! I've got some difficult on mapping a iSCSI LUN to a /dev/xx device using the native iSCSI support on FreeBSD 10 (the iscsid and iscsictl). I using a Enhance UltraStor ES3160P4 storage device. I've a storage configured with one RAID0, one volume and some LUNs instances for test purposes. I can connect to storage, see the devices, but they are not mapped to LUNs into the system. Here are the issue: root@localhost:~ # iscsictl -A -p 192.168.100.100:3260 -t storage0:dev15.ctr1 -u test -s testteste12345 iscsictl: invalid iSCSI name "storage0:dev15.ctr1"; should start with either ".iqn", "eui.", or "naa." root@localhost:~ # iscsictl -L Target name Target portal State storage0:dev15.ctr1 192.168.100.100 Connected: root@localhost:~ # I now the name of storage device isn't configured as required, but I can't change it now (there are other services running on this storage). Could this be the root of the problem? --- The debug of iscsid shows all good. The last messages are these: iscsid: 192.168.100.100 (storage0:dev15.ctr1): parameter negotiation done; transitioning to Full Feature phase iscsid: 192.168.100.100 (storage0:dev15.ctr1): handing off connection to the kernel iscsid: 192.168.100.100 (storage0:dev15.ctr1): nothing more to do; exiting --- The FreeBSD handbook shows the LUN mapped to /dev/da0 device it's mapped: Target name Target portal Stateiqn.2012-06.com.example:target0 10.10.10.10 Connected: da0 Am I forgetting anything? -- Fábio Rocha Medeiros Administrador de Redes Instituto de Biologia - UNICAMP http://www.ib.unicamp.br