Re: iSCSI WRITE (10)

"Sanjay Goyal" <[email protected]> Sun, 13 Feb 2011 19:50:27 -0800
Newsgroups gmane.ietf.ips
Message-ID <[email protected]_nt.nt.pmc-sierra.bc.ca>
Response should be sent once, after all the write data ( I assume it is
unsolicited data) is received.

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


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of
folkert
Sent: Wednesday, February 09, 2011 11:08 PM
To: [email protected]
Subject: Re: [Ips] iSCSI WRITE (10)

> 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
_______________________________________________
Ips mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/ips
_______________________________________________
Ips mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/ips