1、 Information technology Small Computer System Interface-3 (SCSI-3) Part 341:Controller Commands (SCC)Reference numberISO/IEC 14776-341:2000(E)National Standard of CanadaCAN/CSA-ISO/IEC 14776-341:02(ISO/IEC 14776-341:2000)International Standard ISO/IEC 14776-341:2000 (first edition, 2000-06) has been
2、 adopted withoutmodification (IDT) as CSA Standard CAN/CSA-ISO/IEC 14776-341:02, which has been approved as a NationalStandard of Canada by the Standards Council of Canada.ISBN 1-55324-894-5 December 2002The Canadian Standards Association (CSA), The Standards Council of Canada is theunder whose ausp
3、ices this National Standard has been coordinating body of the National Standards system, produced, was chartered in 1919 and accredited by a federation of independent, autonomousthe Standards Council of Canada to the National organizations working towards the furtherStandards system in 1973. It is a
4、 not-for-profit, development and improvement of voluntarynonstatutory, voluntary membership association standardization in the national interest.engaged in standards development and certification The principal objects of the Council are to foster activities. and promote voluntary standardization as
5、a means CSA standards reflect a national consensus of of advancing the national economy, benefiting theproducers and users including manufacturers, health, safety, and welfare of the public, assisting consumers, retailers, unions and professional and protecting the consumer, facilitating domestic or
6、ganizations, and governmental agencies. The and international trade, and furthering internationalstandards are used widely by industry and commerce cooperation in the field of standards.and often adopted by municipal, provincial, and A National Standard of Canada is a standard whichfederal governmen
7、ts in their regulations, particularly has been approved by the Standards Council ofin the fields of health, safety, building and Canada and one which reflects a reasonableconstruction, and the environment. agreement among the views of a number of capableIndividuals, companies, and associations acros
8、s individuals whose collective interests provide to theCanada indicate their support for CSAs standards greatest practicable extent a balance ofdevelopment by volunteering their time and skills to representation of producers, users, consumers, andCSA Committee work and supporting the Associations ot
9、hers with relevant interests, as may be appropriateobjectives through sustaining memberships. The to the subject in hand. It normally is a standardmore than 7000 committee volunteers and the 2000 which is capable of making a significant and timelysustaining memberships together form CSAs total contr
10、ibution to the national interest.membership from which its Directors are chosen. Approval of a standard as a National Standard ofSustaining memberships represent a major source of Canada indicates that a standard conforms to theincome for CSAs standards development activities. criteria and procedure
11、s established by the StandardsThe Association offers certification and testing Council of Canada. Approval does not refer to theservices in support of and as an extension to its technical content of the standard; this remains thestandards development activities. To ensure the continuing responsibili
12、ty of the accreditedintegrity of its certification process, the Association standards-development organization.regularly and continually audits and inspects products Those who have a need to apply standards arethat bear the CSA Mark. encouraged to use National Standards of CanadaIn addition to its h
13、ead office and laboratory complex whenever practicable. These standards are subject in Toronto, CSA has regional branch offices in major to periodic review; therefore, users are cautioned centres across Canada and inspection and testing to obtain the latest edition from the organizationagencies in e
14、ight countries. Since 1919, the preparing the standard.Association has developed the necessary expertise to The responsibility for approving National Standards meet its corporate mission: CSA is an independent of Canada rests with theservice organization whose mission is to provide an Standards Coun
15、cil of Canadaopen and effective forum for activities facilitating the 270 Albert Street, Suite 200exchange of goods and services through the use of Ottawa, Ontario, K1P 6N7standards, certification and related services to meet Canadanational and international needs.For further information on CSA serv
16、ices, write toCanadian Standards Association5060 Spectrum Way, Suite 100Mississauga, Ontario, L4W 5N6CanadaAlthough the intended primary application of this Standard is stated in its Scope, it is importantto note that it remains the responsibility of the users to judge its suitability for their part
17、icular purpose.Registered trade-mark of Canadian Standards AssociationCAN/CSA-ISO/IEC 14776-341:02 Part 341: Controller Commands (SCC)Information technology Small Computer System Interface-3 (SCSI-3) December 2002 Canadian Standards Association CSA/1CAN/CSA-ISO/IEC 14776-341:02Information technology
18、 SmallComputer System Interface-3(SCSI-3) Part 341: ControllerCommands (SCC)CSA PrefaceStandards development within the Information Technology sector is harmonized with internationalstandards development. Through the CSA Technical Committee on Information Technology (TCIT),Canadians serve as the Can
19、adian Advisory Committee (CAC) on ISO/IEC Joint Technical Committee 1 onInformation Technology (ISO/IEC JTC1) for the Standards Council of Canada (SCC), the ISO memberbody for Canada and sponsor of the Canadian National Committee of the IEC. Also, as a member of theInternational Telecommunication Un
20、ion (ITU), Canada participates in the International Telegraph andTelephone Consultative Committee (ITU-T).This International Standard was reviewed by the CSA TCIT under the jurisdiction of the StrategicSteering Committee on Information Technology and deemed acceptable for use in Canada. (Acommittee
21、membership list is available on request from the CSA Project Manager.) From time to time,ISO/IEC may publish addenda, corrigenda, etc. The CSA TCIT will review these documents for approvaland publication. For a listing, refer to the CSA Information Products catalogue or CSA Info Update orcontact a C
22、SA Sales representative. This Standard has been formally approved, without modification, bythe Technical Committee and has been approved as a National Standard of Canada by the StandardsCouncil of Canada.December 2002 Canadian Standards Association 2002All rights reserved. No part of this publicatio
23、n may be reproduced in any form whatsoever without the prior permissionof the publisher. ISO/IEC material is reprinted with permission. Where the words “this International Standard” appearin the text, they should be interpreted as “this National Standard of Canada”. Inquiries regarding this National
24、 Standard of Canada should be addressed to Canadian Standards Association 5060 Spectrum Way, Suite 100, Mississauga, Ontario, Canada L4W 5N6 1-800-463-6727 416-747-4044www.csa.caINTERNATIONALSTANDARDISO/IEC14776-341First edition2000-06Information technology Small Computer System Interface-3 (SCSI-3)
25、 Part 341:Controller Commands (SCC)Reference numberISO/IEC 14776-341:2000(E)INTERNATIONALSTANDARDISO/IEC14776-341First edition2000-06Information technology Small Computer System Interface-3 (SCSI-3) Part 341:Controller Commands (SCC) ISO/IEC 2000All rights reserved. Unless otherwise specified, no pa
26、rt of this publication may be reproduced or utilized in any form or by anymeans, electronic or mechanical, including photocopying and microfilm, without permission in writing from the publisher.ISO/IEC Copyright Office Case postale 56 CH-1211 Genve 20 SwitzerlandPRICE CODEXBFor price, see current ca
27、talogue14776-341 ISO/IEC:2000(E)ii IS SCSI-3 Controller CommandsPATENT STATEMENTThe International Organization for Standardization (ISO) and International Electrotechnical Commission (IEC) draw attention to the fact that it is claimed that compliance with this InternationalStandard may involve the u
28、se of patents concerning SCC.The ISO and IEC take no position concerning the evidence, validity and scope of this patent right. Theholder of this putative patent right has assured the ISO and IEC that they are willing to negotiate licencesunder reasonable and non-discriminatory terms and conditions
29、with applicants throughout the world.In this respect, the statement of the holder of the putative patent rights is registered with the ISO and IEC.Information may be obtained from:IBM CorporationIntellectual Property Licensing5600 Cottle RoadSan Jose, CA 95153Attention is drawn to the possibility th
30、at some of the elements of this International Standard may be thesubject of patent rights other than those identified above. ISO and IEC shall not be held responsible foridentifying any or all such patent rights.14776-341 ISO/IEC:2000(E)IS SCSI-3 Controller Commands iiiContentsPageForeword xIntroduc
31、tion .xi1 Scope .12 Normative references .12.1 Normative references 12.2 Approved references .12.3 References under development 13 Definitions, symbols, abbreviations, and conventions 13.1 Definitions .13.2 Abbreviations 43.3 Conventions 44 General .65 Models for systems containing arrays of devices
32、 .75.1 General .75.2 System layering model 75.2.1 SACL functions 75.2.2 Protocol conversion layer .85.2.3 Storage array conversion layer (SACL) .95.2.4 Examples of system layering variations .105.2.5 Branch of generic layers 115.2.6 Software SACL with a branch of SCSI disks 125.2.7 Branch with HBA S
33、ACL 135.2.8 Branch with bridge controller SACL .145.2.9 Branch with SACLs in multiple layers 155.3 Model for SCSI-3 storage arrays .165.3.1 SCSI storage array addressing 165.3.1.1 SCSI-3 storage array base address 165.3.1.2 Eight byte LUN structure .165.3.1.3 Component device address method .185.3.1
34、.4 Logical unit address method .185.3.1.5 Peripheral device address method 195.3.1.6 Redundancy group address method .205.3.1.7 Spare address method 205.3.1.8 Volume set address method .205.3.2 SCSI-3 storage array objects .215.3.2.1 Adding objects .215.3.2.2 Association of objects .215.3.2.3 Attach
35、ment of objects 215.3.2.4 Covering of objects .225.3.2.5 Exchanging objects .225.3.2.6 Protected objects 225.3.2.7 Removing objects 225.3.2.8 Component device 235.3.2.9 Peripheral device 235.3.2.10 P_extent 235.3.2.11 Ps_extent 235.3.2.12 Redundancy group 245.3.2.12.1 No redundancy method of check d
36、ata mapping .275.3.2.12.2 Copy redundancy method of check data mapping .2714776-341 ISO/IEC:2000(E)iv IS SCSI-3 Controller Commands5.3.2.12.3 XOR or P+Q redundancy method of check data mapping .275.3.2.12.4 Vendor specific redundancy method of check data mapping .275.3.2.13 Spares .275.3.2.14 Volume
37、 sets 285.3.3 SCSI-3 storage array operations 345.3.3.1 Rebuild operation 345.3.3.2 Recalculate operation .345.3.3.3 Regenerate operation .345.3.3.4 Verify operation .345.3.4 SCSI-3 storage array states .345.3.5 SCSI-3 storage array exception conditions 346 Commands for SCSI-3 storage array devices
38、366.1 Commands 366.2 MAINTENANCE(IN) command .376.2.1 MAINTENANCE(IN) command service actions .376.2.1.1 REPORT ASSIGNED/UNASSIGNED P_EXTENT service action 376.2.1.2 REPORT COMPONENT DEVICE service action .406.2.1.3 REPORT COMPONENT DEVICE ATTACHMENTS service 436.2.1.4 REPORT PERIPHERAL DEVICE servi
39、ce action 476.2.1.5 REPORT PERIPHERAL DEVICE ASSOCIATIONS service action 496.2.1.6 REPORT PERIPHERAL DEVICE/COMPONENT DEVICE IDENTIFIER service action 526.2.1.7 REPORT STATES service action .546.3 MAINTENANCE (OUT) commands 626.3.1 MAINTENANCE (OUT) command service actions 626.3.1.1 ADD PERIPHERAL D
40、EVICE/COMPONENT DEVICE service action .636.3.1.2 ATTACH TO COMPONENT DEVICE service action 646.3.1.3 BREAK PERIPHERIAL DEVICE/COMPONENT DEVICE service action .656.3.1.4 EXCHANGE P_EXTENT service action .666.3.1.5 EXCHANGE PERIPHERAL DEVICE/COMPONENT DEVICE service action 686.3.1.6 INSTRUCT COMPONENT
41、 DEVICE service action 696.3.1.7 REMOVE PERIPHERAL DEVICE/COMPONENT DEVICE service action .706.3.1.8 SET PERIPHERAL DEVICE/COMPONENT DEVICE IDENTIFIER service action 716.4 REDUNDANCY GROUP (IN) command .736.4.1 REDUNDANCY GROUP (IN) command service actions .736.4.1.1 REPORT REDUNDANCY GROUPS service
42、 action .736.4.1.2 REPORT UNASSIGNED REDUNDANCY GROUP SPACE service action 776.5 REDUNDANCY GROUP (OUT) command .806.5.1 REDUNDANCY GROUP (OUT) command service actions .806.5.1.1 CONTROL GENERATION OF CHECK DATA service action .816.5.1.2 CREATE/MODIFY REDUNDANCY GROUP service action .826.5.1.3 DELET
43、E REDUNDANCY GROUP service action .856.5.1.4 REBUILD P_EXTENT service action 866.5.1.5 REBUILD PERIPHERAL DEVICE service action .886.5.1.6 RECALCULATE CHECK DATA service action .916.5.1.7 VERIFY CHECK DATA service action 926.6 VOLUME SET (IN) command .956.6.1 VOLUME SET (IN) command service actions
44、.956.6.1.1 REPORT VOLUME SETS service action 956.7 VOLUME SET (OUT) command .986.7.1 VOLUME SET (OUT) command service actions .986.7.1.1 CONTROL GENERATION OF CHECK DATA service action .996.7.1.2 CONTROL WRITE OPERATIONS service action 1006.7.1.3 CREATE/MODIFY VOLUME SET service action .1016.7.1.4 D
45、ELETE VOLUME SET service action .1046.7.1.5 RECALCULATE VOLUME SET CHECK DATA service action .1056.7.1.6 VERIFY VOLUME SET CHECK DATA service action 10714776-341 ISO/IEC:2000(E)IS SCSI-3 Controller Commands v6.8 SPARE (IN) command 1116.8.1 SPARE (IN) command service actions 1116.8.1.1 REPORT P_EXTEN
46、T SPARE service action .1116.8.1.2 REPORT PERIPHERAL DEVICE/COMPONENT DEVICE SPARE service action 1146.9 SPARE (OUT) command 1176.9.1 SPARE (OUT) command service actions 1176.9.1.1 CREATE/MODIFY P_EXTENT SPARE service action .1186.9.1.2 CREATE/MODIFY PERIPHERAL DEVICE/COMPONENT DEVICE SPARE service
47、action 1216.9.1.3 DELETE SPARE service action 1226.10 Parameters for direct-access devices 1246.10.1 Mode parameters 1246.10.1.1 LUN mapping page .124Annex A SCSI-3 storage array IDENTIFY message format 126A.1 SCSI-3 storage array IDENTIFY message overview 126A.2 IDENTIFY message 126Annex B SCSI-3 s
48、torage array addressing examples .127B.1 SCSI storage array addressing examples overview .127B.2 Addressing Examples for the 8-byte LUN structure 127B.3 Addressing Examples for the 6-bit LUN structure .130Annex C Examples of check data and user data mappings 132C.1 Example XOR redundancy mapping 132
49、C.2 User data mapping examples .13314776-341 ISO/IEC:2000(E)vi IS SCSI-3 Controller CommandsTablesPage1 Addressing methods within a SCSI-3 storage array .162 Eight byte LUN structure adjustments 173 Eight byte LUN structure 174 FIRST LEVEL ADDRESSING field, SECOND LEVEL ADDRESSING field, THIRD LEVEL ADDRESSING field, and FOURTH LEVEL ADDRESSING field 185 ADDRESS METHOD 186 Logical unit addressing .197 Peripheral device addressing .198 Volume set addressing .209 Commands for SCSI storage array devices .3610 Service actions for MAINTENANCE(IN) comma