1、American National StandardDeveloped byfor Information Technology SCSI / ATA Translation - 4 (SAT-4)INCITS 491-2017INCITS 491-2017INCITS 491-2017American National Standardfor Information Technology SCSI / ATA Translation - 4 (SAT-4)SecretariatInformation Technology Industry CouncilApproved July 28, 2
2、017American National Standards Institute, Inc.AbstractThis standard specifies a translation layer between SCSI and ATA protocols. This translation layer is used by storage controllers to emulate objects in a SCSI logical unit using an ATA device, providing capabilities defined by SCSI standards (e.g
3、., the SCSI Block Commands (SBC-4), SCSI Primary Commands (SPC-5), and Zoned Block Commands (ZBC) standards). For the purposes of this standard, ATA device capabilities are defined by ATA8-AAM, ACS-4, ATA8-APT, ATA8-AST, ZAC, and SATA-3.3.Approval of an American National Standard requires review by
4、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. Sub
5、stantial 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 not
6、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 an
7、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 who
8、se 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 of
9、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 2017 by Information Technology
10、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, 1101 K Street NW, Suite 610, Washington, DC 20005. Printed in the United States of AmericaCAUTION: The developer
11、s of this standard have requested that holders of patents that may be 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, ifany, patents may apply to th
12、is standard. As of the date of publication of this standard, followingcalls 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 positionis taken with respect to the vali
13、dity of this claim or of any rights in connection therewith. The knownpatent holder(s) has (have), however, filed a statement of willingness to grant a license underthese rights on reasonable and nondiscriminatory terms and conditions to applicants desiring to ob-tain such a license. Details may be
14、obtained from the publisher. No further patent search is con-ducted by the developer or publisher in respect to any standard it processes. No representation ismade or implied that this is the only license that may be required to avoid infringement in the use ofthis standard.iContentsPageForeword. xi
15、iiIntroduction xviii1 Scope .12 Normative References .33 Definitions, symbols, abbreviations, and conventions .43.1 Definitions .43.2 Symbols and abbreviations 143.2.1 Abbreviations 143.2.2 Units 143.2.3 Mathematical Operators 143.3 Keywords 153.4 Editorial Conventions .163.5 Numeric and character c
16、onventions .173.5.1 Numeric conventions 173.5.2 Bit and byte ordering .183.5.3 Byte encoded character strings conventions 193.5.4 Notation for command descriptions 203.5.5 Use of field names defined in ATA standards and specifications .203.5.6 Flowcharts 214 General 225 SCSI architecture .235.1 Over
17、view 235.2 Multi-Initiator Configurations .255.3 Unit attention condition .255.4 Handling errors in ATA commands .255.5 ATA nexus loss 265.6 ATA hardware and software reset processing 265.7 Maximum LBA 275.8 Translation of Large Physical Sectors 275.9 Reservations 326 Command management model 336.1
18、Overview 336.2 Multiple command processing 336.2.1 Comparison of SCSI task set management and ATA queuing .336.2.2 Command translation overview .336.2.3 Mapping of SCSI commands to ATA NCQ commands .346.2.4 Mechanism for processing some commands as NCQ commands .346.2.5 Commands the SATL queues inte
19、rnally .346.2.6 Command queuing with multiple I_T nexuses 356.2.7 Collateral abort with ATA NCQ commands .356.2.7.1 Introduction .356.2.7.2 Reporting for writes terminated due to ATA collateral abort 376.3 Command priority .376.4 Task management functions 376.4.1 Task management functions overview 3
20、76.4.2 Aborting ATA NCQ commands .376.4.3 Aborting ATA non-NCQ commands 38ii6.4.4 ABORT TASK .386.4.5 ABORT TASK SET .386.4.6 CLEAR ACA .396.4.7 CLEAR TASK SET .396.4.8 I_T NEXUS RESET 406.4.9 LOGICAL UNIT RESET 416.4.10 QUERY TASK .416.4.11 QUERY TASK SET .416.4.12 QUERY ASYNCHRONOUS EVENT 416.4.13
21、 Reset task management functions 426.5 CONTROL byte 426.6 Translation of conditions resulting from SCSI events .426.6.1 Conditions resulting from SCSI events translations overview .426.6.2 Hard reset .426.6.3 I_T nexus loss .436.6.4 Logical unit reset .436.6.5 Power loss expected .436.7 Medium acces
22、s and stopped power condition .447 Summary of SCSI / ATA command mappings .458 SPC-5 command mapping .488.1 INQUIRY command 488.1.1 INQUIRY command overview .488.1.2 Standard INQUIRY data .498.2 LOG SELECT command 528.2.1 LOG SELECT command overview .528.2.2 PC field 528.2.3 PAGE CODE field and SUBP
23、AGE CODE field translations .528.3 LOG SENSE command 528.3.1 LOG SENSE command overview .528.3.2 PC field 538.3.3 PAGE CODE field and SUBPAGE CODE fields 548.4 MODE SELECT (6) command 548.4.1 MODE SELECT (6) command overview .548.4.2 MODE SELECT (6) CDB fields .558.5 MODE SELECT (10) command 558.6 M
24、ODE SENSE (6) command .568.6.1 MODE SENSE (6) command overview .568.6.2 MODE SENSE (6) CDB fields .568.7 MODE SENSE (10) command .578.8 READ BUFFER (10) command 578.8.1 READ BUFFER (10) command overview .578.8.2 MODE field 588.8.2.1 MODE field overview .588.8.2.2 Data mode .588.8.2.3 Descriptor mode
25、 598.8.2.4 Error history mode .598.8.2.4.1 Error history mode overview 598.8.2.4.2 Error history directory 608.8.2.4.3 Locking and Unlocking .618.8.2.4.4 Create current device internal status log .618.8.2.4.5 Return current error history buffers 618.8.2.4.6 Return saved error history buffers .628.9
26、RECEIVE DIAGNOSTIC RESULTS command 638.9.1 RECEIVE DIAGNOSTIC RESULTS command overview .638.10 REPORT TIMESTAMP command 64iii8.10.1 REPORT TIMESTAMP command overview .648.10.2 Timestamp origin 658.11 REQUEST SENSE command 658.11.1 REQUEST SENSE command overview .658.11.2 Format operation in progress
27、 668.11.3 SMART threshold exceeded condition 668.11.4 Stopped power condition 678.11.5 Unit attention condition established 678.11.6 Idle power condition 678.11.7 Standby power condition 678.11.8 Sanitize operation in progress 678.12 SECURITY PROTOCOL IN command .688.12.1 ALLOCATION LENGTH field .68
28、8.13 SECURITY PROTOCOL OUT command .698.13.1 TRANSFER LENGTH field and INC_512 field 698.14 SEND DIAGNOSTIC command .708.14.1 SEND DIAGNOSTIC command overview .708.14.2 SELF-TEST CODE field .718.14.3 SELFTEST bit 728.15 SET TIMESTAMP command 748.15.1 SET TIMESTAMP command overview .748.16 TEST UNIT
29、READY command .758.16.1 TEST UNIT READY command overview 758.16.2 TEST UNIT READY command translation 758.17 WRITE BUFFER command 778.17.1 WRITE BUFFER command overview .778.17.2 WRITE BUFFER command translation .788.17.2.1 MODE field 788.17.2.2 Write data mode 02h .788.17.2.3 Download microcode mod
30、e 05h 798.17.2.4 Download microcode mode 07h 808.17.2.5 Download microcode mode 0Dh and mode 0Eh .818.17.2.6 Download microcode mode 0Fh 839 SBC-4 and ZBC command mapping 859.1 Translating LBA and transfer length and ATA command use constraints 859.1.1 Overview .859.1.2 Direct logical block mapping
31、model 859.1.3 Indirect logical block mapping model 859.1.4 Selection of ATA block commands .859.2 CLOSE ZONE command .879.2.1 CLOSE ZONE command overview .879.2.2 CLOSE ZONE command processing 879.3 FINISH ZONE command 889.3.1 FINISH ZONE command overview .889.3.2 FINISH ZONE command processing 889.
32、4 FORMAT UNIT command 899.4.1 FORMAT UNIT command overview .899.4.2 FORMAT UNIT parameter list .899.4.3 FORMAT UNIT parameter list header field combinations .909.4.4 DCRT bit .929.4.5 Initialization pattern descriptor 929.4.5.1 Initialization pattern descriptor overview .929.4.5.2 Initialization pat
33、tern actions .929.5 OPEN ZONE command .939.5.1 OPEN ZONE command overview .939.5.2 OPEN ZONE command processing 93iv9.6 READ commands overview 939.7 READ (10) command .949.8 READ (12) command .959.9 READ (16) command .969.9.1 READ (16) command overview .969.9.2 Translation of command duration limit
34、969.10 READ CAPACITY (10) command 979.10.1 READ CAPACITY (10) command overview 979.10.2 READ CAPACITY (10) parameter data 979.11 READ CAPACITY (16) command 989.11.1 READ CAPACITY (16) command overview 989.11.2 READ CAPACITY (16) parameter data 999.12 REASSIGN BLOCKS command 1009.12.1 REASSIGN BLOCKS
35、 command overview 1009.12.2 REASSIGN BLOCKS operation code .1019.13 REPORT ZONES command 1039.13.1 REPORT ZONES command overview 1039.13.2 REPORT ZONES command processing 1039.13.3 ALLOCATION LENGTH field .1039.13.4 REPORT ZONES parameter data 1039.14 RESET WRITE POINTER command .1059.14.1 RESET WRI
36、TE POINTER command overview 1059.14.2 RESET WRITE POINTER command processing .1069.15 SANITIZE command 1069.15.1 SANITIZE command overview 1069.15.2 Sanitize using overwrite method .1089.15.2.1 OVERWRITE service action parameter list translation .1089.15.2.2 Sanitize using overwrite method translati
37、on details 1089.15.3 Sanitize using block erase method .1099.15.4 Sanitize using cryptographic erase method 1099.15.5 Exit the sanitize failure mode 1109.16 START STOP UNIT command .1119.16.1 START STOP UNIT command overview 1119.16.2 Processing ending status if an error occurs 1219.16.3 START STOP
38、UNIT START bit and LOEJ bit combinations 1229.16.4 NO_FLUSH translation .1229.17 SYNCHRONIZE CACHE (10) command 1239.18 SYNCHRONIZE CACHE (16) command 1249.19 UNMAP command 1259.19.1 UNMAP command overview .1259.19.2 Creating ATA LBA range entries .1259.20 VERIFY (10) command 1279.21 VERIFY (12) com
39、mand 1289.22 VERIFY (16) command 1299.23 WRITE commands overview 1299.24 WRITE (10) command 1309.25 WRITE (12) command 1319.26 WRITE (16) command 1319.26.1 WRITE (16) command overview .1319.26.2 Translation of command duration limit 1329.27 WRITE AND VERIFY commands overview 1329.28 WRITE AND VERIFY
40、 (10) command .1339.29 WRITE AND VERIFY (12) command .1349.30 WRITE AND VERIFY (16) command .1359.31 WRITE LONG (10) command .1369.31.1 WR_UNCOR field .1369.32 WRITE LONG (16) command .137v9.33 WRITE SAME (10) command .1379.34 WRITE SAME (16) command .1399.34.1 WRITE SAME (16) command overview 1399.
41、34.2 ANCHOR bit, UNMAP bit, and NDOB bit .1399.34.3 Writing the data block .1409.34.4 Writing zeros .1409.34.5 Unmapping .14010 Parameters for SAT implementations 14210.1 Overview 14210.2 Diagnostic parameters .14210.2.1 General Information 14210.2.2 SCSI diagnostic pages overview 14210.2.3 Rebuild
42、Assist diagnostic page .14210.2.3.1 Rebuild Assist diagnostic page overview 14210.2.3.2 Rebuild Assist Output diagnostic page translation 14310.2.3.3 Rebuild Assist Input diagnostic page translation .14310.3 Log parameters 14410.3.1 Log parameters overview 14410.3.2 Application Client log page .1441
43、0.3.2.2 LOG SELECT translation 14510.3.2.3 LOG SENSE translation 14610.3.3 Supported Log Pages log page 14710.3.4 Supported Log Pages and Subpages log page 14710.3.5 Self-Test Results log page 14810.3.5.1 Self-Test Results log page overview .14810.3.5.2 A method of determining ATA command selection
44、for field translations .15110.3.5.3 Sense key and additional sense code .15210.3.6 Informational Exceptions log page 15210.3.6.1 Informational Exceptions log page overview .15210.3.6.2 Additional sense code and additional sense code qualifier translations .15310.3.6.3 Most recent temperature reading
45、 translation .15410.3.7 Read Error Counters log page 15410.3.7.1 Read Error Counters log page overview .15410.3.7.2 Total Times Correction Algorithm Processed log parameter .15510.3.7.3 Total Uncorrected Errors log parameter 15510.3.8 Temperature log page 15610.3.8.1 Temperature log page overview 15
46、610.3.8.2 Current Temperature log parameter 15710.3.8.3 Reference Temperature log parameter .15710.3.9 Solid State Media log page .15810.3.9.1 Solid State Media log page overview 15810.3.9.2 Percentage Used Endurance Indicator log parameter 15910.3.10 Background Scan Results log page 15910.3.10.1 Ba
47、ckground Scan Results log page overview .15910.3.10.2 Background Scan Status log parameter 16010.3.11 General Statistics and Performance log page 16110.3.11.1 General Statistics and Performance log page overview 16110.3.11.2 General Statistics and Performance log parameters .16110.4 Mode parameters
48、.16210.4.1 General information 16210.4.2 Common mode page structures 16310.4.3 Commonly used SCSI mode pages overview .16310.4.4 Mode parameter headers .16410.4.5 Mode parameter block descriptor fields 16510.4.6 Command Duration Limit mode pages .16610.4.6.1 Command Duration Limit mode pages overvie
49、w .166vi10.4.6.2 Command duration limit descriptor translation 16610.4.7 Control mode page .16710.4.7.1 General translation 16710.4.7.2 Extended self-test completion time .16910.4.8 Control Extension mode page 16910.4.9 Read-Write Error Recovery mode page 17110.4.10 Caching mode page 17210.4.11 Informational Exceptions Control mode page .17410.4.11.1 Informational Exceptions Control mode page overview 17410.4.11.2 Method of reporting informational exceptions (MRIE) .17410.4.12 Power condition mode pages .17510.4.12.1 Power condition mode pages overview .17510.4.12.2 Power condition mode pa
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1