ANSI-INCITS-408-2005.pdf

上传人:爱问知识人 文档编号:3732689 上传时间:2019-09-22 格式:PDF 页数:500 大小:3.08MB
返回 下载 相关 举报
ANSI-INCITS-408-2005.pdf_第1页
第1页 / 共500页
ANSI-INCITS-408-2005.pdf_第2页
第2页 / 共500页
ANSI-INCITS-408-2005.pdf_第3页
第3页 / 共500页
ANSI-INCITS-408-2005.pdf_第4页
第4页 / 共500页
ANSI-INCITS-408-2005.pdf_第5页
第5页 / 共500页
亲,该文档总共500页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

《ANSI-INCITS-408-2005.pdf》由会员分享,可在线阅读,更多相关《ANSI-INCITS-408-2005.pdf(500页珍藏版)》请在三一文库上搜索。

1、American National Standard Developed by for Information Technology SCSI Primary Commands - 3 (SPC-3) ANSI INCITS 408-2005 ANSI INCITS 408-2005 Copyright American National Standards Institute Provided by IHS under license with ANSI Licensee=IHS Employees/1111111001, User=OConnor, Maurice Not for Resa

2、le, 04/29/2007 05:31:28 MDTNo reproduction or networking permitted without license from IHS -,-,- Copyright American National Standards Institute Provided by IHS under license with ANSI Licensee=IHS Employees/1111111001, User=OConnor, Maurice Not for Resale, 04/29/2007 05:31:28 MDTNo reproduction or

3、 networking permitted without license from IHS -,-,- ANSI INCITS 408-2005 American National Standard for Information Technology SCSI Primary Commands - 3 (SPC-3) Secretariat Information Technology Industry Council Approved October 25, 2005 American National Standards Institute, Inc. Abstract This st

4、andard defines the device model for all SCSI devices. This standard defines the SCSI commands that are basic to every device model and the SCSI commands that may apply to any device model. Copyright American National Standards Institute Provided by IHS under license with ANSI Licensee=IHS Employees/

5、1111111001, User=OConnor, Maurice Not for Resale, 04/29/2007 05:31:28 MDTNo reproduction or networking permitted without license from IHS -,-,- Approval of an American National Standard requires review by ANSI that the requirements for due process, consensus, and other criteria for approval have bee

6、n met by the standards developer. Consensus is established when, in the judgement of the ANSI Board of Standards Review, substantial agreement has been reached by directly and materially affected interests. Substantial agreement means much more than a simple majority, but not necessarily unanimity.

7、Consensus requires that all views and objections be considered, and that a concerted effort be made towards their resolution. The use of American National Standards is completely voluntary; their existence does not in any respect preclude anyone, whether he has approved the standards or not, from ma

8、nufacturing, marketing, purchasing, or using products, processes, or procedures not conforming to the standards. The American National Standards Institute does not develop standards and will in no circumstances give an interpretation of any American National Standard. Moreover, no person shall have

9、the right or authority to issue an interpretation of an American National Standard in the name of the American National Standards Institute. Requests for interpretations should be addressed to the secretariat or sponsor whose name appears on the title page of this standard. CAUTION NOTICE: This Amer

10、ican National Standard may be revised or withdrawn at any time. The procedures of the American National Standards Institute require that action be taken periodically to reaffirm, revise, or withdraw this standard. Purchasers of American National Standards may receive current information on all stand

11、ards by calling or writing the American National Standards Institute. American National Standard Published by American National Standards Institute, Inc. 25 West 43rd Street, New York, NY 10036 Copyright 2005 by Information Technology Industry Council (ITI) All rights reserved. No part of this publi

12、cation may be reproduced in any form, 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 America CAUTION: The developers of this standard have requested that holders of patents that may be

13、 re- quired for the implementation of the standard disclose such patents to the publisher. However, nei- ther the developers nor the publisher have undertaken a patent search in order to identify which, if any, patents may apply to this standard. As of the date of publication of this standard, follo

