From owner-freebsd-stable@FreeBSD.ORG Tue Jan 21 00:43:15 2014 Return-Path: Delivered-To: freebsd-stable@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 A0706585; Tue, 21 Jan 2014 00:43:15 +0000 (UTC) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4F2A41E2E; Tue, 21 Jan 2014 00:43:14 +0000 (UTC) Received: from www.dweimer.net (webmail [192.168.5.2]) by webmail.dweimer.net (8.14.7/8.14.7) with ESMTP id s0L0hCvq002087 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 20 Jan 2014 18:43:12 -0600 (CST) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Mon, 20 Jan 2014 18:43:11 -0600 From: dweimer To: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Subject: Re: FreeBSD 10 iSCSI Target Windows 8.1 Initiator Organization: dweimer.net Mail-Reply-To: dweimer@dweimer.net In-Reply-To: <2DAD9EE4-393A-42D8-960C-DE7ADFC5631B@FreeBSD.org> References: <2DAD9EE4-393A-42D8-960C-DE7ADFC5631B@FreeBSD.org> Message-ID: X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/1.0-beta Cc: =?UTF-8?Q?Edward_Tomasz_?= =?UTF-8?Q?Napiera=C5=82a?= , FreeBSD Stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: dweimer@dweimer.net List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 00:43:15 -0000 On 01/20/2014 5:43 pm, Edward Tomasz Napierała wrote: > Wiadomość napisana przez dweimer w dniu 20 sty 2014, o godz. 21:20: > >> I have a FreeBSD 10 server setup, with a 300G iSCSI target backed by a >> zVOL device. With a windows 8.1 Workstation as the initiator >> connected to it. I am trying to use it to store VMware Workstation >> Virtual Machines. However I am having all kinds of crashes of Virtual >> Machines and file corruption with it. I have found these errors on >> the Server, I setup a Virtual Machine on the workstations local disk, >> and have had no problems. >> >> Jan 20 13:19:47 webmail kernel: (0:2:0:0): INQUIRY. CDB: 12 01 b1 00 >> ff 00 >> Jan 20 13:19:47 webmail kernel: (0:2:0:0): Tag: 0xdf020000, Type: 0 >> Jan 20 13:19:47 webmail kernel: (0:2:0:0): CTL Status: SCSI Error >> Jan 20 13:19:47 webmail kernel: (0:2:0:0): SCSI Status: Check >> Condition >> Jan 20 13:19:47 webmail kernel: (0:2:0:0): SCSI sense: ILLEGAL REQUEST >> asc:24,0 (Invalid field in CDB) >> Jan 20 13:19:47 webmail kernel: (0:2:0:0): Command byte 2 is invalid > > This is normal. It's basically that CTL doesn't implement some > optional > SCSI stuff. > >> I am fairly new to using iSCSI on FreeBSD as a target I have ran it as >> initiator connecting to our Lefthand Networks SAN at work, but of >> course that was with the older iSCSI prior to 10. I am kind of >> clueless on how to go about trouble shooting this issue. Perhaps I >> did something stupid when I setup the configuration, which is shown >> below. > > First, can you take a look at logs at both sides? Is there anything > unusual? The windows logs didn't show any errors. > > Second, could you try to remove "blocksize 4k"? I've seen some strange > behaviour with 4k blocks under ESX. Dropping this line, at least initially seems to be working, I was unable to even complete a fresh FreeBSD 10 install on a vm, currently downloading both ports and source via svn on a new install after dropping that. Once I complete a build and get software installed I will know better if it has truely resolved the issue. -- Thanks, Dean E. Weimer http://www.dweimer.net/