iSCSI 数据包标头
iSCSI 是否在 SCSI 数据包之上引入了任何层(除了 TCP 标头本身)?除了 RFC 本身之外,还有 iSCSI 参考手册吗?我需要此信息来通过 Paralan iSCSI 到 SCSI 转换器控制 RF 接收器。
Does iSCSI introduce any layers (other than the TCP-headers themselves) on top of the SCSI packet? Are there any reference manuals for iSCSI other than the RFC itself? I need this information for controlling a RF-receiver over a Paralan iSCSI-to-SCSI-converter.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
是的,除了标准 SCSI 功能之外,iSCSI 还必须实现许多功能(至少是身份验证和授权)。
RFC 3720 - iSCSI 第 10 章概述了 iSCSI PDU 格式
在参考资料的iSCSI方面,我喜欢存储网络解释,第二版;这是备受推崇的第一版的 2009 年修订版
Yes there are a number of functions that iSCSI must implement (to name the least, authentication and authorization) on top of standard SCSI functions.
The iSCSI PDU format is outlined in Chapter 10 of RFC 3720 - iSCSI
In terms iSCSI of reference material, I like Storage Networks Explained, 2nd Edition; this is a 2009 revision of the well-regarded first edition
我推荐这本书《iSCSI:通用存储连接》。
I recommend this book "iSCSI: The Universal Storage Connection".
一切都是TCP。 iSCSI 在 PDU 中有自己的标头。 iSCSI 不需要身份验证和授权。但发起者和/或目标允许要求身份验证。关于SCSI上的额外标头,有一个非SCSI的协商过程。一旦协商结束,iSCSI 就进入“全功能阶段”。此时标头将特定于 SCSI。
由于它只是 TCP,因此它应该直接传递到您的转换器。但您的转换器可能需要处理谈判过程。一旦进入完整功能阶段,您将不得不处理太多的事情,无法在这里描述;这并不是一个简单的传递 SCSI 内容的问题。
基本上,转换器是一个“iSCSI 目标”,然后 CDB、LUN、TMF 等被传递到 SCSI 层。您必须建立一个数据接口,因为您的 SCSI 层必须要求您的目标层接收数据、传输数据、处理 TMF 等。这是我写过的最复杂的驱动程序。如果您需要一层,我可以为您提供一个独立于系统的层。然后,您将为您的系统编写接口例程。
Everything is TCP. iSCSI has its own headers in the PDUs. Authentication and authorization are not required by iSCSI. But the initiator and/or target is allowed require authentication. Regarding extra headers over SCSI, there is a negotiation process which is not SCSI. Once the negotiation is over iSCSI enters "full feature phase". At that point the headers will be specific to SCSI.
Since it is just TCP then it should pass directly through to your converter. But you converter will probably need to handle the negotiation process. Once it enters full feature phase you will have to deal with too much to describe here; it is not a simple matter of just passing SCSI stuff.
Basically a converter would be an "iSCSI Target" and then the CDB, LUN, TMF's, etc are passed to the SCSI layer. You will have to build up a data interface because your SCSI layer must ask your target layer to receive data, transmit data, handle TMF's and so on. It is the most complex driver I have ever written. If you need a layer I could supply you one that is system independent. You would then write interface routines for your system.