1、BS ISO/IEC 14776-323:2017 Information technology Small computer system interface (SCSI) Part 323: SCSI Block Commands 3 (SBC-3) BSI Standards Publication WB11885_BSI_StandardCovs_2013_AW.indd 1 15/05/2013 15:06BS ISO/IEC 14776-323:2017 BRITISH STANDARD National foreword This British Standard is the
2、UK implementation of ISO/IEC 14776-323:2017. The UK participation in its preparation was entrusted to Technical Committee I/-, Miscellaneous standards materials and chemicals. A list of organizations represented on this committee can be obtained on request to its secretary. This publication does not
3、 purport to include all the necessary provisions of a contract. Users are responsible for its correct application. The British Standards Institution 2017. Published by BSI Standards Limited 2017 ISBN 978 0 580 86836 8 ICS 35.200 Compliance with a British Standard cannot confer immunity from legal ob
4、ligations. This British Standard was published under the authority of the Standards Policy and Strategy Committee on 28 February 2017. Amendments/corrigenda issued since publication Date T e x t a f f e c t e dBS ISO/IEC 14776-323:2017Edition 1.0 2017-01 ISO/IEC 14776-323 INTERNATIONAL STANDARD Info
5、rmation technology Small computer system interface (SCSI) Part 323: SCSI Block Commands 3 (SBC-3) ISO/IEC 14776-323:2017-01(en) colour insideBS ISO/IEC 14776-323:2017THIS PUBLICATION IS COPYRIGHT PROTECTED Copyright 2017 ISO/IEC, Geneva, Switzerland All rights reserved. Unless otherwise specified, n
6、o part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either IEC or IECs member National Committee in the country of the requester. If you have any questions about ISO/I
7、EC copyright or have an enquiry about obtaining additional rights to this publication, please contact the address below or your local IEC member National Committee for further information. IEC Central Office Tel.: +41 22 919 02 11 3, rue de Varemb Fax: +41 22 919 03 00 CH-1211 Geneva 20 infoiec.ch S
8、witzerland www.iec.ch About the IEC The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes International Standards for all electrical, electronic and related technologies. About IEC publications The technical content of IEC publications is
9、kept under constant review by the IEC. Please make sure that you have the latest edition, a corrigenda or an amendment might have been published. IEC Catalogue - webstore.iec.ch/catalogue The stand-alone application for consulting the entire bibliographical information on IEC International Standards
10、, Technical Specifications, Technical Reports and other documents. Available for PC, Mac OS, Android Tablets and iPad. IEC publications search - www.iec.ch/searchpub The advanced search enables to find IEC publications by a variety of criteria (reference number, text, technical committee,). It also
11、gives information on projects, replaced and withdrawn publications. IEC Just Published - webstore.iec.ch/justpublished Stay up to date on all new IEC publications. Just Published details all new publications released. Available online and also once a month by email. Electropedia - www.electropedia.o
12、rg The worlds leading online dictionary of electronic and electrical terms containing 20 000 terms and definitions in English and French, with equivalent terms in 15 additional languages. Also known as the International Electrotechnical Vocabulary (IEV) online. IEC Glossary - std.iec.ch/glossary 65
13、000 electrotechnical terminology entries in English and French extracted from the Terms and Definitions clause of IEC publications issued since 2002. Some entries have been collected from earlier publications of IEC TC 37, 77, 86 and CISPR. IEC Customer Service Centre - webstore.iec.ch/csc If you wi
14、sh to give us your feedback on this publication or need further assistance, please contact the Customer Service Centre: csciec.ch. BS ISO/IEC 14776-323:2017ISO/IEC 14776-323 Edition 1.0 2017-01 INTERNATIONAL STANDARD Information technology Small computer system interface (SCSI) Part 323: SCSI Block
15、Commands 3 (SBC-3) INTERNATIONAL ELECTROTECHNICAL COMMISSION ICS 35.200 ISBN 978-2-8322-3721-2 Warning! Make sure that you obtained this publication from an authorized distributor. colour insideBS ISO/IEC 14776-323:2017 2 ISO/IEC 14776-323:2016 ISO/IEC 2016FOREWORD 5 INTRODUCTION 7 General 7 SCSI st
16、andards family 7 1 Scope. 8 2 Normative references. 8 3 Terms, definitions, symbols, abbreviations, keywords, and conventions. 9 3.1 Terms and definitions . 9 3.2 Symbols 19 3.3 Abbreviations 19 3.4 Keywords 20 3.5 Editorial conventions 21 3.6 Numeric and character conventions. 22 3.6.1 Numeric conv
17、entions 22 3.6.2 Units of measure. 22 3.7 State machine conventions 24 4 Direct access block device type model 25 4.1 Direct access block device type model introduction. 25 4.2 Direct access block device type model. 26 4.2.1 Direct access block device type model overview 26 4.2.2 Logical block acces
18、s command types. 26 4.2.3 Logical block access operation types . 26 4.3 Media examples . 26 4.3.1 Media examples overview. 26 4.3.2 Rotating media 27 4.3.3 Memory media 27 4.4 Removable media. 27 4.5 Logical Blocks. 28 4.6 Physical blocks. 29 4.7 Logical block provisioning. 33 4.7.1 Logical block pr
19、ovisioning overview 33 4.7.2 Fully provisioned logical unit. 34 4.7.3 Logical block provisioning management. 34 4.7.3.1 Logical block provisioning management overview 34 4.7.3.2 Resource provisioned logical unit 34 4.7.3.3 Thin provisioned logical unit 35 4.7.3.4 Unmapping LBAs 35 4.7.3.4.1 Processi
20、ng unmap requests 35 4.7.3.4.2 Unmap operations . 35 4.7.3.4.3 WRITE SAME command and unmap operations 36 4.7.3.5 Autonomous LBA transitions. 37 4.7.3.6 Thin provisioned logical unit resource exhaustion considerations 37 4.7.3.7 Logical block provisioning thresholds 37 4.7.3.7.1 Logical block provis
21、ioning thresholds overview. 37 4.7.3.7.2 Logical block provisioning armed decreasing thresholds 38 4.7.3.7.3 Logical block provisioning armed increasing thresholds 39 4.7.3.7.4 Logical block provisioning threshold notification40 4.7.4 LBP (logical block provisioning) state machine. 40 4.7.4.1 LBP st
22、ate machine overview. 40 4.7.4.2 LBP state machine for thin provisioned logical units supporting anchored LBAs 41 4.7.4.3 LBP state machine for thin provisioned logical units not supporting anchored LBAs 41 4.7.4.4 LBP state machine for resource provisioned logical units. 42 4.7.4.5 Performing read
23、operations with respect to logical block provisioning 42 4.7.4.6 LBP1:Mapped state. 44 2 ISO/IEC 14776-323:2017 ISO/IEC 2017 BS ISO/IEC 14776-323:2017BS ISO/IEC 14776-323:2017 ISO/IEC 14776-323:2016 ISO/IEC 2016 3 4.7.4.6.1 LBP1:Mapped state description. 44 4.7.4.6.2 Transition LBP1:Mapped to LBP2:D
24、eallocated . 44 4.7.4.6.3 Transition LBP1:Mapped to LBP3:Anchored. 44 4.7.4.7 LBP2:Deallocated state. 44 4.7.4.7.1 LBP2:Deallocated state description. 44 4.7.4.7.2 Transition LBP2:Deallocated to LBP1:Mapped . 44 4.7.4.7.3 Transition LBP2:Deallocated to LBP3:Anchored. 45 4.7.4.8 LBP3:Anchored state 4
25、5 4.7.4.8.1 LBP3:Anchored state description 45 4.7.4.8.2 Transition LBP3:Anchored to LBP1:Mapped. 45 4.7.4.8.3 Transition LBP3:Anchored to LBP2:Deallocated. 45 4.8 Data de-duplication. 45 4.9 Ready state 45 4.10 Initialization. 46 4.11 Sanitize operations. 46 4.11.1 Sanitize operations overview 46 4
26、.11.2 Performing a sanitize operation 47 4.11.3 Completing a sanitize operation 48 4.12 Write protection 49 4.13 Medium defects 49 4.13.1 Medium defects overview . 49 4.13.2 Generation of defect lists 52 4.14 Write and unmap failures 53 4.15 Caches . 53 4.15.1 Caches overview. 53 4.15.2 Read caching
27、 53 4.15.3 Write caching 53 4.15.4 Command interactions with caches 54 4.15.5 Write operation and write medium operation interactions with caches. 54 4.15.6 Read operation and read medium operation interactions with caches . 54 4.15.7 Verify medium operation interactions with caches 55 4.15.8 Unmap
28、operation interactions with caches . 55 4.15.9 Power loss effects on caches . 55 4.16 Implicit head of queue command processing . 56 4.17 Reservations. 56 4.18 Error reporting 58 4.18.1 Error reporting overview 58 4.18.2 Processing pseudo unrecovered errors 60 4.18.3 Block commands sense data descri
29、ptor . 61 4.18.4 User data segment referral sense data descriptor 62 4.18.5 Direct-access block device sense data descriptor 64 4.19 Model for XOR commands . 65 4.19.1 Model for XOR commands overview 65 4.19.2 SCSI storage array device supervised XOR operations. 66 4.19.2.1 SCSI storage array device
30、 supervised XOR operations overview 66 4.19.2.2 Update write operation 66 4.19.2.3 Regenerate operation 66 4.19.2.4 Rebuild operation 67 4.19.3 Array subsystem considerations. 67 4.19.3.1 Array subsystem considerations overview 67 4.19.3.2 Access to an inconsistent stripe 67 4.20 Rebuild assist mode
31、 . 67 4.20.1 Rebuild assist mode overview 67 4.20.2 Enabling rebuild assist mode 68 4.20.3 Using the rebuild assist mode. 68 4.20.3.1 Using rebuild assist mode overview 68 4.20.3.2 Unpredicted unrecovered read error . 68 4.20.3.3 Predicted unrecovered read error . 69 ISO/IEC 14776-323:2017 ISO/IEC 2
32、017 3 BS ISO/IEC 14776-323:2017BS ISO/IEC 14776-323:2017 4 ISO/IEC 14776-323:2016 ISO/IEC 20164.20.3.4 Unpredicted unrecovered write error. 69 4.20.3.5 Predicted unrecovered write error. 69 4.20.4 Disabling the rebuild assist mode . 70 4.20.5 Testing rebuild assist mode 70 4.21 START STOP UNIT and p
33、ower conditions. 70 4.21.1 START STOP UNIT and power conditions overview 70 4.21.2 Processing of concurrent START STOP UNIT commands. 70 4.21.3 Managing logical block access commands during a change to the active power condition . 71 4.21.4 Stopped power condition 71 4.21.5 START STOP UNIT and power
34、 condition state machine . 71 4.21.5.1 START STOP UNIT and power condition state machine overview. 71 4.21.5.2 SSU_PC0:Powered_On state . 73 4.21.5.2.1 SSU_PC0:Powered_On state description . 73 4.21.5.2.2 Transition SSU_PC0:Powered_On to SSU_PC4:Active_Wait 74 4.21.5.2.3 Transition SSU_PC0:Powered_O
35、n to SSU_PC8:Stopped 74 4.21.5.3 SSU_PC1:Active state 74 4.21.5.3.1 SSU_PC1:Active state description 74 4.21.5.3.2 Transition SSU_PC1:Active to SSU_PC5:Wait_Idle . 74 4.21.5.3.3 Transition SSU_PC1:Active to SSU_PC6:Wait_Standby 74 4.21.5.3.4 Transition SSU_PC1:Active to SSU_PC10:Wait_Stopped 75 4.21
36、.5.4 SSU_PC2:Idle state 75 4.21.5.4.1 SSU_PC2:Idle state description 75 4.21.5.4.2 Transition SSU_PC2:Idle to SSU_PC4:Active_Wait . 75 4.21.5.4.3 Transition SSU_PC2:Idle to SSU_PC5:Wait_Idle . 75 4.21.5.4.4 Transition SSU_PC2:Idle to SSU_PC6:Wait_Standby 76 4.21.5.4.5 Transition SSU_PC2:Idle to SSU_
37、PC7:Idle_Wait . 76 4.21.5.4.6 Transition SSU_PC2:Idle to SSU_PC10:Wait_Stopped 76 4.21.5.5 SSU_PC3:Standby state. 76 4.21.5.5.1 SSU_PC3:Standby state description.76 4.21.5.5.2 Transition SSU_PC3:Standby to SSU_PC4:Active_Wait 76 4.21.5.5.3 Transition SSU_PC3:Standby to SSU_PC6:Wait_Standby. 77 4.21.
38、5.5.4 Transition SSU_PC3:Standby to SSU_PC7:Idle_Wait 77 4.21.5.5.5 Transition SSU_PC3:Standby to SSU_PC9:Standby_Wait. 77 4.21.5.5.6 Transition SSU_PC3:Standby to SSU_PC10:Wait_Stopped 78 4.21.5.6 SSU_PC4:Active_Wait state . 78 4.21.5.6.1 SSU_PC4:Active_Wait state description . 78 4.21.5.6.2 Transi
39、tion SSU_PC4:Active_Wait to SSU_PC1:Active . 79 4.21.5.7 SSU_PC5:Wait_Idle state . 79 4.21.5.7.1 SSU_PC5:Wait_Idle state description .79 4.21.5.7.2 Transition SSU_PC5:Wait_Idle to SSU_PC2:Idle . 79 4.21.5.8 SSU_PC6:Wait_Standby state 79 4.21.5.8.1 SSU_PC6:Wait_Standby state description 79 4.21.5.8.2
40、 Transition SSU_PC6:Wait_Standby to SSU_PC3:Standby. 79 4.21.5.9 SSU_PC7:Idle_Wait state . 79 4.21.5.9.1 SSU_PC7:Idle_Wait state description .79 4.21.5.9.2 Transition SSU_PC7:Idle_Wait to SSU_PC2:Idle . 80 4.21.5.10 SSU_PC8:Stopped state. 80 4.21.5.10.1 SSU_PC8:Stopped state description. 80 4.21.5.1
41、0.2 Transition SSU_PC8:Stopped to SSU_PC4:Active_Wait 80 4.21.5.10.3 Transition SSU_PC8:Stopped to SSU_PC7:Idle_Wait 81 4.21.5.10.4 Transition SSU_PC8:Stopped to SSU_PC9:Standby_Wait 81 4.21.5.11 SSU_PC9:Standby_Wait state 81 4.21.5.11.1 SSU_PC9:Standby_Wait state description 81 4.21.5.11.2 Transiti
42、on SSU_PC9:Standby_Wait to SSU_PC3:Standby. 81 4.21.5.12 SSU_PC10:Wait_Stopped state 82 4.21.5.12.1 SSU_PC10:Wait_Stopped state description 82 4.21.5.12.2 Transition SSU_PC10:Wait_Stopped to SSU_PC8:Stopped 82 4.22 Protection information model 82 4 ISO/IEC 14776-323:2017 ISO/IEC 2017 BS ISO/IEC 1477
43、6-323:2017BS ISO/IEC 14776-323:2017 ISO/IEC 14776-323:2016 ISO/IEC 2016 5 4.22.1 Protection information overview 82 4.22.2 Protection types 82 4.22.2.1 Protection types overview . 82 4.22.2.2 Type 0 protection. 83 4.22.2.3 Type 1 protection. 84 4.22.2.4 Type 2 protection. 84 4.22.2.5 Type 3 protecti
44、on. 85 4.22.3 Protection information format 85 4.22.4 Logical block guard. 89 4.22.4.1 Logical block guard overview 89 4.22.4.2 CRC generation. 89 4.22.4.3 CRC checking . 90 4.22.4.4 CRC test cases . 90 4.22.5 Application of protection information. 90 4.22.6 Protection information and commands . 91
45、4.23 Grouping function . 91 4.24 Background scan operations 91 4.24.1 Background scan overview. 91 4.24.2 Background pre-scan operations 92 4.24.2.1 Enabling background pre-scan operations 92 4.24.2.2 Suspending and resuming background pre-scan operations 92 4.24.2.3 Halting background pre-scan oper
46、ations. 93 4.24.3 Background medium scan 93 4.24.3.1 Enabling background medium scan operations 93 4.24.3.2 Suspending and resuming background medium scan operations. 94 4.24.3.3 Halting background medium scan operations . 94 4.24.4 Interpreting the logged background scan results 95 4.25 Association
47、 between commands and CbCS permission bits . 95 4.26 Deferred microcode activation 97 4.27 Model for uninterrupted sequences on LBA ranges . 97 4.28 Referrals. 97 4.28.1 Referrals overview 97 4.28.2 Discovering referrals. 98 4.28.3 Referrals in sense data. 99 4.29 ORWRITE commands 100 4.29.1 ORWRITE
48、 commands overview . 100 4.29.2 ORWgeneration code . 100 4.29.2.1 ORWgeneration code overview. 100 4.29.2.2 ORWgeneration code processing . 101 4.29.3 Change generation and clear operation 101 4.29.4 Set operation. 103 4.30 Block device ROD token operations. 104 4.30.1 Block device ROD token operati
49、ons overview104 4.30.2 POPULATE TOKEN command and WRITE USING TOKEN command completion 105 4.30.3 Block device specific ROD tokens 105 4.30.4 Block device zero ROD token. 106 4.30.5 ROD token device type specific data 106 5 Commands for direct access block devices. 108 5.1 Commands for direct access block devices overview 108 5.2 COMPARE AND WRITE command . 111 5.3 FORMAT UNIT command 113 5.3.1 FORMAT UNIT command overview . 113 5.3.2 FORMAT UNIT parameter list. 117 5.3.2.1 FORMAT UNIT parameter list overview117 5.3.2.2 Parame