14、wing calls for the identification of patents that may be required for the implementation of the standard, notice of one or more such claims has been received. By publication of this standard, no position is taken with respect to the validity of this claim or of any rights in connection therewith. Th

15、e known patent holder(s) has (have), however, filed a statement of willingness to grant a license under these rights on reasonable and nondiscriminatory terms and conditions to applicants desiring to ob- tain such a license. Details may be obtained from the publisher. No further patent search is con

16、- ducted by the developer or publisher in respect to any standard it processes. No representation is made or implied that this is the only license that may be required to avoid infringement in the use of this standard. Copyright American National Standards Institute Provided by IHS under license wit

17、h ANSI Licensee=IHS Employees/1111111001, User=OConnor, Maurice Not for Resale, 04/29/2007 05:31:28 MDTNo reproduction or networking permitted without license from IHS -,-,- i Contents Page Foreword .xxiv Introduction .xxvi 1Scope. 1 2Normative references. 4 2.1General 4 2.2Approved references 5 2.3

18、References under development. 6 2.4IETF References 6 3Definitions, symbols, abbreviations, and conventions . 8 3.1Definitions 8 3.2Acronyms. 15 3.3 Keywords. 17 3.4 Conventions. 18 3.5 Bit and byte ordering 19 3.6 Notation conventions . 19 3.6.1 Notation for byte encoded character strings 19 3.6.2 N

19、otation for procedure calls. 20 3.6.3 Notation for state diagrams 21 3.6.4 Notation for binary power multipliers 21 4 General Concepts 22 4.1 Introduction 22 4.2 The request-response model. 22 4.3 The Command Descriptor Block (CDB). 22 4.3.1 CDB usage and structure. 22 4.3.2 The fixed length CDB for

20、mats 23 4.3.3 The variable length CDB formats. 26 4.3.4 Common CDB fields 27 4.3.4.1 Operation code 27 4.3.4.2 Service action 28 4.3.4.3 Logical block address 28 4.3.4.4 Transfer length. 28 4.3.4.5 Parameter list length 29 4.3.4.6 Allocation length. 29 4.3.4.7Control . 29 4.4 Data field requirements

21、 29 4.4.1 ASCII data field requirements 29 4.4.2 Null data field termination and zero padding requirements 29 4.5 Sense data. 30 4.5.1 Sense data introduction. 30 4.5.2 Descriptor format sense data. 31 Copyright American National Standards Institute Provided by IHS under license with ANSI Licensee=I

22、HS Employees/1111111001, User=OConnor, Maurice Not for Resale, 04/29/2007 05:31:28 MDTNo reproduction or networking permitted without license from IHS -,-,- ii Page 4.5.2.1 Descriptor format sense data overview . 31 4.5.2.2 Information sense data descriptor . 33 4.5.2.3 Command-specific information

23、sense data descriptor. 33 4.5.2.4 Sense key specific sense data descriptor 34 4.5.2.4.1 Sense key specific sense data descriptor introduction 34 4.5.2.4.2 Field pointer sense key specific data. 35 4.5.2.4.3 Actual retry count sense key specific data. 36 4.5.2.4.4 Progress indication sense key specif

24、ic data 36 4.5.2.4.5 Segment pointer sense key specific data 37 4.5.2.5 Field replaceable unit sense data descriptor . 37 4.5.2.6 Vendor specific sense data descriptors. 38 4.5.3 Fixed format sense data 38 4.5.4 Current errors 39 4.5.5 Deferred errors 39 4.5.6 Sense key and sense code definitions 41

25、 5 Model common to all device types. 57 5.1 Introduction to the model common to all device types. 57 5.2 Important commands for all SCSI device servers 57 5.2.1 Commands implemented by all SCSI device servers 57 5.2.2 Commands recommended for all SCSI device servers. 57 5.2.3 Using the INQUIRY comma

26、nd. 57 5.2.4 Using the REPORT LUNS command 57 5.2.5 Using the TEST UNIT READY command 57 5.2.6 Using the REQUEST SENSE command . 58 5.3 Implicit head of queue 58 5.4 Parameter rounding. 58 5.5 Self-test operations 58 5.5.1 Default self-test 58 5.5.2 The short and extended self-tests . 59 5.5.3 Self-

