Re: [Ips] iSCSI WRITE (10)

folkert <folkert@vanheusden.com> Wed, 09 February 2011 17:37 UTC

Return-Path: <folkert@vanheusden.com>
X-Original-To: ips@core3.amsl.com
Delivered-To: ips@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2DC553A69D5 for <ips@core3.amsl.com>; Wed, 9 Feb 2011 09:37:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IXnI3NQw9F70 for <ips@core3.amsl.com>; Wed, 9 Feb 2011 09:37:55 -0800 (PST)
Received: from keetweej.vanheusden.com (tunnel947.ipv6.xs4all.nl [IPv6:2001:888:10:3b3::2]) by core3.amsl.com (Postfix) with ESMTP id DA0CD3A69D1 for <ips@ietf.org>; Wed, 9 Feb 2011 09:37:53 -0800 (PST)
Received: from belle.intranet.vanheusden.com (belle.intranet.vanheusden.com [192.168.64.100]) by keetweej.vanheusden.com (Postfix) with ESMTP id 3B7E1162E11 for <ips@ietf.org>; Wed, 9 Feb 2011 18:38:03 +0100 (CET)
Received: by belle.intranet.vanheusden.com (Postfix, from userid 1000) id 08E2B93367; Wed, 9 Feb 2011 18:38:02 +0100 (CET)
Date: Wed, 09 Feb 2011 18:38:02 +0100
From: folkert <folkert@vanheusden.com>
To: ips@ietf.org
Message-ID: <20110209173802.GW19602@belle.intranet.vanheusden.com>
References: <20110209171827.GU19602@belle.intranet.vanheusden.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20110209171827.GU19602@belle.intranet.vanheusden.com>
Organization: www.unixexpert.nl
X-Chameleon-Return-To: folkert@vanheusden.com
X-Xfmail-Return-To: folkert@vanheusden.com
X-Phonenumber: +31-6-41278122
X-URL: http://www.vanheusden.com/
X-PGP-KeyID: 1F28D8AE
X-GPG-fingerprint: AC89 09CE 41F2 00B4 FCF2 B174 3019 0E8C 1F28 D8AE
X-Key: http://pgp.surfnet.nl:11371/pks/lookup?op=get&search=0x1F28D8AE
Read-Receipt-To: <folkert@vanheusden.com>
Reply-By: Sat Jan 15 11:07:06 CET 2011
X-Message-Flag: www.vanheusden.com
User-Agent: Mutt/1.5.18 (2008-05-17)
Subject: Re: [Ips] iSCSI WRITE (10)
X-BeenThere: ips@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IP Storage <ips.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ips>, <mailto:ips-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ips>
List-Post: <mailto:ips@ietf.org>
List-Help: <mailto:ips-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ips>, <mailto:ips-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Feb 2011 17:37:56 -0000

> Ok I'm a lot further: the whole discovery handshake (including mode
> sense, inquiries and what not) works find. Small reads/writes work too
> (the ones with data in the pdu message).
> 
> Something which is not entirely clear from the RFC is the following:
> - an initiator sends a 0x05 PDU (data-out) with data to be stored on
>   disk.
>   after processing, the target should send back a 0x21 PDU (scsi
>   response). is that correct?

Let me elaborate:

I -> T PDU 0x01 (scsi request), opcode 0x2a (WRITE 10)
T -> I PDU 0x21 (scsi response)
more data follows, so
I -> T PDU 0x05 (data out)
T -> I PDU 0x21 (scsi response, for each data out)


Folkert van Heusden

-- 
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com