`
`for Information Technology –
`SCSI-3 Block Commands (SBC)
`
`American National Standards Institute
` CROSSROADS EXHIBIT 2061
`11 West 42nd Street
`Oracle Corp., et al v. Crossroads Systems, Inc.
`New York, New York
` IPR2014-01207 and IPR2014-1209
`10036
`
`1 of 143
`
`
`
`
`
`
`
`
`ANSI NCITS 306-1998
`
`
`
`ANSI NCITS 306-1998
`
`for Information Technology –
`SCSI-3 Block Commands (SBC)
`
`American National Standards Institute
`11 West 42nd Street
`New York, New York
`10036
`
`
`
`
`
`
`
`
`ANSI NCITS 306-1998
`
`1 of 143
`
`
`
`2 of143
`
`2 of 143
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`ANSI NCITS 306-1998
`
`American National Standard
`for Information Technology –
`SCSI-3 Block Commands (SBC)
`
`Secretariat
`Information Technology Industry Council
`
`Approved January 7, 1998
`American National Standards Institute, Inc.
`
`Abstract
`This standard specifies the functional requirements for the SCSI-3 Block Command set (SBC). SBC per-
`mits SCSI block logical units such as flexible disks, rigid disks, optical disks, etc., to attach to computers
`and provides the definition for their use.
`
`3 of 143
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`American
`National
`Standard
`
`Approval of an American National Standard requires review by ANSI that the
`requirements for due process, consensus, and other criteria for approval
`have been met by the standards developer.
`Consensus is established when, in the judgement of the ANSI Board of
`Standards Review, substantial agreement has been reached by directly and
`materially affected interests. Substantial agreement means much more than
`a simple majority, but not necessarily unanimity. Consensus requires that all
`views and objections be considered, and that a concerted effort be made
`towards their resolution.
`The use of American National Standards is completely voluntary; their
`existence does not in any respect preclude anyone, whether he has approved
`the standards or not, from manufacturing, marketing, purchasing, or using
`products, processes, or procedures not conforming to the standards.
`The American National Standards Institute does not develop standards and
`will in no circumstances give interpretation on any American National
`Standard. Moreover, no person shall have the right or authority to issue an
`interpretation of an American National Standard in the name of the American
`National Standards
`Institute. Requests
`for
`interpretations should be
`addressed to the secretariat or sponsor whose name appears on the title
`page of this standard.
`
`CAUTION NOTICE: This American National Standard may be revised or
`withdrawn at any time. The procedures of the American National Standards
`Institute require that action be taken periodically to reaffirm, revise, or
`withdraw this standard. Purchasers of American National Standards may
`receive current information on all standards by calling or writing the American
`National Standards Institute.
`
`CAUTION:
` The developers of this standard have requested that holders of patents that may be
`required 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 identify
`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 be required for the implementation of the standard, no such claims have been made. No
`further patent search is conducted by the developer or publisher in respect to any standard it pro-
`cesses. No representation is made or implied that licenses are not required to avoid infringement
`in the use of this standard.
`
`Published by
`American National Standards Institute, Inc.
`11 West 42nd Street, New York, NY 10036
`Copyright © 1998 by Information Technology Industry Council
`All rights reserved.
`No part of this publication may be reproduced in any
`form, in an electronic retrieval system or otherwise,
`without prior written permission of the publisher.
`Printed in the United States of America
`
`4 of 143
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`Contents
`
`Foreword
`Introduction
`1
`2
`2.1
`2.2
`3
`3.1
`3.1.1
`3.1.1.1
`3.1.1.2
`3.1.1.3
`3.1.1.4
`3.1.1.5
`3.1.1.6
`3.1.1.7
`3.1.1.8
`3.1.1.9
`3.1.1.10
`3.1.1.11
`3.1.1.12
`3.1.1.13
`3.1.1.14
`3.1.1.15
`3.1.1.16
`3.1.1.17
`3.1.1.18
`3.1.1.19
`3.1.2
`3.1.2.1
`3.1.2.2
`3.1.2.3
`3.1.2.4
`3.1.2.5
`3.2
`3.3
`3.3.1
`3.3.2
`3.3.3
`3.3.4
`3.3.5
`3.3.6
`3.3.7
`3.3.8
`3.3.9
`3.4
`
`Page
`..................................................................................................... viii
`.......................................................................................................xi
`Scope............................................................................................. 1
`Normative references .................................................................... 3
`Approved references ..................................................................... 3
`References under development..................................................... 3
`Definitions, symbols, and abbreviations ........................................ 3
`Definitions...................................................................................... 3
`Definitions specific to direct access devices.................................. 3
`block device................................................................................... 3
`cache memory ............................................................................... 3
`check data ..................................................................................... 3
`data-in buffer.................................................................................. 3
`data-out buffer ............................................................................... 3
`domain........................................................................................... 4
`exclusive-or.................................................................................... 4
`extent............................................................................................. 4
`host................................................................................................ 4
`logical block ................................................................................... 4
`non-volatile medium....................................................................... 4
`notch.............................................................................................. 4
`redundancy group.......................................................................... 4
`storage array controller.................................................................. 4
`storage array conversion layer (SACL).......................................... 4
`third party....................................................................................... 4
`user-accessible.............................................................................. 4
`user data........................................................................................ 4
`volatile medium.............................................................................. 4
`Definitions specific to optical memory block devices and to
`write-once block devices................................................................ 4
`blank .............................................................................................. 4
`generation...................................................................................... 4
`read-only medium.......................................................................... 4
`update............................................................................................ 4
`write-once medium ........................................................................ 5
`Symbols and abbreviations............................................................ 5
`Keywords....................................................................................... 5
`expected ........................................................................................ 5
`mandatory...................................................................................... 5
`may................................................................................................ 5
`obsolete ......................................................................................... 5
`optional .......................................................................................... 5
`reserved......................................................................................... 5
`shall ............................................................................................... 5
`should ............................................................................................ 5
`vendor-specific............................................................................... 5
`Conventions................................................................................... 5
`
`i
`
`5 of 143
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`Page
`4
`General.......................................................................................... 6
`5
`SCSI block device models............................................................. 7
`Direct-access device type model.................................................. 7
`5.1
`Removable medium....................................................................... 7
`5.1.1
`Removable medium with an attached medium changer................ 7
`5.1.1.1
`Logical blocks ................................................................................ 8
`5.1.2
`Ready state.................................................................................... 8
`5.1.3
`Power conditions ........................................................................... 8
`5.1.4
`Initialization.................................................................................. 10
`5.1.5
`Medium defects ........................................................................... 11
`5.1.6
`Cache memory ............................................................................ 11
`5.1.7
`Reservations................................................................................ 12
`5.1.8
`Seek(10) ...................................................................................... 13
`5.1.9
`Notched devices .......................................................................... 14
`5.1.10
`Rotational position locking........................................................... 14
`5.1.11
`Relative addressing ..................................................................... 14
`5.1.12
`Error reporting.............................................................................. 14
`5.1.13
`Examples..................................................................................... 15
`5.1.14
`Rotating media............................................................................. 15
`5.1.14.1
`Sequential media......................................................................... 15
`5.1.14.2
`Memory media............................................................................. 16
`5.1.14.3
`Model for XOR commands .......................................................... 16
`5.1.15
`Storage array controller supervised XOR operations .................. 16
`5.1.15.1
`Update write operation................................................................. 16
`5.1.15.1.1
`Regenerate operation.................................................................. 17
`5.1.15.1.2
`Rebuild operation......................................................................... 17
`5.1.15.1.3
`Third party XOR operations......................................................... 17
`5.1.15.2
`Update write operation................................................................. 18
`5.1.15.2.1
`Regenerate operation.................................................................. 18
`5.1.15.2.2
`Rebuild operation......................................................................... 18
`5.1.15.2.3
`Hybrid subsystem XOR operations.............................................. 19
`5.1.15.3
`Update write operation................................................................. 19
`5.1.15.3.1
`Regenerate operation.................................................................. 19
`5.1.15.3.2
`Rebuild operation......................................................................... 20
`5.1.15.3.3
`Additional array subsystem considerations ................................. 21
`5.1.15.4
`Buffer full status handling ............................................................ 21
`5.1.15.4.1
`Access to an inconsistent stripe .................................................. 21
`5.1.15.4.2
`Error handling considerations...................................................... 22
`5.1.15.4.3
`5.1.15.4.3.1 Errors during third party XOR operations .................................... 22
`5.1.15.4.3.1.1 Primary errors - errors resulting directly from the primary
`command..................................................................................... 22
`5.1.15.4.3.1.2 Secondary errors - errors resulting from the secondary
`command..................................................................................... 22
`5.1.15.4.4
`XOR data retention requirements................................................ 23
`Model for optical memory block devices...................................... 24
`5.2
`5.2.1
`Defect management .................................................................... 25
`5.2.2
`Error reporting.............................................................................. 25
`5.3
`Model for write-once block devices.............................................. 25
`5.3.1
`Logical blocks .............................................................................. 26
`5.3.2
`Initialization.................................................................................. 26
`5.3.3
`Physical medium defects............................................................. 26
`
`ii
`
`6 of 143
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`5.3.4
`6
`6.1
`6.1.1
`6.1.1.1
`6.1.1.2
`6.1.2
`6.1.3
`6.1.4
`6.1.5
`6.1.6
`6.1.7
`6.1.8
`6.1.9
`6.1.10
`6.1.11
`6.1.12
`6.1.13
`6.1.14
`6.1.15
`6.1.16
`6.1.17
`6.1.18
`6.1.19
`6.1.20
`6.1.21
`6.1.22
`6.1.23
`6.1.24
`6.1.25
`6.2
`6.2.1
`6.2.2
`6.2.3
`6.2.4
`6.2.5
`6.2.6
`6.2.7
`6.2.8
`6.2.9
`6.2.10
`6.2.11
`6.2.12
`6.2.13
`6.2.14
`6.2.15
`6.3
`7
`7.1
`7.1.1
`
`Page
`Error reporting.............................................................................. 26
`Commands for block devices....................................................... 28
`Commands for direct-access block devices................................. 28
`FORMAT UNIT command............................................................ 29
`Defect list formats ........................................................................ 34
`Initialization pattern option ........................................................... 35
`LOCK UNLOCK CACHE command............................................. 37
`PRE-FETCH command................................................................ 38
`READ(6) command...................................................................... 39
`READ(10) command.................................................................... 40
`READ CAPACITY command ....................................................... 41
`READ DEFECT DATA (10) command......................................... 42
`READ LONG command ............................................................... 44
`REASSIGN BLOCKS command .................................................. 45
`REBUILD Command.................................................................... 47
`REGENERATE command............................................................ 49
`SEEK(10) command .................................................................... 50
`SET LIMITS(10) command .......................................................... 50
`START STOP UNIT command .................................................... 51
`SYNCHRONIZE CACHE command............................................. 53
`VERIFY command ....................................................................... 54
`WRITE(6) command .................................................................... 55
`WRITE(10) command .................................................................. 56
`WRITE AND VERIFY command .................................................. 57
`WRITE LONG command.............................................................. 58
`WRITE SAME command.............................................................. 59
`XDREAD command ..................................................................... 60
`XDWRITE command.................................................................... 60
`XDWRITE EXTENDED command ............................................... 61
`XPWRITE command.................................................................... 62
`Commands for optical memory block devices.............................. 63
`ERASE(10) command.................................................................. 65
`ERASE(12) command.................................................................. 66
`MEDIUM SCAN command........................................................... 67
`READ(12) command.................................................................... 69
`READ DEFECT DATA(12) command.......................................... 70
`READ GENERATION command.................................................. 71
`READ UPDATED BLOCK(10) command..................................... 72
`SET LIMITS(12) command .......................................................... 73
`UPDATE BLOCK command......................................................... 74
`VERIFY(10) command................................................................. 75
`VERIFY(12) command................................................................. 76
`WRITE(10) command .................................................................. 76
`WRITE(12) command .................................................................. 77
`WRITE AND VERIFY(10) command............................................ 78
`WRITE AND VERIFY(12) command............................................ 79
`Commands for write-once block devices ..................................... 79
`Parameters for block devices....................................................... 82
`Parameters for direct-access block devices................................. 82
`Diagnostic parameters ................................................................. 82
`
`iii
`
`7 of 143
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`Page
`Translate address page - SEND DIAGNOSTIC .......................... 82
`Translate address page - RECEIVE DIAGNOSTIC..................... 83
`Device status page - SEND DIAGNOSTIC.................................. 84
`Device status page - RECEIVE DIAGNOSTIC............................ 85
`Log parameters............................................................................ 86
`Format status page...................................................................... 87
`Mode parameters......................................................................... 88
`Caching page............................................................................... 90
`Flexible disk page........................................................................ 93
`Format device page..................................................................... 97
`Medium types supported page .................................................... 99
`Notch and partition page............................................................ 100
`Power condition page ................................................................ 101
`Read-write error recovery page................................................. 103
`Rigid disk device geometry page............................................... 109
`Verify error recovery page ......................................................... 111
`XOR control mode page ............................................................ 112
`Parameters for optical memory block devices........................... 113
`Diagnostic parameters............................................................... 113
`Log parameters.......................................................................... 113
`Mode parameters....................................................................... 113
`Optical memory page................................................................. 115
`Parameters for write-once block devices................................... 116
`
`7.1.1.1
`7.1.1.2
`7.1.1.3
`7.1.1.4
`7.1.2
`7.1.2.1
`7.1.3
`7.1.3.1
`7.1.3.2
`7.1.3.3
`7.1.3.4
`7.1.3.5
`7.1.3.6
`7.1.3.7
`7.1.3.8
`7.1.3.9
`7.1.3.10
`7.1.4
`7.1.4.1
`7.1.4.2
`7.1.4.3
`7.1.4.4
`7.1.5
`Tables
`1
`Commands for direct-access block devices............................................... 28
`2
`FORMAT UNIT command .......................................................................... 29
`3
`FORMAT UNIT parameter list .................................................................... 31
`4
`
`
`.................................................................................... 31
`DEFECT
`LIST
`HEADER
`5
`FORMAT UNIT defect descriptor format and requirements ....................... 32
`6
`defect descriptor - Block format.................................................................. 34
`7
`
` - Bytes from index format........................................... 34
`DEFECT
`DESCRIPTOR
`8
`
` - Physical sector format ............................................. 35
`DEFECT
`DESCRIPTOR
`9
`
`
`............................................................ 35
`INITIALIZATION
`PATTERN
`DESCRIPTOR
`10
`Initialization pattern modifier....................................................................... 36
`11
`Initialization pattern type............................................................................. 36
`12
`LOCK UNLOCK CACHE command ........................................................... 37
`13
`PRE-FETCH command.............................................................................. 38
`14
`READ(6) command .................................................................................... 39
`15
`READ(10) command .................................................................................. 40
`16
`READ CAPACITY command...................................................................... 41
`17
`READ CAPACITY data .............................................................................. 42
`18
`READ DEFECT DATA (10) command ....................................................... 42
`
`iv
`
`8 of 143
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`Page
`READ DEFECT DATA (10) defect list ........................................................ 43
`READ LONG command.............................................................................. 44
`REASSIGN BLOCKS command................................................................. 45
`REASSIGN BLOCKS defect list ................................................................. 46
`REBUILD COMMAND ................................................................................ 47
`
` field ..................................................................................... 48
`PORT
`CONTROL
`REBUILD and REGENERATE parameter data.......................................... 48
`
` format ........................................................................ 49
`SOURCE
`DESCRIPTOR
`REGENERATE command .......................................................................... 49
`SEEK(10) command................................................................................... 50
`SET LIMITS(10) command......................................................................... 51
`START STOP UNIT command................................................................... 52
`
`...................................................................................... 52
`POWER
`CONDITIONS
`SYNCHRONIZE CACHE command ........................................................... 54
`VERIFY command...................................................................................... 55
`WRITE(6) command................................................................................... 56
`WRITE(10) command................................................................................. 56
`WRITE AND VERIFY command................................................................. 57
`WRITE LONG command ............................................................................ 58
`WRITE SAME command ............................................................................ 59
`XDREAD command.................................................................................... 60
`XDWRITE command .................................................................................. 60
`XDWRITE EXTENDED command.............................................................. 61
`XPWRITE command................................................................................... 63
`Commands for optical memory block devices ............................................ 64
`ERASE(10) command ................................................................................ 66
`ERASE(12) command ................................................................................ 67
`MEDIUM SCAN command ......................................................................... 67
`MEDIUM SCAN parameter list ................................................................... 68
`READ(12) command................................................................................... 70
`READ DEFECT DATA(12) command......................................................... 70
`READ DEFECT DATA(12) list header........................................................ 71
`READ GENERATION command ................................................................ 71
`Maximum generation data block................................................................. 72
`READ UPDATED BLOCK(10) command ................................................... 72
`
`19
`20
`21
`22
`23
`24
`25
`26
`27
`28
`29
`30
`31
`32
`33
`34
`35
`36
`37
`38
`39
`40
`41
`42
`43
`44
`45
`46
`47
`48
`49
`50
`51
`52
`53
`
`v
`
`9 of 143
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`Page
`54
`SET LIMITS(12) command......................................................................... 73
`55
`UPDATE BLOCK command....................................................................... 74
`56
`VERIFY command...................................................................................... 75
`57
`VERIFY(12) command ............................................................................... 76
`58
`WRITE(10) command................................................................................. 76
`59
`WRITE(12) command................................................................................. 77
`60
`WRITE AND VERIFY(10) command .......................................................... 78
`61
`WRITE AND VERIFY(12) command .......................................................... 79
`62
`Commands for write-once block devices.................................................... 80
`63
`Diagnostic page codes............................................................................... 82
`64
`Translate address page - SEND DIAGNOSTIC......................................... 82
`65
`Translate address page - RECEIVE DIAGNOSTIC ................................... 83
`66
`Device status page - SEND DIAGNOSTIC ................................................ 84
`67
`Device status page - RECEIVE DIAGNOSTIC .......................................... 85
`68
`synchronization field................................................................................... 85
`69
`Log page codes.......................................................................................... 86
`70
`Format status log page............................................................................... 87
`71 Direct-access medium-type codes ............................................................. 88
`72 Device specific parameter.......................................................................... 88
`73 Mode page codes....................................................................................... 89
`74 Caching page ............................................................................................. 90
`75 Demand read retention priority and write retention priority ........................ 91
`76
`Flexible disk page....................................................................................... 94
`77 Examples of transfer rates ......................................................................... 95
`78
`pin 34 field.................................................................................................. 96
`79
`pin 4 field.................................................................................................... 96
`80
`pin 1 field.................................................................................................... 97
`81
`Format device page.................................................................................... 97
`82 Reporting of default sector formatting support ........................................... 99
`83 Reporting of changeable sector formatting support ................................... 99
`84 Medium types supported page................................................................. 100
`85 Notch page............................................................................................... 100
`86 Power condition page............................................................................... 102
`87 Read-write error recovery page................................................................ 103
`88 Error recovery bit definitions..................................................................... 105
`
`vi
`
`10 of 143
`
`
`
`Page
`89 Combined error recovery parameter descriptions .................................... 106
`90 Rigid disk device geometry page.............................................................. 109
`91 Rotational position locking........................................................................ 110
`92 Verify error recovery page ........................................................................ 111
`93 XOR control mode page ........................................................................... 112
`94 Diagnostic page codes ............................................................................. 113
`95
`Log page codes ........................................................................................ 113
`96 Optical memory medium-type codes ........................................................ 114
`97 Optical memory block device specific parameter ..................................... 114
`98 Optical memory density codes.................................................................. 115
`99 Mode page codes ..................................................................................... 115
`100 Optical memory page................................................................................ 116
`Figures
`1
`SCSI standards - general structure .............................................................. 1
`2
`SCSI power conditions flow control (automatic switching) ........................... 9
`3
`SCSI power conditions flow control (controlled switching) ......................... 10
`4
`Power conditions flowchart....................................................................... 103
`Annexes
`A
`XOR command examples......................................................................... 117
`B
`Bibliography.............................................................................................. 126
`
`vii
`
`11 of 143
`
`
`
`Foreword (This foreword is not part of American National Standard NCITS 306-1998.)
`This SCSI command set is designed to provide efficient peer-to-peer operation of in-
`put/output logical units by an operating system using block transfers. The SCSI com-
`mand set assumes an underlying command-response protocol.
`This SCSI command set provides multiple operating systems concurrent control over
`one or more input/output logical units. However, the multiple operating systems are
`assumed to properly coordinate their actions to prevent data corruption. This SCSI
`standard provides commands that assist with coordination between multiple operat-
`ing systems. However, details of the coordination are beyond the scope of the SCSI
`command set.
`This standard defines a logica