27、test modes 59 5.5.3.1 Self-test modes overview. 59 5.5.3.2 Foreground mode 59 5.5.3.3 Background mode 60 5.5.3.4 Features common to foreground and background self-test modes . 61 5.6 Reservations 62 5.6.1 Persistent Reservations overview 62 5.6.2 Third party persistent reservations 66 5.6.3 Exceptio

28、ns to SPC-2 RESERVE and RELEASE behavior 66 5.6.4 Preserving persistent reservations and registrations. 67 5.6.4.1 Preserving persistent reservations and registrations through power loss. 67 5.6.4.2 Nonvolatile memory considerations for preserving persistent reservations and registrations 68 5.6.5 F

29、inding persistent reservations and reservation keys 68 5.6.5.1 Summary of commands for finding persistent reservations and reservation keys 68 5.6.5.2 Reporting reservation keys 68 5.6.5.3 Reporting the persistent reservation 68 Copyright American National Standards Institute Provided by IHS under l

30、icense with ANSI Licensee=IHS Employees/1111111001, User=OConnor, Maurice Not for Resale, 04/29/2007 05:31:28 MDTNo reproduction or networking permitted without license from IHS -,-,- iii Page 5.6.5.4 Reporting full status .69 5.6.6 Registering.69 5.6.7 Registering and moving the reservation.73 5.6.

31、8 Reserving.74 5.6.9 Persistent reservation holder .75 5.6.10 Releasing persistent reservations and removing registrations.75 5.6.10.1 Overview75 5.6.10.1.1 Summary of service actions that release persistent reservations and remove registrations .75 5.6.10.1.2 Processing for released registrants onl

32、y persistent reservations.76 5.6.10.1.3 Processing for released all registrants persistent reservations77 5.6.10.1.4 Processing for other released persistent reservations.77 5.6.10.2 Releasing77 5.6.10.3 Unregistering78 5.6.10.4 Preempting.79 5.6.10.4.1 Overview79 5.6.10.4.2 Failed persistent reserv

33、ation preempt81 5.6.10.4.3 Preempting persistent reservations and registration handling .81 5.6.10.4.4 Removing registrations 82 5.6.10.5 Preempting and aborting82 5.6.10.6 Clearing83 5.7 Multiple target port and initiator port behavior84 5.8 Target port group access states.84 5.8.1 Target port grou

34、p access overview84 5.8.2 Asymmetric logical unit access84 5.8.2.1 Introduction to asymmetric logical unit access.84 5.8.2.2 Explicit and implicit asymmetric logical unit access.85 5.8.2.3 Discovery of asymmetric logical unit access behavior.85 5.8.2.4 Target port asymmetric access states .86 5.8.2.

35、4.1 Target port asymmetric access states overview86 5.8.2.4.2 Active/optimized state86 5.8.2.4.3 Active/non-optimized state.86 5.8.2.4.4 Standby state.86 5.8.2.4.5 Unavailable state87 5.8.2.5 Transitions between target port asymmetric access states .87 5.8.2.6 Preference Indicator.88 5.8.2.7 Implici

36、t asymmetric logical units access management.89 5.8.2.8 Explicit asymmetric logical units access management 89 5.8.2.9 Behavior after power on, hard reset, logical unit reset, and I_T nexus loss89 5.8.3 Symmetric logical unit access89 5.9 Power conditions90 5.9.1 Power conditions overview.90 5.9.2 P

37、ower condition state machine.91 5.9.2.1 Power condition state machine overview.91 5.9.2.2 PC0:Powered_on state92 5.9.2.3 PC1:Active state.92 5.9.2.4 PC2:Idle state.93 5.9.2.5 PC3:Standby state.93 5.10 Removable medium devices with an attached medium changer.93 Copyright American National Standards I

