ANSI INCITS366-2003 Information Technology -SCSI Architecture Model - 2 (SAM-2)《信息技术.SCSI体系结构模型.2(SAM-2)》.pdf

上传人:appealoxygen216 文档编号:436730 上传时间:2018-11-14 格式:PDF 页数:116 大小:1.78MB
下载 相关 举报
ANSI INCITS366-2003 Information Technology -SCSI Architecture Model - 2 (SAM-2)《信息技术.SCSI体系结构模型.2(SAM-2)》.pdf_第1页
第1页 / 共116页
ANSI INCITS366-2003 Information Technology -SCSI Architecture Model - 2 (SAM-2)《信息技术.SCSI体系结构模型.2(SAM-2)》.pdf_第2页
第2页 / 共116页
ANSI INCITS366-2003 Information Technology -SCSI Architecture Model - 2 (SAM-2)《信息技术.SCSI体系结构模型.2(SAM-2)》.pdf_第3页
第3页 / 共116页
ANSI INCITS366-2003 Information Technology -SCSI Architecture Model - 2 (SAM-2)《信息技术.SCSI体系结构模型.2(SAM-2)》.pdf_第4页
第4页 / 共116页
ANSI INCITS366-2003 Information Technology -SCSI Architecture Model - 2 (SAM-2)《信息技术.SCSI体系结构模型.2(SAM-2)》.pdf_第5页
第5页 / 共116页
亲,该文档总共116页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

1、ANSI INCITS 366-2003for Information Technology SCSI Architecture Model - 2 (SAM-2)ANSIINCITS 366-2003Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-Copyright American National S

2、tandards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-ANSIINCITS 366-2003American National Standardfor Information Technology SCSI Architecture Model - 2 (SAM-2)SecretariatInformation Technology Industry Council (

3、ITI)Approved April 2, 2003American National Standards Institute, Inc.AbstractThis standard specifies the SCSI Architecture Model. The purpose of the architecture is to provide a com-mon basis for the coordination of SCSI standards and to specify those aspects of SCSI I/O system behav-ior that are in

4、dependent of a particular technology and common to all implementations.Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-Approval of an American National Standard requires review b

5、y ANSI that therequirements for due process, consensus, and other criteria for approval havebeen met by the standards developer.Consensus is established when, in the judgement of the ANSI Board ofStandards Review, substantial agreement has been reached by directly andmaterially affected interests. S

6、ubstantial agreement means much more thana simple majority, but not necessarily unanimity. Consensus requires that allviews and objections be considered, and that a concerted effort be madetowards their resolution.The use of American National Standards is completely voluntary; theirexistence does no

7、t in any respect preclude anyone, whether he has approvedthe standards or not, from manufacturing, marketing, purchasing, or usingproducts, processes, or procedures not conforming to the standards.The American National Standards Institute does not develop standards andwill in no circumstances give a

8、n interpretation of any American NationalStandard. Moreover, no person shall have the right or authority to issue aninterpretation of an American National Standard in the name of the AmericanNational Standards Institute. Requests for interpretations should beaddressed to the secretariat or sponsor w

9、hose name appears on the titlepage of this standard.CAUTION NOTICE: This American National Standard may be revised orwithdrawn at any time. The procedures of the American National StandardsInstitute require that action be taken periodically to reaffirm, revise, orwithdraw this standard. Purchasers o

10、f American National Standards mayreceive current information on all standards by calling or writing the AmericanNational Standards Institute.American National StandardPublished byAmerican National Standards Institute, Inc.25 West 43rd Street, New York, NY 10036Copyright 2003 by Information Technolog

11、y Industry Council (ITI)All rights reserved.No part of this publication may be reproduced in anyform, in an electronic retrieval system or otherwise,without prior written permission of ITI, 1250 Eye Street NW, Washington, DC 20005. Printed in the United States of AmericaCAUTION: The developers of th

12、is standard have requested that holders of patents that may berequired for the implementation of the standard disclose such patents to the publisher. However,neither the developers nor the publisher have undertaken a patent search in order to identifywhich, if any, patents may apply to this standard

13、. As of the date of publication of this standardand following calls for the identification of patents that may be required for the implementation ofthe standard, no such claims have been made. No further patent search is conducted by the de-veloper or publisher in respect to any standard it processe

14、s. No representation is made or impliedthat licenses are not required to avoid infringement in the use of this standard.Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-Copyright

15、American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHSContentsPageForeword.vi1 Scope. 11.1 Introduction. 11.2 Requirements precedence . 11.3 SCSI standards family 22 Normative references. 52.1 Normat

16、ive references . 52.2 Approved references 52.3 References under development . 53 Definitions, symbols, abbreviations, and conventions . 63.1 Definitions. 63.2 Acronyms 133.3 Keywords 133.4 Editorial conventions 143.5 Numeric conventions 143.6 Notation conventions 153.6.1 Hierarchy diagram convention

