KEMBAR78
sbc-r00 Single Block Command Scsi | PDF
0% found this document useful (0 votes)
101 views122 pages

sbc-r00 Single Block Command Scsi

single block command draft scsi

Uploaded by

al
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
101 views122 pages

sbc-r00 Single Block Command Scsi

single block command draft scsi

Uploaded by

al
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 122
WORKING X3T10 DRAFT Project 996D Revision 0 1 Nov 94 NOTE: This file is provided to facititate review and comments on the draft SCSI-3 SBC standard. It is NOT intended as a substitute for obtaining a paper copy of this document. Please contact Global, Engineering Documents at (800) 854-7179 or (303) 792-2181 to obtain a paper copy. Information Technology - SCSI-3 Block Commands (SBC) This is a draft proposed American National Standard of Accredited Standards Committee X3. As such this is not a completed standard. The X3T10 Technical Committee may modify this document as a result ‘of comments received during the public review process and the approval of this document as a standard, Use of the information contained herein is at your own risk. Permission is granted to members of X3, its technical committees, and their associated task groups to ‘reproduce this document for the purposes of X3 standardization activities without further permission, provided this notice is included. Atl other rights are reserved. Any commercial or for-profit use is strictly prohibited. ASC X3T10 SBC Technical Editor, Thomas "Rick* Tewell Sequoia Advanced Technologies, Inc. 55 Shaver Street San Rafael, CA 94901 usa Telephone: (415) 459-7978 Facsimile: (415) 459-7988 Email: thomas tewell@seqadvtech.com Reference number ISO/IEC *** : 199x ANSI X3."*" = 199% Printed November 1, 1994 9:00am 1 Nov 1994 POINTS OF CONTACT: X3T10 Chair John B, Lohmeyer NCR Corporation 41835 Acroplaza Drive Colo Spgs, CO 80816 Telephone: (719) 873-3362 Facsimile: (718) 597-8225 Email: John.lonmeyer@fteolinsco.ncr.com X3 Secretariat Lynn Barra ‘Administrator Standards Processing X3 Secretariat 1250 Eye Street, NW Suite 200 Washington, DC 20005 ‘SCSI Reffector Intemet address for subscription to the SCSI reflector: Intemet address for distribution via SCSI reflector: SCS] Bulletin Board (719) 574-0424 Document Distribution Global Engineering 15 invemess Way East, Englewood, CO 80112-5704 Aes This standard specifies the permits block devices such Provides the definition for t SS X3T10/996D Revision 0 XST10 Vice-Chair Lawrence J. Lamers Adaptec 694 South Milpitas Blvd. Milpitas, CA 95035 Telephone: (408) 957-7817 Facsimile: (408) 957-7193 Email: lamers@aol.com > Tego: wes _( sae G “OS * Cor “Tetephone: (303) 792-2181 or (800) 854-7179, Facsimile: (303) 792.2192 CT igements for the SCSI-3 Block Command set (SBC). SBC fiegibie disks, rigid disks, optical disks, etc, to attach to computers and This standard does né transport the com this standard. en > in Wngtérial related to any service delivery subsystem thal may be-used to fea ind parameter data, command response data, and status specified in PATENT STATEMENT pers of this standard have requested that holder's of patents that may be required ion of the standard, disclose such patents to the publisher. However neither the developers hof the publisher have undertaken a patent search in order to identity which, if any, patents may apply to this standard. AS of the date of publication of this standard and following calls for the identification of patents that may bbe required for the implementation of the standard, no such claims have been made. No further patent ‘search is conducted by the developer or the publisher in respect to any standard it processes. No Tepresentation is made or implied that licenses are nor required to avoid infringement in the use of this standard, Page fi Working Draft SCSI-3 SBC X3T10/996D Revision 0 ‘Nov 1994 Revision Information: ‘The following paragraphs summarize the editing work undertaken for each revision of this draft standard. Revisions are listed in teverse chronological order. This presumes that most reviewers are interested in the recent changes in this draft standard. Revision 0 (01 Nov 1994) This is the initial revision of the SBC document, & Go> Working Draft SCSI-3 SBC Page iif 1 Nov 1994 X3T10/996D Revision 0 Contents Foreword, Introduction 1Scope 2 Normative references . 2.1 Corequisite standards 2.2 Reference standards 3 Definitions, symbols and abbreviations c 3.1 Definitions specific to direct access devices é 3.1.1 cache memory 3.1.2 non-volatile medium XD 3.1.3 notch 3.1.4 user-accessible < r 3.1.5 volatile medium 3.2 Definitions specific to optical memory devices ( OQ 3.2.4 blank 3.2.2 generation 3.233 read-only medium 3.2.4 update 3.2.5 waite-once medium 3.3 Definitions specific to write-once devices 3.4 Symbols and abbreviations 4 General ST Overview fe 4.2 Conventions C 5 Block device models, A) 5.1 Ditect-access device m: 5.1.1 Removable medium, 5.1.2 Logical biocks 5.1.3 Ready state 4 5.1.4 Initialization 5.1.5 Medium Eto 1.13.2 Sequential media 5.1.13.2 Memory media 5.2 Model for optical memory devices 5.2.1 Defect management 5.2.2 Error reporting 5.3 Model for write-once devices 5.3.4 Logical blocks 5.3.2 Initialization Page iv Working Draft SCSI-3 SBC X3T10/996D Revision 0 1 Nov 1994 5.3.3 Physical medium defects 5.3.4 Error reporting 6 Commands for block device logical units 6.1 Commands for direct-access devices 6.1.1 FORMAT UNIT command 6.1.1.1 Defect tist formats 6.1.1.2 Initialization pattem option 6.1.2 LOCK UNLOCK CACHE command 6.1.3 PRE-FETCH command 6.1.4 PREVENT ALLOW MEDIUM REMOVAL command 6.1.5 READ(6) command 6.1.6 READ(10) command 6.1.7 READ CAPACITY command 6.1.8 READ DEFECT DATA command 6.1.9 READ LONG command 6.1.10 REASSIGN BLOCKS command 6.1.11 RELEASE command 6.1:14.1 Logical unit release 6.4.11.2 Extent release 6.1.11.3 Third-party release 6.1.12 RESERVE command 6.1.12.1 Logical unit reservation 6.1.12.2 Extent reservation — 6.1.12.3 Third-party reservation 6.1.12.4 Superseding reservations A } 6.1.13 REZERO UNIT command ¢ dy 6.1.14 SEARCH DATA commands 7 8.1.14.1 SEARCH DATA EQUAL commatig_7 <> 8.1.14.2 SEARCH DATA HIGH commatd “ 8.1.14.3 SEARCH DATA LOW commartd_<") 6.1.15 SEEK(6) and SEEK(10) commands” 6.1.16 SET LIMITS command 6.1.17 START STOP UNIT, 6.1.18 SYNCHRONIZE C&Gi 625 DEFECT DATA(12) command 6.2.6 READ GENERATION command 6.2.7 READ UPDATED BLOCK(10) command 6.2.8 SEARCH DATA(12) commands 6.2.9 SET LIMITS(12) command 6.2.10 UPDATE BLOCK command 6.2.11 VERIFY(10) command 6.2.12 VERIFY (12) command 6.2.13 WRITE(10) command 6.2.14 WRITE(12) command Working Draft SCSI-3 SBC. Pagev 1 Nov 1994 XST10/996D Revision 0 6.2.15 WRITE AND VERIFY(10) command 6.2.16 WRITE AND VERIFY(12) command 6.3 Commands for write-once devices 7 Parameters for block device logical units 7.4 Parameters for direct-access devices 74.4 Diagnostic parameters 1.1.4 Translate address page - SEND DIAGNOSTIC 7 74.1.2 Translate address page - RECEIVE DIAGNOSTIC 7.1.2 Log parameters 74 : 3 Mode parameters 7.4°3.1 Caching page 7.1.3.2 Flexible disk page 7.4.3.3 Format device page 7.4.3.4 Medium {ypes supported page 7.1.3.5 Notch and partition page 7.1.3.6 Read-wnte error recovery page 7.4.3.7 Rigid disk drive geometry page 7.4.3.8 Verify error recovery page CO 7.2 Parameters for optical memory devices OO 7.2.1 Diagnostic parameters / 72.2 Log parameters Aw 7.2.3 Mode parameters Qe 7.2.3.1 Optical memory page Yo 7/3 Parameters for write-once devices o NS Page vi Working Draft SCSI-3 SBC X3T10/996D Revision 0 Tables Page Table 1 - Commands for direct-access devices Table 2 - FORMAT UNIT command Table 3 - FORMAT UNIT parameter list Table 4 - Defect lst header Table 5 - FORMAT UNIT defect descriptor format and requirements, Table 6 - Defect descriotor - Block format Table 7 - Defect descriptor - Bytes from index format Table 8 - Defect descriptor - Physical sector format Table 8 - Initialization pattern descriptor Table 10 - Initialization pattem modifier Table 11 - Initialization pattem type Table 12 - LOCK UNLOCK CACHE command Table 13 - PRE-FETCH command Table 14 - PREVENT ALLOW MEDIUM REMOVAL command Table 15 - READ) command Table 16 - READ(10) command Table 17 - READ CAPACITY command Table 18 - READ CAPACITY data Table 18 - READ DEFECT DATA command Table 20 - READ DEFECT DATA defect list Table 21 - READ LONG command Table 22 - REASSIGN BLOCKS command Table 23 - REASSIGN BLOCKS defect list Table 24 - RELEASE command Table 25 - RESERVE command Table 26 - Data format of extent descriptors > ‘Table 27 - Reservation types, ( oz Table 28 - REZERO UNIT command Table 29 - SEARCH DATA commands ara Table 30 - SEARCH DATA parameter list. 7 Table 31 - SEEK(6) command Table 32 - SEEK(10) commeartt Table 33 - SET LIMITS conta Table 34 - START STOP UI Table 44 SERASE(12) command Table 45 - MEDIUM SCAN command ‘Table 46 - MEDIUM SCAN parameter list Table 47 - READ(12) command Table 48 - READ DEFECT DATA(12) command Table 49 - READ DEFECT DATA(12) list header Table 50 - READ GENERATION command Table 51 - Maximum generation data block Table 82 - READ UPDATED BLOCK(10) command Table 53 - SEARCH DATA(12) commands ‘Working Draft SCSI-3 SBC Page vii 4 Nov 1994 X2710/996D Revision 0 Table $4 - SET LIMITS(12) command Table 55 - UPDATE BLOCK command Table 86 - VERIFY command Table 57 - VERIFY(12) command Table 58 - WRITE(10) command Table 59 - WRITE(12) command ‘Table 60 - WRITE AND VERIFY(10) command, Table 61 - WRITE AND VERIFY(12) command le 62 - Commands for wite-once devices ‘Table 63 - Diagnostic page codes Table 64 - Transtate address page - SEND DIAGNOSTIC. Table 65 - Translate address page - RECEIVE DIAGNOSTIC 9 Tle Lou pgecoces A Table 67 - Direct-access mediumtype codes Table 68 - Device specific parameter 4 Table 69 - Mode page codes Table 70 - Caching page Table 71 - Demand read and write retention priority ( Table 72 - Flexible disk page Table 73 - Examples of transfer rates Se le 74 - Pin 34 field le 75 - Pin 4 field LN Table 76 Pin 24 feld CQ Table 77 - Format device page Nw Table 78 Repoting of deta sector formating support fo, 2 sy Table 79 - Reporting of changeable sector formatting sup! Table 80 - Medium types supported page Table 81 - Notch page Table 82 - Read-wrile error recovery page/“/” Table 83 - Error recovery bit definitions (~~ Table 84 - Combined error recovery pararheter deSeriptions Table 85 - Rigid cisk dive geometry page Table 86 - Rotational position lo Table 87 - Verify error reco Table 88 - Diagnostic page Table 89 - Log page codes Table 80 - Optical memor pe codes Table 81 - Optical me it Table 92 - Optical met Table 93 - Mode Table 94 - 0) Page viii Working Draft SCSI-3 SBC %3710/996D Revision 0 Foreword 1.Nov 1994 ‘The SCSI-3 Block Commands (SBC) standard is divided into seven clauses: Clause 4 is the scope. Clause 2 numerates the normative references that apply to this standard. ‘Clause 3 describes the definitions, symbols and abbreviations used in this standard. Clause 4 provides an overview of the block device class and the command set, This faust specifies the conventions used throughout the standard, Clause § describes models for the various categories of block devices Clause 6 provides the definitions of all commands unique to block provides references to the SPC standard for primary lmmond useow te lass, Clause 7 provides the definition of alf parameters unique to mi == yy MY Working Draft SCSI-3 SBC iS af Page ix 1 Nov 1994 X3T10/996D Revision 0 Introduction ‘The SCSI command set is designed to provide efficient peer-to-peer operation of input/output devices (disks, tapes, printers, etc.) by an operating system. The SCSI command set assumes an underiying ‘command-response protocol. Action on SCS! commands shall not be deemed completed until a response is received. The response shail include a status that indicates the final disposition of the ‘command. ‘The SCSI command set provides muttiple operating systems concurrent control over one or m input/output devices. However, the multiple operating systems must properly coordinate theit a data corruption will result. The SCSI standard provides commands that assist with =a multiple operating systems. However, details of the coordination are beyond the scope of t ‘command set, This standard defines a device model for SCSI-3 block devices. Also defined are SCSI same that may apply o SCSI-3 Hock devices. The tancad defines the SCSI command al hal implemented by SCSI-3 block devices. q 4 Sd Wa any techical document there may arte questions of Interpretation 46 néwprogics are implemented. The X3 Committee has established procedures to ny ni fons concerning the standards developed by the X3 organization. These procedures mi ‘Technical information Bulletins being published by X3 S MY hat developed the standard, are Steifdard. This standard, X3."*-198x, erican National Standards Institute, indard may or may not reflect the These Bulletins, while reflecting the opinion of the Techni intended solely as supplementary information to other ust 88 approved through the publication and voting p 1s not altered by these butetins. Any subsequent contents of these Technica Information Bullets, ‘Curent x3 practice is to make Technical er) ulltins available throug Global Engineering ve iene: (303)-702-2181 -or- 415 Invemess Way East (B00) 854-7179 Englewood, CO 80112-5704, << Facsimile: (303)-72-2192 Page x ‘Working Draft SCSI-3 SBC X3T10/996D Revision 0 1 Nov 1994 1 Scope This standard defines the command set extensions to facilitate operation of SCSI-3 block devices. The cclause(s) of this standard pertaining to the SCSI-3 block device class, implemented in conjunction with {the applicable clauses of SCSI-3 Primary Commands, shall fully specify the standard command set available for SCSI-3 block devices, ‘The objectives of the SCSI-3 Block Commands standard is to provide the following: a) Permits an Initiator to communicate with a to hat declares itself to be a block Peripheral device types of O-Direct-access device, 4-Write-once device, and 7-Optl device) in the device type field of the INQUIRY command response data over a Si delivery subsytem ¢ b) Define commands unique to the class of SCSI-3 block devices. 6) Define control commands to manage the operation of SCSI-3 teks Ga d) Define the differences between categories of block devices. Figure 1 is intended to show the relationship of this document to ot! ‘ot intended to imply a relationship such as a hierarchy, protocol Figure 1-SCSI-3 document road map Working Draft SCSI-3 SBC Page 1 1 Nov 1994 X3T10/996D Revision 0 ‘The term SCSI is used wherever itis not necessary to distinquish between the versions of SCSI. The ‘Small Computer System interface-2 (X3.131-1994) is referred to herein as SCSI-2 ‘The term SCSI-3 refers collectively to the following documents that fall under the jurisdiction of X3T10: SCSI-3 Parallel interface [X3T9.2/855D] SCSI-3 Interlocked Protocol (K3T9.2/856D] ‘SCSI-3 Fiber Channel Protocol [X379.2/293D] ‘SCSI-3 Serial Bus Protocol [X3T9.2/992D] SCSI-3 Generic Packetized Protocol (X3T9.2/991D] ‘SCSI-3 Architecture Model [X3T9.2/994D] ‘SCSI-3 Primary Commands [X3T9.2/9950] ‘SCSI-3 Block Commands [X3T3.2/996D] ‘SCSI-3 Stream Commands [X3T9.2/997D] ‘SCSI-3 Graphic Commands [X3T9.2/9980] 'SCSI-3 Medium Changer Commands [X3T9.2/988D} ‘SCSI-3 Controller Commands [X3T9.2/10470} ‘SCSI-3 Fast-20 Parallel Interface [X3T9.2/72720} Muttimedia Command Set (X3T9.2/1048D] Directly-Addressable Device Interface [X3T9.2/964D} ‘SCSI Common Access Method-2 [X3TS.2/990D] Z Os So Page 2 Working Draft SCSI-3 SBC X8T40/996D Revision 0 1 Nov 1994 2 Normative references 2.4 Corequisite standards The following corequisite standards contain provisions which, through reference in this text, are provisions of this American National Standard. At the time of publication the editions indicated were valid. All standards are subject to revision, and parties to agreements based on this standards are encouraged to investigate the possibility of applying the most recent editfons of the following list af standards. Members of IEC and ISO maintain registers of currently valid International Standar performs a similar function for American National Standards. ‘American Standard Code for Information Interchange (ASCII), ANS! X3.4-1977 SCSI-3 Architecture Model, X3T10/9940 ‘SCSI-3 Primary Commands, X3T10/995D 2.2 Reference standards Reference standards are listed to help implementers evaluate the operating environment for SBC devices. These standards have no, which place requirements on SBC, but they may be useful. ‘SCSI Common Access Method-2 mot xaTt ee Working Draft SCSI-3 SBC Page 3 4 Nov 1994 X3710/996D Revision 0 3 Definitions, symbols and abbreviations 3.1 Definitions specific to direct access devices 3.1.4 cache memory: A temporary (and often volatile) data storage area outside the user-accessible area. A cache memory is usually faster to access than the medium and thus has the effect of increasing data throughput by reducing the number of accesses to the medium, 3.1.2 non-volatile medium: Physical storage medium that retains data written to it for @ subsequent, read operation through @ power-on condition, An example of this is a disk device that stores di magnetic fields that do not require device power to exist o> SS 3.1.3 notch: A notch refers to all or part of the medium having a consistent set of geo rameters, Notches are used to increase storage capacity by optimizing the number of sectors en the inner and outer tracks. ° 4 3.1.4 user-accessible: The area of the medium that can be read from or waiter fo exo and WRITE commands. - 7 . 3.1.8 volatite medium: Medium that may not retain data written to i fora gubséqliént read operation through a power-on condition. An example ofthis i a silicon memofy device that loses data writen to It if device power i ost. < 3.2 Definitions specific to optical memory devices“, * 3.2.1 blank: The logical block contains no infe tak ‘the target, or is written with a 3.2.2 generation: Indicates a relative revision leve) of/a logical block that has been updated via the UPDATE BLOCK command. A logical blot associated with it 3.2.3 read-only medium: Thistixmedibnrthat may not be written by the initiator. The mi data prepared in a manner fot defined by this Intemational Standard. Sep oval block without destroying the previous data. After a block has been updated, a acount the most recent generation of the data. Earier generations are / ias/never been updated has only one generation patiom thal appears tothe target as no data ical block is considered ready for a write operation. : - L still available after 325 mz This és medium that may be written only once by the initiator. Logical blocks ‘on wai have not been written ate considered blank. Logical blocks on write-once media th nwnitten may not be written again. 33 Definition ‘specific to write-once devices Page 4 Working Draft SCSI-3 SBC XST10/996D Revision 0 3.4 Symbols and abbreviations cos eg. he. vo 1D LsB MsB scsi Scsi2 SCSI SPC ‘command descriptor block for example (lustrative) that is (additional explanation) inpuvoutput identifier least si jcant bit most significant bit either SCSL-2 or SCSI-3 the Small Computer System Interface-2 (ANSI X3.131-1994) the Small Computer System Interface-3 SCSI-3 Primary Command Set standard Working Draft SCSI-3 SBC 4 Nov 1994 Page § 1 Nov 1994 X3T10/996D Revision 0 ‘SCSI logical units which conform to this standard are referred to as block devices. This includes the category of devices commonly referred to as flexible disks, rigid disks, removable rigid disks, erasable optical devices, write once optical devices and read only optical devices (excluding CD-ROM type devices which is defined by the SCSI-3 Multimedia Command Set stanard).. ‘The common attribute of block devices is that they are block addressable. That is to say that addressed on the device in groups referred to as logical blocks. The number of bytes of data a single logical block is known as the block length. The block length is almost always gt byte and is typically (bul by no means always) a multiple of §12 bytes. in addition, a logt Not necessarily bear any relation tothe physical back size of the storage medium, =. Z Each logical block has a block length associated with it. This means that the blo: fobtie medium can change from logical block to logical block. However, by convention thé bc aly eemains Constant over the entire eapacily ofthe medium. oo the SCSI-3 Primary Command Set (SPC) standards. This specications intends tobe used in conjunction wth the SCSI ore (SAND and 4.2 Conventions x English meaning. These words and terms are det iSe 3 oF in the text where they first appear. Words nave he nara technics English ses an

You might also like