1、American National StandardDeveloped byfor Information Technology SCSI/ATA Translation - 2(SAT-2)INCITS 465-2010INCITS 465-2010Copyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-Cop
2、yright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-INCITS 465-2010American National Standardfor Information Technology SCSI/ATA Translation - 2(SAT-2)SecretariatInformation Technology
3、 Industry CouncilApproved November 12, 2010American 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 cap
4、abilities defined by SCSI standards (e.g., the SCSI Block Commands (SBC-3) and SCSI Primary Commands (SPC-4) standards). For the purposes of this standard, ATA device capabilities are defined by ATA8-AAM, ATA8-ACS, ATA8-APT, ATA8-AST, and SATA-2.6.Copyright American National Standards Institute Prov
5、ided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-Approval of an American National Standard requires review by ANSI that therequirements for due process, consensus, and other criteria for approval havebeen met by the standards deve
6、loper.Consensus is established when, in the judgement of the ANSI Board ofStandards Review, substantial agreement has been reached by directly andmaterially affected interests. Substantial agreement means much more thana simple majority, but not necessarily unanimity. Consensus requires that allview
7、s 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 in any respect preclude anyone, whether he has approvedthe standards or not, from manufacturing, marketing, purchasing,
8、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 interpretation of any American NationalStandard. Moreover, no person shall have the right or authority to issue aninterp
9、retation of an American National Standard in the name of the AmericanNational Standards Institute. Requests for interpretations should beaddressed to the secretariat or sponsor whose name appears on the titlepage of this standard.CAUTION NOTICE: This American National Standard may be revised orwithd
10、rawn at any time. The procedures of the American National StandardsInstitute require that action be taken periodically to reaffirm, revise, orwithdraw this standard. Purchasers of American National Standards mayreceive current information on all standards by calling or writing the AmericanNational S
11、tandards Institute.American National StandardPublished byAmerican National Standards Institute, Inc.25 West 43rd Street, New York, NY 10036Copyright 2010 by Information Technology Industry Council (ITI)All rights reserved.No part of this publication may be reproduced in anyform, in an electronic ret
12、rieval 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 developers of this standard have requested that holders of patents that may be re-quired for the implementation of the standard di
13、sclose 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 this standard. As of the date of publication of this standard, followingcalls for the identification of patents that may be
14、 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 validity of this claim or of any rights in connection therewith. The knownpatent holder(s) has (have), however, filed a state
15、ment 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 obtained from the publisher. No further patent search is con-ducted by the developer or publisher in respect to any stand
16、ard 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.Copyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted with
17、out license from IHS-,-,-iContentsPageForewordxIntroduction . xiv1 Scope 12 Normative References 42.1 Normative references . 42.2 Approved references 42.3 References under development . 42.4 Other references 43 Definitions, symbols, abbreviations, and conventions . 53.1 Definitions 53.2 Symbols and
18、abbreviations 103.3 Keywords . 113.4 SAT specific terminology 113.5 Conventions . 113.5.1 Overview . 113.5.2 Numeric conventions . 123.5.3 Bit and byte ordering . 123.5.4 Notation for byte encoded character strings 143.5.5 Notation for command descriptions . 143.5.5.1 Description 143.5.6 Use of fiel
19、d names defined in ATA standards and specifications 154 General . 165 SCSI architecture 175.1 Overview 175.2 Multi-Initiator Configurations . 185.3 Unit attention condition . 195.4 Handling errors in ATA commands . 195.5 ATA nexus loss 195.6 ATA hardware and software reset processing . 205.7 Transla
20、tion of Large Physical Sectors 206 Command management model . 256.1 Overview 256.2 Multiple command processing 266.2.1 Comparison of SCSI task set management and ATA queuing . 266.2.2 Command mapping overview 276.2.3 Mapping of SCSI commands to ATA queued commands . 276.2.4 Commands the SATL queues
21、internally 276.2.5 Command queuing with multiple I_T nexuses . 276.2.6 Collateral abort with queued commands . 286.3 Command priority . 286.4 Task management functions 296.4.1 Task management functions overview 296.4.2 Aborting ATA queued commands . 296.4.3 Aborting ATA non-queued commands 296.4.4 A
22、BORT TASK 296.4.5 ABORT TASK SET 306.4.6 CLEAR ACA 30Copyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-ii6.4.7 CLEAR TASK SET 306.4.8 I_T NEXUS RESET . 316.4.9 LOGICAL UNIT RESET
23、316.4.10 QUERY TASK . 326.4.11 QUERY TASK SET . 326.4.12 QUERY ASYNCHRONOUS EVENT . 326.4.13 Reset task management functions 336.5 CONTROL Byte . 336.6 I_T nexus loss 337 Summary of SCSI / ATA command mappings 348 SCSI Primary Commands (SPC) command mapping . 368.1 INQUIRY command 368.1.1 INQUIRY co
24、mmand overview . 368.1.2 Standard INQUIRY data 378.2 LOG SENSE command 398.2.1 LOG SENSE command overview 398.2.2 PC (page control) field 408.2.3 PAGE CODE and SUB PAGE CODE fields . 408.3 LOG SELECT command 418.3.1 LOG SELECT command overview 418.3.2 Page control field translations . 418.3.3 PAGE C
25、ODE field and SUBPAGE CODE field translations . 418.4 MODE SELECT (6) command . 418.4.1 MODE SELECT (6) command overview . 418.4.2 MODE SELECT (6) CDB fields . 428.5 MODE SELECT (10) command . 428.6 MODE SENSE (6) command . 428.6.1 MODE SENSE (6) command overview . 428.6.2 MODE SENSE (6) CDB fields
26、. 438.7 MODE SENSE (10) command . 438.8 READ BUFFER command . 448.8.1 READ BUFFER command overview .448.8.2 MODE field 448.8.2.1 MODE field overview 448.8.2.2 Data mode 448.8.2.3 Descriptor mode . 458.9 REQUEST SENSE command 458.9.1 REQUEST SENSE command overview 458.9.2 Format operation in progress
27、 468.9.3 SMART threshold exceeded condition 468.9.4 Stopped power condition . 468.9.5 Unit attention condition established . 478.9.6 Idle power condition 478.9.7 Standby power condition . 478.10 SECURITY PROTOCOL IN command . 478.10.1 SECURITY PROTOCOL field . 478.10.2 SECURITY PROTOCOL SPECIFIC fie
28、ld . 478.10.3 ALLOCATION LENGTH field 488.11 SECURITY PROTOCOL OUT command . 488.11.1 SECURITY PROTOCOL field . 488.11.2 SECURITY PROTOCOL SPECIFIC field . 488.11.3 TRANSFER LENGTH field . 498.12 SEND DIAGNOSTIC command . 508.12.1 SEND DIAGNOSTIC command overview . 508.12.2 SELF-TEST CODE field 51Co
29、pyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-iii8.12.3 SELFTEST bit 528.13 TEST UNIT READY command . 548.13.1 TEST UNIT READY command overview 548.13.2 TEST UNIT READY command
30、translation 548.14 WRITE BUFFER command 558.14.1 WRITE BUFFER command overview . 558.14.2 MODE field 558.14.2.1 MODE field overview 558.14.2.2 Write data mode . 568.14.2.3 Download microcode mode 05h .568.14.2.4 Download microcode mode 07h .569 SCSI Block Commands (SBC) command mapping 589.1 Transla
31、ting LBA and transfer length and ATA command use constraints 589.1.1 Overview . 589.1.2 Direct logical block mapping model . 589.1.3 Indirect logical block mapping model 589.1.4 Selection of ATA block commands 589.2 FORMAT UNIT command 609.2.1 FORMAT UNIT command overview 609.2.2 FORMAT UNIT paramet
32、er list . 619.2.3 SATL defect list header field combinations . 619.2.4 FOV bit 619.2.5 DCRT bit 619.2.6 IP bit . 629.3 READ commands overview 629.3.1 READ commands operation code translation . 629.3.2 READ commands with FUA 629.4 READ (6) command . 639.5 READ (10) command . 639.6 READ (12) command .
33、 649.7 READ (16) command . 649.8 READ CAPACITY (10) command 659.8.1 READ CAPACITY (10) command overview 659.8.2 READ CAPACITY (10) parameter data . 659.9 READ CAPACITY (16) command 669.9.1 READ CAPACITY (16) command overview 669.9.2 READ CAPACITY (16) parameter data . 669.10 REASSIGN BLOCKS command
34、679.10.1 REASSIGN BLOCKS command overview 679.10.2 REASSIGN BLOCKS operation code . 679.11 START STOP UNIT command . 699.11.1 START STOP UNIT command overview 699.11.2 Processing ending status if an error occurs 769.11.3 START STOP UNIT START bit LOEJ bit combinations 769.11.4 NO_FLUSH translation .
35、779.12 SYNCHRONIZE CACHE (10) command . 779.13 SYNCHRONIZE CACHE (16) command . 789.14 VERIFY (10) command 789.15 VERIFY (12) command 799.16 VERIFY (16) command 799.17 WRITE commands overview 809.17.1 WRITE commands operation code translation 809.17.2 WRITE commands with FUA . 809.18 WRITE (6) comma
36、nd 819.19 WRITE (10) command 829.20 WRITE (12) command 83Copyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-iv9.21 WRITE (16) command 849.22 WRITE AND VERIFY commands overview . 84
37、9.23 WRITE AND VERIFY (10) command . 859.24 WRITE AND VERIFY (12) command . 869.25 WRITE AND VERIFY (16) command . 879.26 WRITE LONG (10) command 879.27 WRITE LONG (16) command 899.28 WRITE SAME (10) command 899.28.1 WRITE SAME (10) command overview 899.28.2 LBDATA bit and PBDATA bit 919.29 WRITE SA
38、ME (16) command 9110 Parameters for SAT implementations . 9310.1 Mode parameters . 9310.1.1 General information . 9310.1.2 Commonly used SCSI mode pages overview . 9310.1.3 Mode parameter headers 9410.1.4 Mode parameter block descriptor fields 9510.1.5 Control mode page 9510.1.5.1 General translatio
39、n . 9510.1.5.2 Extended self-test completion time . 9610.1.6 Read-Write Error Recovery mode page 9710.1.7 Caching mode page 9810.1.8 Informational Exceptions Control mode page . 10010.1.8.1 Informational Exceptions Control mode page overview . 10010.1.8.2 Method of reporting informational exceptions
40、 (MRIE) 10010.1.9 Power Condition mode pages . 10010.1.9.1 Power Condition mode pages overview . 10010.1.9.2 ATA Power Condition mode page 10110.1.9.3 Power Condition mode page 10110.2 Log parameters 10310.2.1 Log parameters overview 10310.2.2 Application Client log page 10410.2.2.2 LOG SELECT trans
41、lation . 10410.2.2.3 LOG SENSE translation . 10510.2.3 Supported Log Pages log page . 10610.2.4 Support Log Pages and Subpages log page . 10610.2.5 Self-Test Results log page 10610.2.5.1 Self-Test Results log page overview 10610.2.5.2 A method of determining ATA command selection for field translati
42、ons 11010.2.5.3 Sense key and additional sense code 11110.2.6 Informational Exceptions log page 11210.2.6.1 Informational Exceptions log page overview 11210.2.6.2 Additional sense code and additional sense code qualifier translations . 11210.2.6.3 Most recent temperature reading translation 11310.3
43、Vital product data parameters 11310.3.1 Vital product data parameters overview 11310.3.2 Supported VPD pages VPD page . 11410.3.3 Unit Serial Number VPD page . 11410.3.4 Device Identification VPD page . 11510.3.4.1 Device Identification VPD page overview . 11510.3.4.2 Logical unit name . 11510.3.4.2
44、.1 Logical unit name overview . 11510.3.4.2.2 Logical unit name derived from the world wide name . 11510.3.4.2.3 Logical unit name derived from the model number and serial number 11610.3.4.3 Examples of additional designation descriptors . 11710.3.4.3.1 Designation descriptors included by a SATL in
45、an ATA host 117Copyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-v10.3.4.3.2 Designation descriptors included by a SATL in a SAS initiator device 11810.3.4.3.3 Designation descrip
46、tors included by a SATL in a SCSI to ATA protocol bridge 11910.3.5 Mode Page Policy VPD page 11910.3.6 Block Device Characteristics VPD Page . 12011 Translation of ATA errors to SCSI errors 12112 SAT-specific SCSI extensions 12212.1 SAT-specific SCSI extensions overview 12212.2 ATA PASS-THROUGH comm
47、ands 12212.2.1 ATA PASS-THROUGH commands overview 12212.2.2 ATA PASS-THROUGH (12) command . 12312.2.3 ATA PASS-THROUGH (16) command . 12612.2.4 Mapping of ATA PASS-THROUGH CDB field translations . 12712.2.5 ATA PASS-THROUGH status return 12812.2.6 ATA Status Return descriptor 12912.2.7 Fixed format
48、sense data 13012.3 SAT-specific mode pages 13212.3.1 SAT-specific mode pages overview 13212.3.2 PATA Control mode page . 13212.3.3 ATA Power Condition mode page . 13612.4 SAT-specific VPD pages 13712.4.1 SAT-specific VPD pages overview 13712.4.2 ATA Information VPD page . 13712.4.2.1 ATA Information
49、 VPD page overview . 13712.4.2.2 ATA device signature . 13912.4.2.3 ATA IDENTIFY DEVICE data or ATA IDENTIFY PACKET DEVICE data . 14012.5 SAT-specific security protocol parameters . 14012.5.1 ATA Device Server Password security protocol 14012.5.1.1 SECURITY PROTOCOL IN command . 14012.5.1.1.1 SECURITY PROTOCOL IN command overview . 14012.5.1.1.2 SECURITY PROTOCO
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1