1、American National StandardDeveloped byfor Information technology -SCSI Stream Commands - 2 (SSC-2)ANSI INCITS 380-2003ANSIINCITS380-2003Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IH
2、S-,-,-Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-ANSIINCITS 380-2003American National Standardfor Information Technology SCSI Stream Commands - 2 (SSC-2)SecretariatInformati
3、on Technology Industry CouncilApproved October 30, 2003 American National Standards Institute, Inc.AbstractThis standard specifies the device model and functional requirements for the SCSI sequential-accessstream device type. This standards permits the SCSI sequential-access stream device type to at
4、tach tocomputers and provides the definitions for their use.This standard does not contain material related to any service delivery subsystem which is used to trans-port the commands, command parameter data, command response data, and status specified in this stan-dard.Copyright American National St
5、andards Institute Provided by IHS under license with ANSINot 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
6、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. Substantial agreement means much more thana simple majority, but not necessarily unanimity. Consensus
7、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 in any respect preclude anyone, whether he has approvedthe standards or not, from manufacturing, ma
8、rketing, 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 interpretation of any American NationalStandard. Moreover, no person shall have the right or author
9、ity 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 whose name appears on the titlepage of this standard.CAUTION NOTICE: This American National Standard m
10、ay 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 American National Standards mayreceive current information on all standards by calling or writing t
11、he AmericanNational Standards Institute.American National StandardPublished byAmerican National Standards Institute, Inc.25 West 43rd Street, New York, NY 10036Copyright 2003 by Information Technology Industry Council (ITI)All rights reserved.No part of this publication may be reproduced in anyform,
12、 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 AmericaCAUTION: The developers of this standard have requested that holders of patents that may berequired for the implementation of the
13、standard disclose such patents to the publisher. However,neither the developers nor the publisher have undertaken a patent search in order to identifywhich, if any, patents may apply to this standard. As of the date of publication of this standardand following calls for the identification of patents
14、 that may be required for the implementation ofthe standard, no such claims have been made. No further patent search is conducted by the de-veloper or publisher in respect to any standard it processes. No representation is made or impliedthat licenses are not required to avoid infringement in the us
15、e of this standard.Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reprodu
16、ction or networking permitted without license from IHS-,-,-ContentsPageForeword viIntroduction .ix1 Scope . 12 Normative references 32.1 Normative references 32.2 Approved references. 42.3 References under development 43 Definitions, acronyms, keywords, and conventions 53.1 Definitions . 53.2 Acrony
17、ms 93.3 Keywords 93.4 Editorial Conventions 103.5 Notation Conventions 113.5.1 Notation for state diagrams 114 General Concepts . 134.1 Overview . 134.2 Sequential-access device model. 134.2.1 Sequential-access device model overview 134.2.2 Physical elements 134.2.3 Early-warning . 164.2.4 Partition
18、s within a volume 174.2.5 Logical objects . 194.2.5.1 Logical objects within a partition . 194.2.5.2 Logical object identifier 204.2.6 Logical files 204.2.6.1 Logical files within a partition 204.2.6.2 Logical file identifier. 204.2.7 Logical sets 204.2.7.1 Logical sets within a partition 204.2.7.2
19、Logical set identifier 204.2.8 Object buffering 204.2.9 Synchronize operation behavior. 214.2.10 Direction and position definitions . 214.2.11 Error reporting 224.2.12 Write protection 234.2.12.1 Write protection introduction . 234.2.12.2 Write protection additional sense code use 244.2.12.3 Softwar
20、e write protection for the device server . 244.2.12.4 Associated write protection . 254.2.12.5 Persistent write protection. 254.2.12.6 Permanent write protection . 254.2.13 Progress indication. 254.2.14 Tagged command queuing 264.2.14.1 Tagged command queuing overview 26i4.2.14.2 Explicit address mo
21、de tagged write sequences 264.2.15 Block address mode. 27Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHSPage4.2.15.1 Block address mode overview 274.2.15.2 Block address mode selecti
22、on 274.2.15.3 Block address mode state diagrams. 284.2.16 TapeAlert application client interface . 374.2.16.1 Introduction to TapeAlert application client interface 374.2.16.2 TapeAlert log sense format. 374.2.16.3 Tape drive/autoloader flag types and definitions. 384.2.17 READ ATTRIBUTE and WRITE A
23、TTRIBUTE command support 394.2.18 Device reservations and command behavior. 405 Explicit address command descriptions for sequential-access devices. 435.1 Summary of commands for explicit address mode . 435.2 ERASE(16) command. 455.3 READ(16) command. 475.4 READ REVERSE(16) command. 505.5 VERIFY(16)
24、 command 515.6 WRITE(16) command . 535.7 WRITE FILEMARKS(16) command 556 Implicit address command descriptions for sequential-access devices 576.1 Summary of commands for implicit address mode . 576.2 ERASE(6) command. 606.3 LOCATE(10) command. 606.4 READ(6) command. 626.5 READ REVERSE(6) command. 6
25、46.6 SPACE(6) command. 646.7 VERIFY(6) command 676.8 WRITE(6) command . 696.9 WRITE FILEMARKS(6) command 707 Common command descriptions for sequential-access devices 727.1 FORMAT MEDIUM command. 727.2 LOAD UNLOAD command 737.3 LOCATE(16) command. 757.4 READ BLOCK LIMITS command 777.5 READ POSITION
26、command . 787.6 RECOVER BUFFERED DATA command. 857.7 REPORT DENSITY SUPPORT command . 867.8 REWIND command. 907.9 SET CAPACITY command . 917.10 SPACE(16) command. 928 Parameters for sequential-access devices 978.1 Diagnostic parameters 978.2 Log parameters. 978.2.1 Log parameters overview. 978.2.2 S
27、equential-Access Device log page. 988.2.3 TapeAlert log page. 998.3 Mode parameters 998.3.1 Mode parameters overview 998.3.2 Data Compression mode page 103ii8.3.3 Device Configuration mode page. 107-,-,-Copyright American National Standards Institute Provided by IHS under license with ANSINot for Re
28、saleNo reproduction or networking permitted without license from IHSPage8.3.4 Medium Partition mode page . 1118.3.5 Read-Write Error Recovery mode page . 1158.3.6 Informational Exceptions Control mode page 116Tables1 Error conditions and sense keys 222 Write protect additional sense code combination
29、s . 243 Commands providing progress indication without changing ready state 254 Commands changing ready state and providing progress indication265 TapeAlert flag types . 386 TapeAlert flags minimum subset 387 TapeAlert flag definition grouping. 398 Device common attributes 399 Medium common attribut
30、es 4010 SSC-2 commands that are allowed in the presence of various reservations 4111 Explicit address command set for sequential-access devices 4312 ERASE(16) command 4613 READ(16) command 4714 READ REVERSE(16) command 5015 VERIFY(16) command . 5116 WRITE(16) command. 5317 WRITE FILEMARKS(16) comman
31、d . 5518 Implicit address command set for sequential-access devices 5719 ERASE(6) command 6020 LOCATE(10) command 6121 READ(6) command 6222 READ REVERSE(6) command 6423 SPACE(6) command 6524 Code definition . 6525 VERIFY(6) command . 6726 WRITE(6) command. 6927 WRITE FILEMARKS(6) command . 7028 FORM
32、AT MEDIUM command 7229 Format field definition . 7330 LOAD UNLOAD command. 74iii31 LOCATE(16) command 75-,-,-Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHSPage32 dest_type field def
33、initions. 7633 READ BLOCK LIMITS command. 7734 READ BLOCK LIMITS data . 7735 READ POSITION command 7836 READ POSITION service action codes . 7837 READ POSITION data format, short form 8038 READ POSITION data format, long form. 8239 READ POSITION data format, extended form. 8440 RECOVER BUFFERED DATA
34、 command 8541 REPORT DENSITY SUPPORT command 8642 Density support header 8743 Density support data block descriptor 8844 REWIND command 9145 SET CAPACITY command 9146 SPACE(16) command 9347 Space positioning information 9448 Diagnostic page codes. 9749 Log page codes 9750 Parameter codes for Sequent
35、ial-Access Device log page. 9851 TapeAlert log page. 9952 Device-specific parameter. 10053 Buffered modes. 10054 speed field definition 10055 Sequential-access density codes 10156 Mode page codes 10157 Data Compression mode page 10358 Possible boundaries and resulting sense keys due to data compress
36、ion . 10459 Compression algorithm identifiers. 10660 Device Configuration mode page. 10761 eod defined values. 10962 rewind on reset field definition 11063 Medium Partition mode page . 11164 PSUM values . 112iv65 Medium format recognition values . 114-,-,-Copyright American National Standards Instit
37、ute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-Page66 Read-Write Error Recovery mode page . 11567 Informational Exceptions Control mode page 11668 TapeAlert test descriptions 117Figures 1 SCSI document relationships 12 Ex
38、ample state diagram. 113 Typical volume layout 144 Typical medium track layout 155 Serpentine recording example 156 Parallel recording example 167 Helical scan recording example 168 Early-warning example 179 Partitioning example - one partition per track group 1710 Partitioning example - one partiti
39、on per two track groups . 1811 Partitioning example - two partitions per track group 1812 Block address mode state diagram, overview . 2913 Block address mode state diagram, Idle state 3014 Block address mode state diagram, Explicit Address Mode - Neutral . 3215 Block address mode state diagram, Exp
40、licit Address Mode - Write Capable 3416 Block address mode state diagram, Implicit Address Mode 36AnnexA TapeAlert log page parameter codes (flags). 119vCopyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted withou
41、t license from IHSForeword (This foreword is not part of American National Standard ANSI INCITS 380-2003.)This standard specifies the external behavior of a device server that defines itself asa sequential-access device in the device type field of the INQUIRY command re-sponse data. This device type
42、 is known as a stream device. This standard conformsto the SCSI Architecture Model - 2 (T10/1157-D) standard.With any technical document there may arise questions of interpretation as newproducts are implemented. INCITS has established procedures to issue technicalopinions concerning the standards d
43、eveloped by INCITS. These procedures may re-sult in SCSI Technical Information Bulletins being published by INCITS.These Bulletins, while reflecting the opinion of the Technical Committee that devel-oped the standard, are intended solely as supplementary information to other usersof the standard. Th
44、is standard, ANSI INCITS 380-2003, as approved through thepublication and voting procedures of the American National Standards Institute, isnot altered by these bulletins. Any subsequent revision to this standard may or maynot reflect the contents of these Technical Information Bulletins.Current INC
45、ITS practice is to make Technical Information Bulletins available through:INCITS Online Store http:/ by Techstreet Telephone: 1-734-302-7801 or1327 Jones Drive 1-800-699-9277Ann Arbor, MI 48105 Facsimile: 1-734-302-7811orGlobal Engineering http:/15 Inverness Way East Telephone: 303-792-2181 orEnglew
46、ood, CO 80112-5704 800-854-7179Facsimile: 303-792-2192Requests for interpretation, suggestions for improvement and addenda, or defect re-ports are welcome. They should be sent to the INCITS Secretariat, InterNationalCommittee for Information Technology Standards, Information Technology Institute,125
47、0 Eye Street, NW, Suite 200, Washington, DC 20005-3922. This standard was processed and approved for submittal to ANSI by the InterNation-al Committee for Information Technology Standards (INCITS). Committee approvalof the standard does not necessarily imply that all committee members voted for ap-p
48、roval. At the time of it approved this standard, INCITS had the following members:Karen Higginbottom, ChairJennifer Garner, SecretaryOrganization Represented Name of RepresentativeApple Computer, Inc. David MichaelWanda Cox (Alt.)Farance, Inc Frank FaranceHewlett-Packard Company. Karen HigginbottomScott Jameson (Alt.)Steve Mills (Alt.)EIA Edward Mikoski, Jr.Suan Hoyler (Alt.)vi-,-,-Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo r