1、American National StandardDeveloped byfor Information Technology SCSI Media Changer Commands - 3(SMC-3)INCITS 484-2012INCITS 484-2012INCITS 484-2012American National Standardfor Information Technology SCSI Media Changer Commands - 3(SMC-3)SecretariatInformation Technology Industry CouncilApproved Ju
2、ly 25, 2012American National Standards Institute, Inc.AbstractThis standard defines the SCSI commands and model for media changer devices.Approval of an American National Standard requires review by ANSI that therequirements for due process, consensus, and other criteria for approval havebeen met by
3、 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 re
4、quires 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, mark
5、eting, 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 authorit
6、y 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 may
7、 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 the
8、 AmericanNational Standards Institute.American National StandardPublished byAmerican National Standards Institute, Inc.25 West 43rd Street, New York, NY 10036Copyright 2012 by Information Technology Industry Council (ITI)All rights reserved.No part of this publication may be reproduced in anyform, i
9、n 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 developers of this standard have requested that holders of patents that may be re-quired for the implementatio
10、n 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 this standard. As of the date of publication of this standard, followingcalls for the identification of
11、 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 validity of this claim or of any rights in connection therewith. The knownpatent holder(s) has (have), ho
12、wever, 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 obtained from the publisher. No further patent search is con-ducted by the developer or publisher in
13、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.i Contents Foreword vii Introductionxii 1 Scope 1 2 Normative references . 2 2.1 Normative references overview . 2 2.2 Approve
14、d references . 2 2.3 References under development . 2 3 Definitions, symbols and abbreviations. 3 3.1 Definitions . 3 3.2 Symbols and abbreviations . 6 3.3 Keywords 7 3.4 Conventions 8 3.5 Numeric conventions . 8 4 Overview 10 5 Media changer model . 12 5.1 Introduction . 12 5.2 Media changer elemen
15、ts . 12 5.2.1 Elements overview . 12 5.2.2 Medium transport element 13 5.2.3 Storage element . 14 5.2.4 Import/export element 14 5.2.5 Data transfer element . 15 5.2.6 Element status maintenance requirements . 17 5.2.7 Disabling/enabling elements . 18 5.2.8 Reporting elements in sense data 18 5.3 Ad
16、ditional Sense Codes and Exception Conditions 18 5.3.1 Overview 18 5.3.2 Conditions that report NOT READY 18 5.3.3 Media magazine additional sense codes. 19 5.3.4 Medium transport element addtional sense codes 20 5.3.5 Mechanical positioning error addtional sense codes . 21 5.4 Volume tag informatio
17、n . 23 5.4.1 Volume tag overview 23 5.4.2 Volume tag assignments 23 5.4.3 Primary and alternate volume tag information . 24 5.4.4 Volume tag information format 24 5.5 Volume type codes and volume qualifier codes overview 25 5.6 Data transfer device cleaning 26 5.6.1 Data transfer device cleaning int
18、roduction 26 5.6.2 Reporting data transfer device cleaning requests . 27 5.6.3 Cleaning data transfer devices . 27 5.6.4 Auto-cleaning . 27 5.7 TapeAlert application client . 28 5.7.1 TapeAlert introduction 28 5.7.2 TapeAlert usage model 31 5.7.3 TapeAlert flag activation and deactivation 32 5.7.4 T
19、apeAlert Response log page 35 5.8 Capability-based command security 36 5.8.1 Capability-based command security (CbCS) overview 36 5.8.2 Association between commands and permission bits 36 5.8.3 The PERMISSION BIT MASK field in CbCS Capability 37 5.9 Media changer object descriptors 37 5.9.1 Media ch
20、anger object descriptors overview 37 5.9.2 Media changer object descriptor format 37 ii 5.9.3 Element address object descriptor 38 5.9.4 Empty element object descriptor. 39 5.9.5 Volume barcode object descriptor 39 5.9.6 Primary volume tag object descriptor 40 5.9.7 Alternate volume tag object descr
21、iptor 40 5.9.8 Volume serial number object descriptor 40 5.9.9 Cleaning volume object descriptor 40 5.9.10 Data transfer device serial number object descriptor 41 5.9.11 Data transfer device designation object descriptor 41 5.10 Volume replication visibility . 42 6 Commands for media changer devices
22、 . 45 6.1 Summary of commands for media changers 45 6.2 Commands allowed in the presence of various reservations 47 6.3 EXCHANGE MEDIUM command . 49 6.4 INITIALIZE ELEMENT STATUS command 51 6.5 INITIALIZE ELEMENT STATUS WITH RANGE command 52 6.6 MOVE MEDIUM command 53 6.7 MOVE VOLUME BY DESCRIPTOR c
23、ommand . 55 6.7.1 MOVE VOLUME BY DESCRIPTOR command introduction . 55 6.7.2 MOVE VOLUME BY DESCRIPTOR command parameter data 56 6.8 OPEN/CLOSE IMPORT/EXPORT ELEMENT command . 57 6.9 POSITION TO ELEMENT command 59 6.10 PREVENT ALLOW MEDIUM REMOVAL command 60 6.11 READ ATTRIBUTE command 62 6.11.1 READ
24、 ATTRIBUTE command introduction 62 6.12 READ ELEMENT STATUS command 63 6.12.1 READ ELEMENT STATUS command introduction 63 6.12.2 Element status data 64 6.12.3 Element Status page 65 6.12.4 Medium transport element descriptor 67 6.12.5 Storage element descriptor 69 6.12.6 Import/export element descri
25、ptor 71 6.12.7 Data transfer element descriptor 73 6.12.8 Designation descriptor 74 6.13 REPORT ELEMENT INFORMATION command . 75 6.13.1 REPORT ELEMENT INFORMATION command introduction . 75 6.13.2 Supported Element Information Pages element information page . 77 6.13.3 Supported Volumes element infor
26、mation page 78 6.13.4 Element Static Information element information page . 80 6.13.5 Element State Information element information page 82 6.13.6 Element Location Information element information page . 85 6.13.7 Return All Supported Pages element information page . 87 6.14 REPORT SUPPORTED OBJECT D
27、ESCRIPTORS command . 88 6.15 REPORT VOLUME INFORMATION (16) command . 90 6.16 REPORT VOLUME INFORMATION (V) command . 91 6.16.1 REPORT VOLUME INFORMATION (V) command introduction . 91 6.16.2 Supported Volume Information Pages volume information page . 93 6.16.3 Volume Static Information volume infor
28、mation page . 95 6.16.4 Volume State Information volume information page 97 6.16.5 Volume Tag Information volume information page 101 6.16.6 Volume Replication Information volume information page . 103 6.16.7 Return All Supported Pages volume information page 107 6.17 REQUEST DATA TRANSFER ELEMENT I
29、NQUIRY command . 108 6.18 REPORT VOLUME TYPES SUPPORTED command . 110 6.18.1 REPORT VOLUME TYPES SUPPORTED command introduction . 110 6.18.2 Volume type and qualifier descriptor. 111 iii 6.19 REQUEST VOLUME ELEMENT ADDRESS command . 112 6.20 SEND VOLUME TAG command 114 6.20.1 SEND VOLUME TAG command
30、 introduction 114 6.20.2 SEND VOLUME TAG parameter data . 116 6.21 SET VOLUME INFORMATION command 117 6.21.1 SET VOLUME INFORMATION command introduction 117 6.21.2 Set Volume Replication Information volume information page . 118 6.22 WRITE ATTRIBUTE command 122 7 Parameters 123 7.1 Diagnostic parame
31、ters 123 7.2 Log parameters . 123 7.2.1 Log page codes 123 7.2.2 Media Changer Statistics log page . 124 7.2.3 Element Statistics log page 127 7.2.4 Media Changer Diagnostic Data log page . 129 7.2.5 TapeAlert log page . 136 7.2.6 TapeAlert Response log page 138 7.2.7 Current Service Information log
32、 page . 139 7.3 Mode parameters 147 7.3.1 Mode page codes . 147 7.3.2 Device Capabilities mode page 148 7.3.3 Device Configuration Extension mode page 150 7.3.4 Extended Device Capabilities mode page . 152 7.3.5 Element Address Assignment mode page . 155 7.3.6 Informational Exceptions Control mode p
33、age 156 7.3.7 Transport Geometry Parameters mode page 160 7.4 Vital product data parameters . 161 7.4.1 VPD parameters overview and page codes 161 7.4.2 TapeAlert supported flags VPD page 162 Annex A . 163 Application client recommendations for using TapeAlert . 163 Annex B . 164 Volume replication
34、operation example 164 Annex C . 166 Mapping of READ ELEMENT STATUS command to other commands 166 iv Tables Table 1 Numbering conventions examples 9 Table 2 Media magazine additional sense codes . 20 Table 3 Medium transport element additional sense codes 21 Table 4 Mechanical positioning error addit
35、ional sense codes 22 Table 5 Volume tag information format 24 Table 6 VIQ field values . 25 Table 7 Volume type codes . 26 Table 8 Volume qualifier codes . 26 Table 9 TapeAlert flag severity 28 Table 10 TapeAlert flags (part 1 of 2) 29 Table 10 TapeAlert flags (part 2 of 2) 30 Table 11 TapeAlert fla
36、g activation and deactivation conditions (part 1 of 3) . 32 Table 11 TapeAlert flag activation and deactivation conditions (part 2 of 3) . 33 Table 11 TapeAlert flag activation and deactivation conditions (part 3 of 3) . 34 Table 12 Associations between commands and CbCS permissions . 36 Table 13 PE
37、RMISSION BIT MASK field format . 37 Table 14 Media changer object descriptor format 38 Table 15 MEDIA CHANGER OBJECT DESCRIPTOR CODE field values . 38 Table 16 Element address object descriptor format . 39 Table 17 Empty element object descriptor format 39 Table 18 EMPTY ELEMENT SELECTOR field value
38、s . 39 Table 19 Volume barcode object descriptor format 39 Table 20 Volume serial number object descriptor format . 40 Table 21 Cleaning volume object descriptor format . 40 Table 22 CLEANING VOLUME SELECTOR field values 41 Table 23 Data transfer device serial number object descriptor format 41 Tabl
39、e 24 Data transfer device designation object descriptor format . 41 Table 25 Commands for media changer devices (part 1 of 3) 45 Table 25 Commands for media changer devices (part 2 of 3) 46 Table 25 Commands for media changer devices (part 3 of 3) 47 Table 26 SMC commands allowed in the presence of
40、various reservations . 48 Table 27 EXCHANGE MEDIUM command . 49 Table 28 INITIALIZE ELEMENT STATUS command 51 Table 29 INITIALIZE ELEMENT STATUS WITH RANGE command . 52 Table 30 MOVE MEDIUM command 53 Table 31 MOVE VOLUME BY DESCRIPTOR command 55 Table 32 Move volume by descriptor parameter data for
41、mat 56 Table 33 OPEN/CLOSE IMPORT/EXPORT ELEMENT command 57 Table 34 OPEN/CLOSE IMPORT/EXPORT ELEMENT action codes 57 Table 35 POSITION TO ELEMENT command . 59 Table 36 PREVENT ALLOW MEDIUM REMOVAL command . 60 Table 37 PREVENT field values . 60 Table 38 READ ATTRIBUTE command . 62 Table 39 READ ELE
42、MENT STATUS command 63 Table 40 ELEMENT TYPE CODE field values 64 Table 41 Element status data 65 Table 42 Element Status page 66 Table 43 Medium transport element descriptor 67 Table 44 MEDIUM TYPE field values 68 Table 45 Storage element descriptor . 69 Table 46 Import/export element descriptor 71
43、 Table 47 Data transfer element descriptor . 73 Table 48 Designation descriptor fields . 74 Table 49 REPORT ELEMENT INFORMATION command . 75 v Table 50 Element information page codes . 76 Table 51 Supported Element Information Pages element information page . 77 Table 52 Supported element informatio
44、n pages descriptor 78 Table 53 Supported Volumes element information page 78 Table 54 Supported volumes descriptor 79 Table 55 Supported volume parameter 80 Table 56 WRITE CAPABLE field values . 80 Table 57 Element Static Information element information page . 81 Table 58 Element static information
45、descriptor 81 Table 59 Element State Information element information page 83 Table 60 Element state information descriptor . 83 Table 61 VOLUME PRESENT field values. 84 Table 62 IMPORT field values . 84 Table 63 Element Location Information element information page . 85 Table 64 Element location inf
46、ormation descriptor 86 Table 65 Element location information parameter 86 Table 66 LOCATION TYPE CODE field values . 87 Table 67 REPORT SUPPORTED OBJECT DESCRIPTORS command . 88 Table 68 REPORTING OPTIONS field values 89 Table 69 Report supported object descriptors response data format 89 Table 70 R
47、EPORT VOLUME INFORMATION (16) command 90 Table 71 REPORT VOLUME INFORMATION (V) command . 91 Table 72 Volume information page codes 92 Table 73 Supported Volume Information Pages volume information page 94 Table 74 Supported pages descriptor 94 Table 75 Volume Static Information volume information p
48、age 95 Table 76 Volume static information descriptor . 96 Table 77 VSLBE field values . 96 Table 78 VSP field values . 97 Table 79 Volume State Information volume information page 97 Table 80 Volume state information descriptor 98 Table 81 WRITE PROTECT field values . 99 Table 82 MOUNTED field value
49、s 99 Table 83 CED field values 99 Table 84 UDPED field values. 100 Table 85 CAE field values 100 Table 86 Volume Tag Information volume information page 101 Table 87 Volume tag information descriptor 102 Table 88 Volume Replication Information volume information page . 103 Table 89 Volume replication information descriptor . 1