From owner-freebsd-scsi@FreeBSD.ORG Thu Aug 4 13:43:38 2005 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B707A16A420 for ; Thu, 4 Aug 2005 13:43:38 +0000 (GMT) (envelope-from dmitry_yus@yahoo.com) Received: from smtp018.mail.yahoo.com (smtp018.mail.yahoo.com [216.136.174.115]) by mx1.FreeBSD.org (Postfix) with SMTP id 956DB43D55 for ; Thu, 4 Aug 2005 13:43:35 +0000 (GMT) (envelope-from dmitry_yus@yahoo.com) Received: (qmail 22684 invoked from network); 4 Aug 2005 13:43:35 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:Subject:From:To:Cc:In-Reply-To:References:Content-Type:Date:Message-Id:Mime-Version:X-Mailer:Content-Transfer-Encoding; b=aM2kkUvW1CkrYtrnEfIQhp3HKNzv351l9+RtQ96j5fy2me937NQvV2E9wGk3aPv2cqCWmjDUDgktoGPmbbEUohDbcXGQcXJtnEBxNlfa905aXSDu+KPQ2g2wQLpIswDDUs3OgtN7QxcxHlgriQAuCtdwoxuUAkcsye1B8R1HLEk= ; Received: from unknown (HELO ?172.10.7.7?) (dmitry?yus@24.7.114.77 with plain) by smtp018.mail.yahoo.com with SMTP; 4 Aug 2005 13:43:35 -0000 From: Dmitry Yusupov To: Benoit Panizzon In-Reply-To: <200508041202.58684.benoit.panizzon@imp.ch> References: <200508041202.58684.benoit.panizzon@imp.ch> Content-Type: text/plain Date: Thu, 04 Aug 2005 06:43:04 -0700 Message-Id: <1123162984.16724.3.camel@mylaptop> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 (2.2.2-8) Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@freebsd.org Subject: Re: FreeBSD iSCSI mapping all LUN to LUN 0 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Aug 2005 13:43:38 -0000 On Thu, 2005-08-04 at 12:02 +0200, Benoit Panizzon wrote: > Hi all > > We run FreeBSD 5.4-Stable and have troubles with the iSCSI Implementation > (from May 2005), wich is not yet part of the official Kernel as I was told. > > It looks like all LUN get Mapped to LUN 0 so that if you have several logical > disks and try to mount them, all mounts get redirecting to the Disk with LUN > 0 causing severe data corruption (and FreeBSD to crash after a while). > > The funny thing is, that you can also access non existent LUN's (as they too > are mapped to LUN 0) > > I was not able to find any FreeBSD iSCSI Project Website where I could find > additional information or check out for newer releases or fixes. > > Linux with Open-iSCSI and Kernel >= 2.6.12 has no problem at all detecting and > accessing the right LUN's. There was some plans to merge FreeBSD kernel's part into open-iscsi project. The problem, open-iscsi needs to resolve is to re-license some part of it under dual-license, so GPL and others will co-exist. Some work been done for initial integration, but recently I don't have much time to continue this effort. So, if somebody interesting, please let me know. We've discussed dual-licensing with core open-iscsi developers, there should not be a problem it will just take some time to get agreement from all copyright holders. Dima