From owner-freebsd-stable@FreeBSD.ORG Mon Jan 20 23:43:48 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AA01276B for ; Mon, 20 Jan 2014 23:43:48 +0000 (UTC) Received: from mail-ee0-x22b.google.com (mail-ee0-x22b.google.com [IPv6:2a00:1450:4013:c00::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3AFE5189D for ; Mon, 20 Jan 2014 23:43:48 +0000 (UTC) Received: by mail-ee0-f43.google.com with SMTP id c41so3741805eek.30 for ; Mon, 20 Jan 2014 15:43:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=QIm7Dc0F0GbuosGhqirTlE45qatvGPRptVKU/PteQug=; b=rIZQmS44+FQGFM/NN7sC5mVq6VE/Y+1gBAn2q3Yt2smWvRKOL0m8Pv2O/7aQkQ70u2 QegxoQqivXmKOUi0WzWM8LkYltA1B0mi9B7a3iKTEEcj5VmdoYGhw+i47majrxlaxnd0 T9lDUkVix+k4VnmzEJoPtFXqK5vJJMyIYIxrscP/QP4gBM64afFtbdwdhg1BT40H4tlS q/QFMnaxfcimHMGpi4OfwUs9D84LjEDBy8U8qG5io+OS78dzt2Vr/S/77zon+c14DDvr mjdTicpXbtsQCnh+mma1XDVTW577QxS4VGQLIE95i0Xz8GPgWyHLBHQddpDg9+Oj+Msa B14A== X-Received: by 10.14.104.133 with SMTP id i5mr8994082eeg.16.1390261425823; Mon, 20 Jan 2014 15:43:45 -0800 (PST) Received: from [192.168.1.101] (45.81.datacomsa.pl. [195.34.81.45]) by mx.google.com with ESMTPSA id d43sm8352692eeo.12.2014.01.20.15.43.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 Jan 2014 15:43:45 -0800 (PST) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Subject: Re: FreeBSD 10 iSCSI Target Windows 8.1 Initiator Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=iso-8859-2 From: =?iso-8859-2?Q?Edward_Tomasz_Napiera=B3a?= In-Reply-To: Date: Tue, 21 Jan 2014 00:43:43 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <2DAD9EE4-393A-42D8-960C-DE7ADFC5631B@FreeBSD.org> References: To: dweimer@dweimer.net X-Mailer: Apple Mail (2.1283) Cc: FreeBSD Stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jan 2014 23:43:48 -0000 Wiadomo=B6=E6 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. >=20 > 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? Second, could you try to remove "blocksize 4k"? I've seen some strange behaviour with 4k blocks under ESX. --=20 If you cut off my head, what would I say? Me and my head, or me and my = body?