1、ANSI INCITS 335-2000 (R2005)(formerly ANSI NCITS 335-2000)for Information Technology SCSI-3 Stream Commands (SSC)Reaffirmed as INCITS 335-2000 R2015ANSINCITS 335-2000American National Standardfor Information Technology SCSI-3 Stream Commands (SSC)SecretariatInformation Technology Industry CouncilApp
2、roved April 25, 2000 American National Standards Institute, Inc.AbstractThis standard specifies functional requirements for SCSI-3 Stream Commands (SSC). SSC permits SCSIstreaming devices such as tape and printer devices to attach to computers and provides the definitions fortheir use.This standard
3、does not contain material related to any service delivery subsystem that is used to transportthe commands, command parameter data, command response data, and status specified in this standard.Approval of an American National Standard requires review by ANSI that therequirements for due process, cons
4、ensus, 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. Substantial agreement means much more thana simple
5、 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 in any respect preclude anyone, whether he has
6、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 interpretation of any American NationalStandard
7、. 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 whose name appears on the titlepage of this standa
8、rd.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 American National Standards mayreceive current
9、information on all standards by calling or writing the AmericanNational Standards Institute.American National StandardPublished byAmerican National Standards Institute, Inc.11 West 42nd Street, New York, NY 10036Copyright 2000 by Information Technology Industry Council (ITI)All rights reserved.No pa
10、rt of this publication may be reproduced in anyform, 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 patent
11、s that may berequired for the implementation of the 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 standarda
12、nd following calls for the identification of patents 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 licen
13、ses are not required to avoid infringement in the use of this standard.iContentsPageForeword1 Scope. 12 References. 32.1 Normative References . 32.1.1 Approved references 32.1.2 References under development. 32.2 Informative references . 33 Definitions, symbols and abbreviations 33.1 Definitions 43.
14、2 Symbols and abbreviations 53.3 Keywords . 53.4 Conventions. 64 General 74.1 Overview 74.2 Physical models. 75 Sequential-access devices 85.1 Definitions specific to sequential access devices 85.2 Sequential-access device model . 95.2.1 Physical elements 95.2.2 Early Warning 115.2.3 Partitions with
15、in a volume 125.2.4 Logical elements within a partition. 135.2.5 Data buffering 145.2.6 Tagged command queuing 155.2.7 Recorded object descriptors (block identifiers) 155.2.8 Direction and position definitions . 165.2.8.1 Error reporting 165.2.9 Write protection 185.2.9.1 Write protect additional se
16、nse code and additional sense code qualifier use 185.2.9.2 Software Write Protect for the device server . 195.2.9.3 Associated Write Protect 195.2.9.4 Persistent Write Protect . 195.2.9.5 Permanent Write Protect 195.2.10 Progress indication 205.2.11 TapeAlert application client interface. 205.2.11.1
17、 TapeAlert informational exceptions control page implementation . 215.2.11.2 TapeAlert log sense format 215.2.11.3 Tape drive/autoloader flag definitions 225.2.12 Device reservations and command behavior. 235.3 Command descriptions for sequential-access devices 255.3.1 ERASE command 275.3.2 FORMAT M
18、EDIUM command . 275.3.3 LOAD UNLOAD command 295.3.4 LOCATE command 305.3.5 READ command 32iiPage5.3.6 READ BLOCK LIMITS command 345.3.7 READ POSITION command 345.3.8 READ REVERSE command 385.3.9 RECOVER BUFFERED DATA command . 395.3.10 REPORT DENSITY SUPPORT Command . 405.3.11 REWIND command . 435.3
19、.12 SPACE command 445.3.13 VERIFY command . 475.3.14 WRITE command 485.3.15 WRITE FILEMARKS command . 505.4 Parameters for sequential-access devices 515.4.1 Diagnostic parameters. 515.4.2 Log parameters 515.4.2.1 Sequential-access device page . 525.4.2.2 TapeAlert log page 535.4.3 Mode parameters. 5
20、35.4.3.1 Data compression page. 565.4.3.2 Device configuration page . 595.4.3.3 Medium partition page(1). 635.4.3.4 Medium partition page(2-4) 675.4.3.5 Read-write error recovery page . 695.4.3.6 Informational exceptions control page . 706 Printer devices . 726.1 Model for printer devices . 726.2 Co
21、mmands for printer devices. 726.2.1 FORMAT command. 736.2.2 PRINT command . 746.2.3 RECOVER BUFFERED DATA command . 756.2.4 SLEW AND PRINT command . 756.2.5 STOP PRINT command 766.2.6 SYNCHRONIZE BUFFER command 766.3 Parameters for printer devices. 776.3.1 Diagnostic parameters. 776.3.2 Log paramete
22、rs 776.3.3 Mode parameters. 786.3.3.1 Parallel printer interface page 796.3.3.2 Printer options page. 806.3.3.3 Serial printer interface page. 84AnnexesA 87B 89Tables1 Error conditions and sense keys 172 Write protect ASC/ASCQ combinations . 193 Commands providing progress indication without changin
23、g ready state 204 Commands changing ready state and providing progress indication. 20iiiPage5 TapeAlert default informational exceptions control page 216 TapeAlert flag types 227 TapeAlert flags minimum subset 228 TapeAlert flag definitions 239 Streaming commands that are allowed in the presence of
24、various reservations 2410 Commands for sequential-access devices . 2611 ERASE command. 2712 FORMAT MEDIUM command 2813 Format field definition . 2814 LOAD UNLOAD command . 2915 LOCATE command. 3116 READ command . 3217 READ BLOCK LIMITS command . 3418 READ BLOCK LIMITS data 3419 READ POSITION command
25、. 3520 READ POSITION data format, short form 3621 READ POSITION data format, long form . 3722 READ REVERSE command. 3823 RECOVER BUFFERED DATA command 3924 REPORT DENSITY SUPPORT command . 4025 Density support header. 4126 Density support data block descriptor. 4127 REWIND command 4428 SPACE command
26、. 4429 Code definition 4530 VERIFY command 4731 WRITE command . 4832 WRITE FILEMARKS command 5033 Diagnostic page codes . 5134 Log page codes 5235 Parameter codes for sequential-access device page . 5236 TapeAlert log page . 5337 Device-specific parameter 5338 Buffered modes 54ivPage39 Speed field d
27、efinition 5440 Sequential-access density codes . 5541 Mode page codes. 5642 Data compression page . 5643 Possible boundaries and resulting sense keys due to data compression . 5744 Compression algorithm identifiers 5945 Device configuration page 6046 EOD defined values . 6247 Medium partition page(1
28、) . 6448 PSUM values 6549 Medium format recognition values . 6650 Medium partition page(2-4) 6751 Read-write error recovery page 6952 Informational exceptions control page 7053 TapeAlert test descriptions. 7154 Commands for printer devices . 7355 FORMAT command . 7456 Format type values. 7457 PRINT
29、command 7458 RECOVER BUFFERED DATA command 7559 SLEW AND PRINT command 7560 STOP PRINT command . 7661 SYNCHRONIZE BUFFER command . 7762 Diagnostic page codes . 7763 Log page codes 7864 Printer device-specific parameter. 7865 Mode page codes. 7966 Parallel printer interface . 7967 Parity select codes
30、 . 7968 VFU control byte. 8069 Printer options 8170 Font identification values 8171 Slew mode codes . 8272 Line slew codes 83vPage73 Form slew codes. 8374 Data termination option codes 8475 Serial printer interface. 8476 Parity selection codes. 8577 Pacing protocol codes 8578 Historical sequential-a
31、ccess density codes 8779 TapeAlert log page parameter codes . 89Figures1 SCSI standards - general structure 12 Typical volume layout . 103 Typical medium track layout . 104 Serpentine recording example 115 Parallel recording example . 116 Helical scan recording example 117 Early-warning example . 12
32、8 Partitioning example - one partition per track group . 129 Partitioning example - one partition per two track groups. 1310 Partitioning example - two partitions per track group 1311 SCSI printer model . 72viForeword (This foreword is not part of American National Standard NCITS 335-2000.)The SCSI-
33、3 Stream Commands (SSC) standard specifies the external behavior of adevice server that defines itself as either a Sequential-access device or a Printer de-vice in the device type field of the INQUIRY command response data. Together,these device types are known as Stream Devices. The SSC standard co
34、nforms toSCSI-3 Architectural Model (ANSI X3.270-1996) standard.Requests for interpretation, suggestions for improvement and addenda, or defect re-ports are welcome. They should be sent to the NCITS Secretariat, Information Tech-nology Industry Council, 1250 Eye Street NW, Suite 200, Washington, DC
35、20005-3922.This standard was processed and approved for submittal to ANSI by National Com-mittee for Information Technology Standardization (NCITS). Committee approval ofthis standard does not necessary imply that all committee members voted for approv-al. At the time it approved this standard, NCIT
36、S had the following members:Karen Higginbottom, ChairDavid Michael, Vice-ChairMonica Vago, SecretaryOrganization Represented Name of RepresentativeAonix Alexander NawrockiApple Computer, Inc. David MichaelBull HN Information Systems, Inc. Randall KilmartinCompaq Computer Corporation . Scott JamesonH
37、ewlett-Packard Company. Karen HigginbottomHitachi American, Ltd. John NeumannIBM Corporation . Ronald F. SillettiInstitute for Certification of Computer Professionals Kenneth M. ZemrowskiLucent Technologies, Inc. Herbert BertineMicrosoft Corporation . Mark RylandNational Institute of Standards b) de
38、fine commands unique to each type of SCSI stream device;c) define commands to manage the operation of SCSI stream devices; andd) define the differences between the types of SCSI stream devices.Figure 1 SCSI standards - General structureFigure 1 shows the general structure of SCSI standards. The figu
39、re is not intended to imply a relationshipsuch as a hierarchy, protocol stack, or system architecture.BSR NCITS 3352At the time this standard was generated, examples of the SCSI general structure included:Physical Interconnects:Fibre Channel Arbitrated Loop X3.272:1995Fibre Channel Arbitrated Loop 2
40、 NCITS.332:1999Fibre Channel - Physical and Signaling Interface X3.230-1994High Performance Serial Bus IEEE 1394-1995SCSI Parallel Interface 2 X3.302:1999SCSI Parallel Interface 3 T10/1302-DSerial Storage Architecture Physical Layer 1 X3.293:1996Serial Storage Architecture Physical Layer 2 NCITS.307
41、:1998Transport Protocols:Serial Storage Architecture Transport Layer 1 X3.295:1996SCSI-3 Fibre Channel Protocol X3.269:1996SCSI Fibre Channel Protocol 2 T10/1144-DSCSI Serial Bus Protocol 2 NCITS.325:1998Serial Storage Architecture SCSI-3 Protocol NCITS.309:1998Serial Storage Architecture Transport
42、Layer 2 NCITS.308:1998Shared Command Set:SCSI-3 Primary Commands X3.301:1997SCSI Primary Commands 2 T10/1236-DDevice-Type Specific Command Sets:SCSI-3 Stream Commands (this standard)SCSI-3 Block Commands NCITS.306:1998SCSI-3 Enclosure Services NCITS.305:1998SCSI-3 Medium Changer Commands NCITS.314:1
43、998SCSI Controller Commands 2 NCITS.318:1998SCSI Multimedia Commands X3.304:1997SCSI-3 Multimedia Commands 2 T10/1228-DSCSI Multimedia Commands 3 T10/1363-DArchitecture Model:SCSI-3 Architecture Model X3.270:1996SCSI Architecture Model 2 T10/1157-DCommon Access Method:SCSI Common Access Method X3.23
44、2:1996SCSI Common Access Method 3 T10/990-DThe term SCSI is used to refer to the family of standards described in this clause. The Small ComputerSystem Interface 2 standard (X3.131-1994) and its architecture are referred to herein as SCSI-2.ANSI NCITS 335-2000ANSI NCITS 335-2000BSR NCITS 33532 Refer
45、ences2.1 Normative ReferencesThe following standards contain provisions that, through reference in the text, constitute provisions of thisstandard. At the time of publication, the editions indicated were valid. All standards are subject to revision,and parties to agreements based on this standard ar
46、e encouraged to investigate the possibility of applyingthe most recent editions of the standards listed below.Additional availability contact information is provided below as needed.2.1.1 Approved referencesSCSI-3 Architecture Model, ANSI X3.270-19961)2.1.2 References under developmentAt the time of
47、 publication, the following referenced standards were still under development. Forinformation on the current status of the document, or regarding availability, contact the relevantstandards body as indicated.SCSI Primary Commands 2, T10/1236-DSCSI Architecture Model 2, T10/1157-DNOTE 1 For more info
48、rmation on the current status of the document, contact the NCITS Secretariat at 202-737-8888 (telephone), 202-638-4922 (fax) or via Email at x3secitic.nw.dc.us. To obtain copies of thisdocument, contact Global Engineering at 15 Inverness Way East Englewood, CO 80112-5704 at 800-854-7179 (telephone),
49、 303-792-2181 (telephone), or 303-792-2192 (fax).2.2 Informative referencesSmall Computer System Interface 2 ANSI X3.131-1994 ISO/IEC 9316-1:19951)_1)For electronic copies of some standards, visit ANSIs Electronic Standards Store (ESS) at www.ansi.org. Forprinted versions of all these standards, contact Global Engineering Documents, 15 Inverness Way East, Englewood,CO 80112-5704, (800) 854-7179.3 Definitions, symbols and abbreviationsThis clause contains a glossary of special terms used in t