17、s . 153.6.2 Notation for procedures and functions. 153.6.3 Notation for state diagrams . 164 SCSI Architecture Model 184.1 Introduction. 184.2 The SCSI distributed service model . 194.3 The SCSI client-server model. 204.4 The SCSI structural model . 214.5 SCSI domain 234.6 The service delivery subsy

18、stem . 234.6.1 The service delivery subsystem object 234.6.2 Synchronizing client and server states 244.6.3 Request/Response ordering 244.7 SCSI devices 254.7.1 SCSI initiator device 254.7.2 SCSI target device. 264.7.3 SCSI target/initiator device 274.7.4 SCSI port identifier 274.7.5 SCSI task route

19、r 284.7.6 SCSI device name. 284.7.7 SCSI port name. 284.8 Logical units 294.9 Logical unit numbers 304.9.1 Logical unit numbers overview 304.9.2 LUN 0 address. 304.9.3 Single level logical unit number structure 304.9.4 Eight byte logical unit number structure 324.9.5 Logical unit addressing method.

20、344.9.6 Peripheral device addressing method . 344.9.7 Flat space addressing method 354.9.8 Extended logical unit addressing. 36-,-,-iCopyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS4.

21、9.9 Well known logical unit addressing 384.10 Tasks 394.10.1 The task object 394.10.2 Task tags. 394.11 The nexus object 404.12 SCSI ports 414.12.1 SCSI port configurations 414.12.2 SCSI devices with multiple ports . 414.12.3 Multiple port target SCSI device structure . 424.12.4 Multiple port initia

22、tor SCSI device structure. 434.12.5 Multiple port target/initiator SCSI device structure 444.12.6 SCSI initiator device view of a multiple port SCSI target device . 454.12.7 SCSI target device view of a multiple port SCSI initiator device . 474.13 Model for dependent logical units. 484.14 The SCSI m

23、odel for distributed communications . 505 SCSI Command Model 535.1 The Execute Command remote procedure 535.2 Command descriptor block (CDB) 555.2.1 CDB format 555.2.2 OPERATION CODE byte. 555.2.3 CONTROL byte. 565.3 Status . 575.3.1 Status codes 575.3.2 Status precedence. 595.4 SCSI transport proto

24、col services in support of Execute Command 605.4.1 Overview 605.4.2 Execute Command request/confirmation SCSI transport protocol services 605.4.3 Data transfer SCSI transport protocol services . 625.4.3.1 Introduction. 625.4.3.2 Data-In delivery service 635.4.3.3 Data-Out delivery service . 645.5 Ta

25、sk and command lifetimes 645.6 Task management function lifetime 655.7 Aborting tasks. 655.7.1 Mechanisms that cause tasks to be aborted . 655.7.2 When a SCSI initiator port aborts its own tasks 665.7.3 When a SCSI initiator port aborts tasks from other SCSI initiator ports 665.8 Command processing

26、examples 675.8.1 Unlinked command example . 675.8.2 Linked command example. 685.9 Command processing considerations and exception conditions 695.9.1 Contingent allegiance (CA) and auto contingent allegiance (ACA) . 695.9.1.1 Overview. 695.9.1.2 Establishing a CA or ACA. 705.9.1.3 Handling tasks when

27、 neither CA or ACA is in effect. 715.9.1.4 Handling new tasks from the faulted initiator port when CA or ACA is in effect . 715.9.1.5 Handling new tasks from non-faulted initiator ports when CA or ACA is in effect 725.9.1.5.1 Commands permitted from non-faulted initiator ports during CA or ACA 725.9

28、.1.5.2 Handling new tasks from non-faulted initiator ports when CA or ACA is in effect . 735.9.1.6 Clearing a CA condition 755.9.1.7 Clearing an ACA condition . 755.9.2 Overlapped commands . 755.9.3 Incorrect logical unit selection . 76-,-,-iiCopyright American National Standards Institute Provided

29、by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS5.9.4 Sense data 775.9.4.1 Sense data introduction 775.9.4.2 Asynchronous event reporting 775.9.4.3 Autosense. 785.9.5 Unit Attention condition 795.9.6 Hard reset 805.9.7 Logical unit reset .

30、806 Task management functions 816.1 Introduction. 816.2 ABORT TASK. 826.3 ABORT TASK SET. 826.4 CLEAR ACA . 836.5 CLEAR TASK SET . 836.6 LOGICAL UNIT RESET 846.7 TARGET RESET 846.8 WAKEUP 856.9 Task management SCSI transport protocol services . 856.10 Task management function example 877 Task Set Ma

31、nagement. 887.1 Introduction to task set management . 887.2 Controlling task set management . 887.3 Task management events 897.4 Task states . 897.4.1 Overview 897.4.1.1 Task state nomenclature 897.4.1.2 Suspended information. 897.4.2 Enabled task state . 907.4.3 Blocked task state . 907.4.4 Dormant

32、 task state 907.4.5 Ended task state 907.4.6 Task states and task lifetimes . 917.5 Task attributes 917.5.1 Simple task 917.5.2 Ordered task 917.5.3 Head of queue task . 917.5.4 ACA task 927.6 Task state transitions 927.7 Task set management examples 937.7.1 Introduction 937.7.2 Head of queue tasks

33、947.7.3 Ordered tasks 967.7.4 ACA task 97AnnexesA Identifiers and names for objects 98B Terminology mapping . 102-,-,-iiiivTablesPage1 Single level logical unit number structure for 256 or fewer logical units. 302 Single level logical unit number structure for 257 to 16 384 logical units. 313 Eight

34、byte logical unit number structure adjustments. 324 Eight Byte logical unit number structure. 335 Format of addressing fields 336 ADDRESS METHOD field values. 347 Logical unit addressing. 348 Peripheral device addressing. 359 Flat space addressing 3610 Extended logical unit addressing 3611 LENGTH fi

35、eld values. 3612 Two byte extended logical unit addressing format . 3713 Four byte extended logical unit addressing format. 3714 Six byte extended logical unit addressing format. 3715 Eight byte extended logical unit addressing format 3716 Logical unit extended address methods. 3717 Well known logic

36、al unit extended address format 3818 Mapping nexus to SAM-2 identifiers. 4019 Command Descriptor Block (CDB) Format 5520 OPERATION CODE byte . 5521 Group Code values 5622 CONTROL byte . 5623 Status codes. 5724 Autosense, CA, and ACA Interactions . 6925 Blocking and aborting tasks when a CA or ACA is

37、 established . 7026 Task handling when neither CA nor ACA is in effect 7127 Handling for new tasks from a faulted initiator port during CA . 7128 Handling for new tasks from a faulted initiator port during ACA. 7229 Handling for new tasks from non-faulted initiator ports during CA . 7330 Handling fo

38、r new tasks from non-faulted initiator ports during ACA. 7431 Task Management Functions. 8132 Task State Nomenclature. 8933 Task attribute and state indications in examples 9434 Dormant task blocking boundary requirements 96Copyright American National Standards Institute Provided by IHS under licens

39、e with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHSFiguresPage1 Requirements precedence . 12

40、 SCSI document structure . 23 Example hierarchy diagram154 Example state diagram.165 Client-Server model196 SCSI client-server model207 SCSI I/O system and domain model 218 Overall SCSI domain model .229 SCSI domain model2310 Service delivery subsystem model .2311 SCSI initiator device model 2512 SC

41、SI target device model.2613 SCSI target/initiator device model 2714 Logical unit model.2915 Eight Byte logical unit number structure adjustments.3216 SCSI device functional models.4117 Multiple port target SCSI device structure model .4218 Multiple port SCSI initiator device structure model.4319 Mul

42、tiple port target/initiator SCSI device structure model.4420 SCSI target device configured in a single SCSI domain 4521 SCSI target device configured in multiple SCSI domains.4622 SCSI target device and SCSI initiator device configured in a single SCSI domain 4623 Dependent logical unit model .4824

43、Example of hierarchical system diagram4925 Protocol service reference model .5026 Protocol service model .5127 Request-Response ULP transaction and related LLP services5228 Model for Data-In and Data-Out data transfers 6229 Command processing events .6730 Linked command processing events 6831 Task m

44、anagement processing events8732 Example of Dormant state task behavior9133 Task states .9234 Head of queue tasks and blocking boundaries (example 1).94v-,-,-Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted wi

45、thout license from IHS35 Head of queue tasks and blocking boundaries (example 2) .9536 Ordered tasks and blocking boundaries .9637 ACA task example 97-,-,-viCopyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted wi

46、thout license from IHS-,-,-Foreword (This foreword is not part of ANSI INCITS 366-2003.)The purpose of this standard is to provide a basis for the coordination of SCSIstandards development and to define requirements, common to all SCSI technol-ogies and implementations that are essential for compati

47、bility with host SCSI appli-cation software and device-resident firmware across all SCSI transport protocols.These requirements are defined through a reference model that specifies thebehavior and abstract structure that is generic to all SCSI I/O system implementa-tions.With any technical document

48、there may arise questions of interpretation as newproducts are implemented. INCITS has established procedures to issue technicalopinions concerning the standards developed by INCITS These procedures mayresult in SCSI Technical Information Bulletins being published by INCITS. These Bulletins, while r

49、eflecting the opinion of the Technical Committee thatdeveloped the standard, are intended solely as supplementary information to otherusers of the standard. This standard, ANSI INCITS 366-2003, as approved throughthe publication and voting procedures of the American National Standards Institute,is not altered by these bulletins. Any subsequent revision to this standard may or maynot reflect th

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 标准规范 > 国际标准 > ANSI

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1