38、nstitute Provided by IHS under license with ANSI Licensee=IHS Employees/1111111001, User=OConnor, Maurice Not for Resale, 04/29/2007 05:31:28 MDTNo reproduction or networking permitted without license from IHS -,-,- iv Page 5.11 Medium auxiliary memory 94 5.12 Application client logging . 95 5.13 De

39、vice clocks. 96 6 Commands for all device types 97 6.1 Summary of commands for all device types 97 6.2 CHANGE ALIASES command. 99 6.2.1 CHANGE ALIASES command introduction. 99 6.2.2 Alias entry format. 101 6.2.3 Alias designation validation . 102 6.2.4 Alias entry protocol independent designations 1

40、02 6.2.4.1 Alias entry protocol independent designations overview. 102 6.2.4.2 NULL DESIGNATION alias format 103 6.3 EXTENDED COPY command . 104 6.3.1 EXTENDED COPY command introduction 104 6.3.2 Errors detected before starting processing of the segment descriptors . 107 6.3.3 Errors detected during

41、 processing of segment descriptors . 107 6.3.4 Abort task management functions . 109 6.3.5 Descriptor type codes 110 6.3.6 Target descriptors 112 6.3.6.1 Target descriptors introduction 112 6.3.6.2 Identification descriptor target descriptor format 114 6.3.6.3 Alias target descriptor format. 115 6.3

42、.6.4 Device type specific target descriptor parameters for block device types . 116 6.3.6.5 Device type specific target descriptor parameters for sequential-access device types. 116 6.3.6.6 Device type specific target descriptor parameters for processor device types 117 6.3.7 Segment descriptors 118

43、 6.3.7.1 Segment descriptors introduction 118 6.3.7.2 Segment descriptor processing . 119 6.3.7.3 Block device to stream device operations . 122 6.3.7.4 Stream device to block device operations . 123 6.3.7.5 Block device to block device operations 124 6.3.7.6 Stream device to stream device operation

44、s. 126 6.3.7.7 Inline data to stream device operation. 128 6.3.7.8 Embedded data to stream device operation 129 6.3.7.9 Stream device to discard operation . 130 6.3.7.10 Verify device operation 131 6.3.7.11 Block device with offset to stream device operation 132 6.3.7.12 Stream device to block devic

45、e with offset operation 133 6.3.7.13 Block device with offset to block device with offset operation . 134 6.3.7.14 Write filemarks operation. 135 6.3.7.15 Space operation. 136 6.3.7.16 Locate operation 137 6.3.7.17 Tape device image copy operation 138 6.3.7.18 Register persistent reservation key ope

46、ration . 139 6.3.7.19 Third party persistent reservations source I_T nexus 140 Copyright American National Standards Institute Provided by IHS under license with ANSI Licensee=IHS Employees/1111111001, User=OConnor, Maurice Not for Resale, 04/29/2007 05:31:28 MDTNo reproduction or networking permitt

47、ed without license from IHS -,-,- v Page 6.4 INQUIRY command .142 6.4.1 INQUIRY command introduction142 6.4.2 Standard INQUIRY data.144 6.4.3 SCSI Parallel Interface specific INQUIRY data155 6.4.4 Vital product data.156 6.5 LOG SELECT command158 6.6 LOG SENSE command160 6.7 MODE SELECT(6) command162

48、 6.8 MODE SELECT(10) command164 6.9 MODE SENSE(6) command164 6.9.1 MODE SENSE(6) command introduction 164 6.9.2 Current values166 6.9.3 Changeable values 166 6.9.4 Default values 166 6.9.5 Saved values166 6.9.6 Initial responses.167 6.10 MODE SENSE(10) command167 6.11 PERSISTENT RESERVE IN command.168 6.11.1 PERSISTENT RESERVE IN command introduction .168 6.11.2 READ KEYS service action169 6.11.3 READ RESERVATION service action .169 6.11.3.1 READ RESERVATION service action introduction169 6.11.3.2 Format of PERSISTENT RESERVE IN parameter data for READ

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

当前位置:首页 > 其他


经营许可证编号:宁ICP备18001539号-1