1、INCITS/ISO/IEC 14776-452:20052006 (ISO/IEC 14776-452:2005, IDT) Information technology Small Computer System Interface (SCSI)Part 452: Primary Commands-2(SPC-2)INCITS/ISO/IEC 14776-452:20052006(ISO/IEC 14776-452:2005, IDT)INCITS/ISO/IEC 14776-452:20052006 ii ITIC 2006 All rights reserved PDF disclai
2、mer This PDF file may contain embedded typefaces. In accordance with Adobes licensing policy, this file may be printed or viewed but shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In downloading this file, parties acc
3、ept therein the responsibility of not infringing Adobes licensing policy. The ISO Central Secretariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Details of the software products used to create this PDF file can be found in the General Info relative to the
4、file; the PDF-creation parameters were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event that a problem relating to it is found, please inform the Central Secretariat at the address given below. Adopted by INCITS
5、 (InterNational Committee for Information Technology Standards) as an American National Standard. Date of ANSI Approval: 9/29/2006 Published by American National Standards Institute, 25 West 43rd Street, New York, New York 10036 Copyright 2006 by Information Technology Industry Council (ITI). All ri
6、ghts reserved. These materials are subject to copyright claims of International Standardization Organization (ISO), International Electrotechnical Commission (IEC), American National Standards Institute (ANSI), and Information Technology Industry Council (ITI). Not for resale. No part of this public
7、ation may be reproduced in any form, including an electronic retrieval system, without the prior written permission of ITI. All requests pertaining to this standard should be submitted to ITI, 1250 Eye Street NW, Washington, DC 20005. Printed in the United States of America - 3 -ContentsPageForeword
8、. 13Introduction . 141 Scope. 172 Normative references. 172.1 General. 172.2 Approved references 172.3 References under development . 173 Definitions, symbols, abbreviations, and conventions . 183.1 Definitions. 183.2 Acronyms 233.3 Keywords 243.4 Conventions 253.5 Notation for procedures and functi
9、ons 264 General concepts 274.1 Introduction. 274.2 The request-response model 274.3 The Command Descriptor Block (CDB) 274.3.1 CDB usage and structure 274.3.2 The fixed length CDB formats . 284.3.3 The variable length CDB formats 304.3.4 Common CDB fields 314.3.4.1 Operation code . 314.3.4.2 Service
10、 action . 314.3.4.3 Logical block address . 324.3.4.4 Transfer length . 324.3.4.5 Parameter list length. 324.3.4.6 Allocation length . 324.3.4.7 Control 325 Model common to all device types. 335.1 Introduction to the model common to all device types 335.2 Commands implemented by all SCSI device serv
11、ers. 335.2.1 Summary of commands implemented by all SCSI device servers 335.2.2 Using the INQUIRY command. 335.2.3 Using the REQUEST SENSE command . 335.2.4 Using the TEST UNIT READY command 335.3 Parameter rounding 335.4 Self-test Operations 345.4.1 Default self-test 345.4.2 The short and extended
12、self-tests . 345.4.3 Self-test modes 345.4.3.1 Foreground mode . 345.4.3.2 Background mode 355.4.3.3 Elements common to foreground and background self-test modes . 365.5 Reservations. 365.5.1 Reservations overview 365.5.2 The Reserve/Release management method. 395.5.3 The Persistent Reservations man
13、agement method 405.5.3.1 Overview of the Persistent Reservations management method. 405.5.3.2 Preserving persistent reservations . 405.5.3.3 Finding persistent reservations and reservation keys 415.5.3.3.1 Summary of commands for finding persistent reservations and reservation keys 41INCITS/ISO/IEC
14、14776-452:20052006 ITIC 2006 All rights reserved- 4 - 5.5.3.3.2 Reporting reservation keys 415.5.3.3.3 Reporting persistent reservations 425.5.3.4 Registering . 425.5.3.5 Creating a persistent reservation when there is no persistent reservation. 435.5.3.6 Removing registrations and persistent reserv
15、ations. 445.5.3.6.1 Overview of removing registrations and persistent reservations . 445.5.3.6.2 Releasing a persistent reservation 445.5.3.6.3 Preempting an existing persistent reservation with the PREEMPT service action 455.5.3.6.3.1 Overview of preempting an existing persistent reservation with t
16、he PREEMPT service action . 455.5.3.6.3.2 Failed persistent reservation preempt 465.5.3.6.3.3 Preempting reservations. 465.5.3.6.3.4 Removing registrations. 475.5.3.6.4 Preempting an existing persistent reservation with the PREEMPT AND ABORT service action 475.5.3.6.5 Clearing a persistent reservati
17、on. 485.6 Multiple port and multiple initiator behavior 495.7 Removable medium devices with an attached medium changer . 496 Model for processor devices 507 Commands for all device types 527.1 Summary of commands for all device types. 527.2 EXTENDED COPY command 537.2.1 EXTENDED COPY command introdu
18、ction . 537.2.2 Errors detected before starting processing of the segment descriptors 557.2.3 Errors detected during processing of segment descriptors . 567.2.4 Abort task management functions. 577.2.5 Descriptor type codes 587.2.6 Target descriptors 597.2.6.1 Target descriptors introduction . 597.2
19、.6.2 Fibre Channel World Wide Name target descriptor format. 617.2.6.3 Fibre Channel N_Port target descriptor format. 627.2.6.4 Fibre Channel N_Port with World Wide Name checking target descriptor format. 637.2.6.5 Parallel Interface T_L target descriptor format 647.2.6.6 Identification descriptor t
20、arget descriptor format 657.2.6.7 Device type specific target descriptor parameters for block device types 667.2.6.8 Device type specific target descriptor parameters for sequential-access device types 667.2.6.9 Device type specific target descriptor parameters for processor device types. 677.2.7 Se
21、gment Descriptors. 687.2.7.1 Segment descriptors introduction . 687.2.7.2 Segment descriptor processing 687.2.7.3 Block device to stream device operations 727.2.7.4 Stream device to block device operations 737.2.7.5 Block device to block device operations. 747.2.7.6 Stream device to stream device op
22、erations . 757.2.7.7 Inline data to stream device operation 777.2.7.8 Embedded data to stream device operation. 787.2.7.9 Stream device to discard operation 797.2.7.10 Verify device operation . 807.2.7.11 Block device with offset to stream device operation. 817.2.7.12 Stream device to block device w
23、ith offset operation. 827.2.7.13 Block device with offset to block device with offset operation 837.2.7.14 Write filemarks operation 847.2.7.15 Space operation . 857.2.7.16 Locate operation. 867.2.7.17 Tape device image copy operation. 877.2.7.18 Register key operation 887.3 INQUIRY command 897.3.1
24、INQUIRY command introduction . 897.3.2 Standard INQUIRY data 917.3.3 SCSI Parallel Interface specific INQUIRY data . 98INCITS/ISO/IEC 14776-452:20052006 ITIC 2006 All rights reserved- 5 -7.3.4 Vital product data. 997.3.5 Command support data. 1007.4 LOG SELECT command 1027.5 LOG SENSE command 1047.6
25、 MODE SELECT(6) command. 1067.7 MODE SELECT(10) command. 1087.8 MODE SENSE(6) command 1087.8.1 MODE SENSE(6) command introduction 1087.8.2 Current values . 1107.8.3 Changeable values 1107.8.4 Default values 1107.8.5 Saved values. 1107.8.6 Initial responses. 1107.9 MODE SENSE(10) command 1117.10 PERS
26、ISTENT RESERVE IN command . 1127.10.1 PERSISTENT RESERVE IN command introduction. 1127.10.2 PERSISTENT RESERVE IN service actions 1127.10.2.1 Summary of PERSISTENT RESERVE IN service actions . 1127.10.2.2 Read Keys 1127.10.2.3 Read Reservations . 1137.10.3 PERSISTENT RESERVE IN parameter data for RE
27、AD KEYS . 1137.10.4 PERSISTENT RESERVE IN parameter data for READ RESERVATION. 1147.10.4.1 Format of PERSISTENT RESERVE IN parameter data for READ RESERVATION . 1147.10.4.2 Persistent reservations Scope 1157.10.4.2.1 Summary of persistent reservations Scope. 1157.10.4.2.2 Logical unit scope 1157.10.
28、4.2.3 Element scope. 1157.10.4.3 Persistent Reservations Type. 1167.11 PERSISTENT RESERVE OUT command . 1177.11.1 PERSISTENT RESERVE OUT command introduction. 1177.11.2 PERSISTENT RESERVE OUT Service Actions . 1187.11.3 PERSISTENT RESERVE OUT parameter list 1197.12 PREVENT ALLOW MEDIUM REMOVAL comma
29、nd 1217.13 READ BUFFER command . 1227.13.1 READ BUFFER command introduction. 1227.13.2 Combined header and data mode (0000b) 1237.13.3 Vendor specific mode (0001b). 1237.13.4 Data mode (0010b) 1237.13.5 Descriptor mode (0011b). 1247.13.6 Read Data from echo buffer (1010b). 1247.13.7 Echo buffer desc
30、riptor mode (1011b) 1257.14 RECEIVE COPY RESULTS command 1267.14.1 RECEIVE COPY RESULTS command introduction 1267.14.2 COPY STATUS service action 1277.14.3 RECEIVE DATA service action . 1297.14.4 OPERATING PARAMETERS service action. 1307.14.5 FAILED SEGMENT DETAILS service action 1327.15 RECEIVE DIA
31、GNOSTIC RESULTS command 1337.16 RELEASE(10) command 1347.16.1 RELEASE(10) command introduction . 1347.16.2 Logical unit release 1347.16.3 Third-party release 1347.17 RELEASE(6) command 1357.18 REPORT DEVICE IDENTIFIER command 1367.19 REPORT LUNS command . 1387.20 REQUEST SENSE command 1407.20.1 REQU
32、EST SENSE command introduction 1407.20.2 Sense data format . 1417.20.3 Sense-key specific. 1437.20.4 Current errors 144INCITS/ISO/IEC 14776-452:20052006 ITIC 2006 All rights reserved- 6 - 7.20.5 Deferred errors 1447.20.6 Sense key and sense code definitions 1467.21 RESERVE(10) command . 1587.21.1 RE
33、SERVE(10) command introduction. 1587.21.2 Logical unit reservation 1587.21.3 Third-party reservation 1597.21.4 Superseding reservations 1607.22 RESERVE(6) command . 1607.23 SEND DIAGNOSTIC command . 1617.24 SET DEVICE IDENTIFIER command 1637.25 TEST UNIT READY command. 1657.26 WRITE BUFFER command 1
34、667.26.1 WRITE BUFFER command introduction . 1667.26.2 Combined header and data mode (0000b) 1677.26.3 Vendor specific mode (0001b). 1677.26.4 Data mode (0010b) 1677.26.5 Download microcode mode (0100b) 1677.26.6 Download microcode and save mode (0101b) 1677.26.7 Download microcode with offsets (011
35、0b). 1687.26.8 Download microcode with offsets and save mode (0111b) . 1687.26.9 Write data to echo buffer (1010b) 1698 Parameters for all device types 1708.1 Diagnostic parameters 1708.1.1 Diagnostic page format and page codes for all device types 1708.1.2 Supported diagnostic pages 1728.2 Log para
36、meters 1738.2.1 Log page structure and page codes for all device types . 1738.2.2 Application client page. 1768.2.3 Buffer over-run/under-run page . 1778.2.4 Error counter pages. 1798.2.5 Last n deferred errors or asynchronous events page 1798.2.6 Last n error events page 1798.2.7 Non-medium error p
37、age 1808.2.8 Self-test results page. 1808.2.9 Start-stop cycle counter page 1838.2.10 Supported log pages . 1858.2.11 Temperature page. 1858.3 Mode parameters . 1878.3.1 Mode parameters overview . 1878.3.2 Mode parameter list format 1878.3.3 Mode parameter header formats . 1878.3.4 Mode parameter bl
38、ock descriptor formats . 1888.3.4.1 General block descriptor format . 1888.3.4.2 Direct-access device block descriptor format for LONGLBA=0 . 1898.3.4.3 Long LBA block descriptor format 1908.3.5 Mode page format and page codes. 1918.3.6 Control mode page 1928.3.7 Disconnect-reconnect page. 1968.3.8
39、Informational exceptions control page. 1988.3.9 Power condition page 2008.3.10 Protocol specific LUN page . 2028.3.11 Protocol specific port page 2038.4 Vital product data parameters 2048.4.1 Vital product data parameters overview and page codes 2048.4.2 ASCII implemented operating definition page .
40、 2048.4.3 ASCII information page . 2058.4.4 Device identification page 2058.4.5 Supported vital product data pages. 2088.4.6 Unit serial number page 209INCITS/ISO/IEC 14776-452:20052006 ITIC 2006 All rights reserved- 7 -9 Commands for processor type devices 2109.1 Summary of commands for processor t
41、ype devices. 2109.2 RECEIVE command . 2119.3 SEND command. 21110 Parameters for processor type devices . 21210.1 Diagnostic parameters 21210.2 Log parameters 21310.3 Vital product data parameters 213Annex AProcedures for logging operations in SCSI. 214A.1 Procedures for logging operations in SCSI in
42、troduction 214A.2 Logging operations terminology. 214A.3 LOG SENSE command 215A.4 LOG SELECT command 218A.5 Exception conditions during logging. 221Annex BCommands allowed in the presence of various reservations 224B.1 SBC commands . 224B.2 SMC commands. 228Annex CNumeric order codes. 230C.1 Numeric
43、 order codes introduction 230C.2 Additional Sense Codes. 230C.3 Operation Codes 242C.4 Log Page Codes 248C.5 Mode Page Codes . 249C.6 Version Descriptor Values . 251C.7 Variable Length CDB Service Action Codes 258Annex DVendor identification . 259Annex EReferences and general structure of SCSI 266IN
44、CITS/ISO/IEC 14776-452:20052006 ITIC 2006 All rights reserved- 8 - TablesPage1 Typical CDB for 6-byte commands 282 Typical CDB for 10-byte commands 283 Typical CDB for 12-byte commands 294 Typical CDB for 16-byte commands 295 Typical CDB for long LBA 16-byte commands. 306 Typical variable length CDB
45、. 307 Typical variable length CDB for long LBA 32-byte commands 318 Exception commands for background self-tests 359 Self-test mode summary 3610 SPC commands that are allowed in the presence of various reservations3811 PERSISTENT RESERVE OUT service actions that are allowed in the presence of variou
46、s reservations 3912 Processor commands that are allowed in the presence of various reservations . 5113 Commands for all device types 5214 EXTENDED COPY command . 5315 EXTENDED COPY parameter list . 5416 EXTENDED COPY descriptor type codes . 5817 Target descriptor format. 5918 Device type specific pa
47、rameters in target descriptors 6019 Fibre Channel World Wide Name target descriptor format 6120 Fibre Channel N_Port target descriptor format 6221 Fibre Channel N_Port with World Wide Name checking target descriptor format . 6322 Parallel Interface T_L target descriptor format. 6423 Identification d
48、escriptor target descriptor format 6524 Device type specific target descriptor parameters for block device types 6625 Device type specific target descriptor parameters for sequential-access device types . 6626 Stream device transfer lengths 6727 Device type specific target descriptor parameters for
49、processor device types 6728 Segment descriptor header 6829 Descriptor Type Code Dependent Copy Manager Processing 6930 PAD and CAT bit definitions . 7131 Block device to or from stream device segment descriptor 7232 Block device to block device segment descriptor 7433 Stream device to stream device segment descriptor . 7534 Inline data to stream device segment descriptor . 7735 Embedded data to stream device segment descriptor. 7836 Stream device to discard segment descriptor 7937 Verify device operation segment descriptor. 8038 Block devic
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1