Full Material for Scsi

download Full Material for Scsi

of 362

Transcript of Full Material for Scsi

  • 8/13/2019 Full Material for Scsi

    1/361

    SCSI Commands Reference Manual

    Parallel SCSI

    Fibre Channel (FC)

    Serial Attached SCSI (SAS)

    Rev. A

  • 8/13/2019 Full Material for Scsi

    2/361

  • 8/13/2019 Full Material for Scsi

    3/361

    SCSI Commands Reference Manual

    Parallel SCSI

    Fibre Channel (FC)

    Serial Attached SCSI (SAS)

    Rev. A

  • 8/13/2019 Full Material for Scsi

    4/361

    2006, Seagate Technology LLC All rights reserved Publication number: 100293068, Rev. A February 2006Seagate and Seagate Technology are registered trademarks of Seagate Technology LLC.SeaTools, SeaFONE, SeaBOARD, SeaTDD, and the Wave logo are either registered trade-marks or trademarks of Seagate Technology LLC. Other product names are registered trade-marks or trademarks of their owners.

    Seagate reserves the right to change, without notice, product offerings or specifications. Nopart of this publication may be reproduced in any form without written permission of SeagateTechnology LLC.

  • 8/13/2019 Full Material for Scsi

    5/361

    SCSI Commands Reference Manual, Rev. A iii

    Revision status summary sheet

    Revision Date Sheets Affected

    Rev. A 02/14/06 All.

  • 8/13/2019 Full Material for Scsi

    6/361

    iv SCSI Commands Reference Manual, Rev. A

  • 8/13/2019 Full Material for Scsi

    7/361

    SCSI Commands Reference Manual, Rev. A v

    Table of ContentsTable of Contents .............................................................................................................................. v

    List of Tables .................................................................................................................................... xi

    1.0 Definitions, symbols, abbreviations, keywords, and conventions .............................................. 1 1.1 Definitions .................................................................................................................................... 2 1.2 Symbols and abbreviations ........................................................................................................ 12 1.3 Keywords ................................................................................................................................... 14 1.4 Conventions ............................................................................................................................... 15

    2.0 General Concepts ........................................................................................................................... 17

    2.1 Command Descriptor Block (CDB) ............................................................................................ 18 2.1.1 CDB usage and structure ............................................................................................... 18 2.1.2 The fixed length CDB formats ......................................................................................... 18 2.1.3 The variable length CDB formats .................................................................................... 22

    2.2 Common CDB fields .................................................................................................................. 24 2.2.1 Operation Code .............................................................................................................. 24 2.2.2 Service action ................................................................................................................. 24 2.2.3 Logical block address ..................................................................................................... 24 2.2.4 Transfer length ................................................................................................................ 25 2.2.5 Parameter list length ....................................................................................................... 25 2.2.6 Allocation length ............................................................................................................. 25 2.2.7 Control ............................................................................................................................ 26 2.2.8 Grouping function ........................................................................................................... 27

    2.3 Parameter rounding ................................................................................................................... 28 2.4 Sense data ................................................................................................................................. 29

    2.4.1 Sense data introduction .................................................................................................. 29 2.4.1.1 Descriptor format sense data ............................................................................. 30

    2.4.1.1.1 Descriptor format sense data overview ........................................................ 30 2.4.1.1.2 Information sense data descriptor ................................................................ 32 2.4.1.1.3 Command-specific information sense data descriptor ................................. 33 2.4.1.1.4 Sense key specific sense data descriptor .................................................... 34 2.4.1.1.5 Field replaceable unit sense data descriptor ............................................... 38 2.4.1.1.6 Vendor specific sense data descriptors ....................................................... 38

    2.4.1.2 Fixed format sense data .................................................................................... 39 2.4.1.3 Current errors ..................................................................................................... 40

    2.4.1.4 Deferred errors ................................................................................................... 40 2.4.1.5 Sense key and sense code definitions ............................................................... 42 2.4.1.6 Additional Sense and Additional Sense Qualifier codes .................................... 43

    3.0 Command Reference ...................................................................................................................... 51 3.1 CHANGE DEFINITION command ............................................................................................. 54 3.2 COMPARE command ................................................................................................................ 56 3.3 COPY command ........................................................................................................................ 56 3.4 COPY AND VERIFY command ................................................................................................. 56 3.5 FORMAT UNIT command ......................................................................................................... 57

  • 8/13/2019 Full Material for Scsi

    8/361

    vi SCSI Commands Reference Manual, Rev. A

    3.5.1 FORMAT UNIT command overview ................................................................................ 57 3.5.2 FORMAT UNIT parameter list .........................................................................................60

    3.5.2.1 FORMAT UNIT parameter list overview .............................................................60 3.5.3 Parameter list header ...................................................................................................... 60 3.5.4 Initialization pattern descriptor ........................................................................................64 3.5.5 Address descriptor formats ............................................................................................. 66

    3.5.5.1 Address descriptor formats overview .................................................................66 3.5.5.2 Short block format address descriptor ................................................................ 67

    3.5.5.3 Long block format address descriptor ................................................................ 67 3.5.5.4 Bytes from index format address descriptor .......................................................68 3.5.5.5 Physical sector format address descriptor .......................................................... 69

    3.6 INQUIRY command ................................................................................................................... 70 3.6.1 INQUIRY command introduction .....................................................................................70 3.6.2 Standard INQUIRY data ..................................................................................................72 3.6.3 SCSI Parallel Interface specific INQUIRY data ...............................................................78 3.6.4 Vital product data ............................................................................................................79

    3.7 LOCK-UNLOCK Cache (10) command ......................................................................................80 3.8 LOCK-UNLOCK Cache (16) command ......................................................................................80 3.9 LOG SELECT command ............................................................................................................81 3.10 LOG SENSE command ..............................................................................................................84 3.11 MODE SELECT(6) command .................................................................................................... 86 3.12 MODE SELECT(10) command ..................................................................................................88 3.13 MODE SENSE(6) command ......................................................................................................89

    3.13.1 MODE SENSE(6) command introduction .......................................................................89 3.13.1.1 Current values ....................................................................................................90 3.13.1.2 Changeable values ............................................................................................. 91 3.13.1.3 Default values ..................................................................................................... 91 3.13.1.4 Saved values ...................................................................................................... 91 3.13.1.5 Initial responses ..................................................................................................91

    3.14 MODE SENSE(10) command ....................................................................................................92 3.15 PERSISTENT RESERVE IN command .....................................................................................93

    3.15.1 PERSISTENT RESERVE IN command introduction ...................................................... 93 3.15.2 READ KEYS service action ............................................................................................. 93

    3.15.3 READ RESERVATION service action ............................................................................94 3.15.3.1 READ RESERVATION service action introduction ............................................94 3.15.3.2 PERSISTENT RESERVE IN parameter data for READ RESERVATION ..........94 3.15.3.3 Persistent reservations scope ............................................................................96 3.15.3.4 Persistent reservations type ............................................................................... 97

    3.15.4 REPORT CAPABILITIES service action .........................................................................97 3.15.5 READ FULL STATUS service action ............................................................................ 100

    3.16 PERSISTENT RESERVE OUT command ...............................................................................103 3.16.1 PERSISTENT RESERVE OUT command introduction ................................................103 3.16.2 PERSISTENT RESERVE OUT service actions ............................................................104 3.16.3 Basic PERSISTENT RESERVE OUT parameter list ....................................................105 3.16.4 PERSISTENT RESERVE OUT command with REGISTER AND MOVE service ......... 108

    3.17 PRE-FETCH (10) command, PRE-FETCH (16) command ......................................................110

    3.18 PREVENT ALLOW MEDIUM REMOVAL command ................................................................ 110 3.19 READ (6) command ................................................................................................................. 111 3.20 READ (10) command ............................................................................................................... 113 3.21 READ (12) command ............................................................................................................... 118 3.22 READ (16) command ............................................................................................................... 119 3.23 READ (32) command ............................................................................................................... 120 3.24 READ BUFFER command .......................................................................................................122

    3.24.1 READ BUFFER command introduction ........................................................................ 122 3.24.1.1 Vendor specific mode (01h) ..............................................................................123

  • 8/13/2019 Full Material for Scsi

    9/361

    SCSI Commands Reference Manual, Rev. A vii

    3.24.1.2 Data mode (02h) .............................................................................................. 123 3.24.1.3 Descriptor mode (03h) ..................................................................................... 123 3.24.1.4 Echo buffer mode (0Ah) ................................................................................... 124 3.24.1.5 Echo buffer descriptor mode (0Bh) .................................................................. 125 3.24.1.6 Enable expander communications protocol and Echo buffer (1Ah) ................. 125

    3.25 READ CAPACITY (10) command ............................................................................................ 126 3.25.1 READ CAPACITY (10) overview .................................................................................. 126 3.25.2 READ CAPACITY (10) parameter data ........................................................................ 127

    3.26 READ CAPACITY (16) command ............................................................................................ 128 3.26.1 READ CAPACITY (16) command overview ................................................................. 128 3.26.2 READ CAPACITY (16) parameter data ........................................................................ 129

    3.27 READ DEFECT DATA (10) command ..................................................................................... 130 3.27.1 READ DEFECT DATA (10) command overview .......................................................... 130 3.27.2 READ DEFECT DATA (10) parameter data ................................................................. 131

    3.28 READ DEFECT DATA (12) command ..................................................................................... 133 3.29 READ LONG (10) command ................................................................................................... 135 3.30 READ LONG (16) command ................................................................................................... 136 3.31 REASSIGN BLOCKS command .............................................................................................. 137

    3.31.1 REASSIGN BLOCKS command overview .................................................................... 137 3.31.2 REASSIGN BLOCKS parameter list ............................................................................. 138

    3.32 RECEIVE DIAGNOSTIC RESULTS command ....................................................................... 140 3.33 RELEASE(6) command ........................................................................................................... 143 3.34 RELEASE (10) command ........................................................................................................ 144

    3.34.1 RELEASE(10) command introduction .......................................................................... 144 3.34.2 Logical unit release ....................................................................................................... 144 3.34.3 Third-party release ........................................................................................................ 144

    3.35 REPORT DEVICE IDENTIFIER command .............................................................................. 146 3.36 REPORT LUNS command ...................................................................................................... 148 3.37 REQUEST SENSE command ................................................................................................. 151

    3.37.1 Sense Key Specific field ............................................................................................... 155 3.38 RESERVE(6) command .......................................................................................................... 158 3.39 RESERVE (10) command ....................................................................................................... 159

    3.39.1 RESERVE (10) command introduction ......................................................................... 159

    3.39.2 Logical unit reservation ................................................................................................ 159 3.39.3 Third-party reservation .................................................................................................. 160 3.39.4 Superseding reservations ............................................................................................. 160

    3.40 REZERO UNIT command ........................................................................................................ 162 3.41 SEEK command ...................................................................................................................... 163 3.42 SEEK EXTENDED command .................................................................................................. 164 3.43 SEND DIAGNOSTIC command ............................................................................................... 165 3.44 SET DEVICE IDENTIFIER command ...................................................................................... 168 3.45 START STOP UNIT command ................................................................................................ 170 3.46 SYNCHRONIZE CACHE (10) command ................................................................................. 172 3.47 SYNCHRONIZE CACHE (16) command ................................................................................. 173 3.48 TEST UNIT READY command ................................................................................................ 174 3.49 VERIFY (10) command ............................................................................................................ 175

    3.50 VERIFY (12) command ............................................................................................................ 185 3.51 VERIFY (16) command ............................................................................................................ 186 3.52 VERIFY (32) command ............................................................................................................ 187 3.53 WRITE (6) command ............................................................................................................... 189 3.54 WRITE (10) command ............................................................................................................. 190 3.55 WRITE (12) command ............................................................................................................. 194 3.56 WRITE (16) command ............................................................................................................. 195 3.57 WRITE (32) command ............................................................................................................. 196 3.58 WRITE AND VERIFY (10) command ...................................................................................... 198

  • 8/13/2019 Full Material for Scsi

    10/361

    viii SCSI Commands Reference Manual, Rev. A

    3.59 WRITE AND VERIFY (12) command .......................................................................................199 3.60 WRITE AND VERIFY (16) command .......................................................................................200 3.61 WRITE AND VERIFY (32) command .......................................................................................201 3.62 WRITE BUFFER command .....................................................................................................203

    3.62.1 WRITE BUFFER command introduction .......................................................................203 3.62.2 Combined header and data mode (00h) ....................................................................... 204 3.62.3 Vendor specific mode (01h) ..........................................................................................204 3.62.4 Data mode (02h) ...........................................................................................................204

    3.62.5 Download microcode mode (04h) ................................................................................. 205 3.62.6 Download microcode and save mode (05h) ..................................................................205 3.62.7 Download microcode with offsets mode (06h) ..............................................................205 3.62.8 Download microcode with offsets and save mode (07h) ...............................................206 3.62.9 Write data to echo buffer mode (0Ah) ........................................................................... 207 3.62.10 Enable expander communications protocol and Echo buffer mode (1Ah) ....................207 3.62.11 Disable expander communications protocol mode (1Bh) .............................................. 207 3.62.12 Download application log mode (1Ch) .......................................................................... 207

    3.63 WRITE LONG (10) command ..................................................................................................211 3.64 WRITE LONG (16) command ..................................................................................................212 3.65 WRITE SAME (10) command ..................................................................................................213 3.66 WRITE SAME (16) command ..................................................................................................215 3.67 WRITE SAME (32) command ..................................................................................................216

    4.0 Parameters for all device types ....................................................................................................219 4.1 Diagnostic parameters .............................................................................................................220

    4.1.1 Diagnostic page format and page codes for all device types ........................................ 220 4.1.2 Supported diagnostic pages (00h) ................................................................................221 4.1.3 Translate Address page (40h) .......................................................................................222 4.1.4 SCSI Enclosure Services pages (01h - 2Fh) ................................................................224

    4.2 Log parameters ........................................................................................................................225 4.2.1 Log page structure and page codes for all device types ............................................... 225 4.2.2 Application Client log page (0Fh) .................................................................................. 230 4.2.3 Background Scan Results log page (15h) ..................................................................... 232

    4.2.3.1 Medium Scan Parameter .................................................................................. 235 4.2.4 Cache Statistics page (37h) ..........................................................................................237 4.2.5 Error counter log pages (WRITE, READ, and VERIFY, 02h, 03h, and 05h) ................. 237 4.2.6 Factory Log page (3Eh) ................................................................................................239 4.2.7 Informational Exceptions log page (2Fh) ...................................................................... 239 4.2.8 Non- Medium Error log page (06h) ................................................................................ 241 4.2.9 Self- Test Results log page (10h) ...................................................................................242 4.2.10 Start- Stop Cycle Counter log page (0Eh) ...................................................................... 245 4.2.11 Supported Log Pages log page (00h) ...........................................................................248 4.2.12 Tempera ture log page (0Dh) .........................................................................................249

    4.3 Mode parameters ..................................................................................................................... 251 4.3.1 Mode parameters overview ...........................................................................................251 4.3.2 Mode parameter list format ...........................................................................................251 4.3.3 Mode parameter header formats ...................................................................................251

    4.3.4 Mode parameter block descriptor formats .....................................................................253 4.3.4.1 General block descriptor format .......................................................................253 4.3.5 Mode page and subpage formats and page codes .......................................................254 4.3.6 Mode parameter block descriptors ................................................................................ 256

    4.3.6.1 Mode parameter block descriptors overview ....................................................256 4.3.6.2 Short LBA mode parameter block descriptor ....................................................257 4.3.6.3 Long LBA mode parameter block descriptor .................................................... 258

    4.3.7 Background Control mode page (1Ch) .........................................................................260 4.3.8 Caching Parameters page (08h) ...................................................................................261

  • 8/13/2019 Full Material for Scsi

    11/361

    SCSI Commands Reference Manual, Rev. A ix

    4.3.9 Cont rol mode page (0Ah) ............................................................................................. 264 4.3.10 Cont rol Extension mode page (0Ah) ............................................................................. 269 4.3.11 Disconnect- Reconnect mode page (02h) ..................................................................... 270

    4.3.11.1 Disconnect-Reconnect mode page for Parallel SCSI ...................................... 270 4.3.11.2 Disconnect-Reconnect mode page for FCP (02h) ........................................... 273

    4.3.11.2.1 Overview and format of Disconnect-Reconnect mode page for FCP ........ 273 4.3.11.3 Disconnect-Reconnect mode page for SAS (02h) ........................................... 275

    4.3.11.3.1 Disconnect-Reconnect mode page overview ............................................. 275

    4.3.12 Format Parameters page (03h) .................................................................................... 278 4.3.13 Informational Exceptions Control mode page (1Ch) ..................................................... 280 4.3.14 Notch page (0Ch) ......................................................................................................... 283 4.3.15 Power Condition mode page (1Ah) ............................................................................... 285 4.3.16 Read-Write Error Recovery mode page (01h) .............................................................. 287 4.3.17 Protocol Specific Logical Unit mode page (18h) ........................................................... 293

    4.3.17.1 Protocol specific parameters ............................................................................ 293 4.3.17.1.1 Protocol specific parameters introduction .................................................. 293

    4.3.17.2 Fibre Channel Logical Unit Control mode page (18h) ...................................... 295 4.3.17.3 SAS Protocol-Specific Logical Unit mode page ............................................... 296

    4.3.17.3.1 Protocol-Specific Logical Unit mode page - short format (18h) ................. 296 4.3.18 Protocol Specific Port mode page (19h) ....................................................................... 297

    4.3.18.1 Port Control Mode page (19h) for Parallel SCSI .............................................. 298 4.3.18.1.1 Margin control subpage ............................................................................. 300 4.3.18.1.2 Saved training configuration values subpage ............................................ 302 4.3.18.1.3 Negotiated settings subpage ..................................................................... 304 4.3.18.1.4 Report transfer capabilities subpage ........................................................ 305

    4.3.18.2 Port Control Mode page (19h) for Fibre Channel (FC) ..................................... 305 4.3.18.3 Protocol Specific Port Mode page (19h) for Serial Attached SCSI (SAS) ........ 307

    4.3.18.3.1 Protocol-specific Port mode page overview ............................................... 307 4.3.18.3.2 Protocol-Specific Port mode page - short format ....................................... 308 4.3.18.3.3 Protocol-Specific Port mode page - Phy Control And Discover subpage (19h) 310

    4.3.19 Rigid Drive Geometry Parameters page (04h) ............................................................. 312 4.3.20 Unit Attention parameters page (00h) ........................................................................... 314 4.3.21 Verify Error Recovery mode page (07h) ....................................................................... 316

    4.4 Vital product data parameters .................................................................................................. 318 4.4.1 Vital product data parameters overview and page codes ............................................. 318 4.4.2 ASCII Information VPD page (01h - 7Fh) ..................................................................... 319 4.4.3 Date Code page (C1h) .................................................................................................. 320 4.4.4 Device Behavior page (C3h) ......................................................................................... 321 4.4.5 Extended INQUIRY Data VPD page (86h) ................................................................... 322 4.4.6 Firmware Numbers page (C0h) .................................................................................... 324 4.4.7 Device Identification VPD page (83h) ........................................................................... 327 4.4.8 Jumper Settings page (C2h) ......................................................................................... 330 4.4.9 Supported Vital Product Data pages (00h) ................................................................... 333 4.4.10 Unit Serial Number page (80h) ..................................................................................... 334

    Index ....................................................................................................... 335

  • 8/13/2019 Full Material for Scsi

    12/361

    x SCSI Commands Reference Manual, Rev. A

  • 8/13/2019 Full Material for Scsi

    13/361

    SCSI Commands Reference Manual, Rev. A xi

    List of Tables

    Table 1. ISO v American Numbering Conventions .................................................................................. 15Table 2. Typical CDB for 6-byte commands ............................................................................................ 18Table 3. Typical CDB for 10-byte commands .......................................................................................... 19Table 4. Typical CDB for 12-byte commands .......................................................................................... 19Table 5. Typical CDB for 16-byte commands .......................................................................................... 20Table 6. Typical CDB for long LBA 16-byte commands .......................................................................... 21Table 7. Typical variable length CDB ...................................................................................................... 22Table 8. Typical variable length CDB for long LBA 32-byte commands .................................................. 23

    Table 9. OPERATION CODE byte .......................................................................................................... 24Table 10. Group Code values .................................................................................................................... 24Table 11. Control Byte ............................................................................................................................... 26Table 12. Sense data response codes ...................................................................................................... 29Table 13. Descriptor format sense data ..................................................................................................... 30Table 14. Sense data descriptor format ..................................................................................................... 31Table 15. Sense data descriptor types ...................................................................................................... 31Table 16. Information sense data descriptor format .................................................................................. 32Table 17. Command-specific information sense data descriptor format .................................................... 33Table 18. Sense key specific sense data descriptor format ...................................................................... 34Table 19. Sense key specific field definitions ............................................................................................ 35

    Table 20. Field pointer sense key specific data ......................................................................................... 35Table 21. Actual retry count sense key specific data ................................................................................. 36Table 22. Progress indication sense key specific data .............................................................................. 37Table 23. Segment pointer sense key specific data .................................................................................. 37Table 24. Field replaceable unit sense data descriptor format .................................................................. 38Table 25. Vendor specific sense data descriptor format ............................................................................ 38Table 26. Fixed format sense data ............................................................................................................ 39Table 27. Sense key descriptions .............................................................................................................. 42Table 28. Additional Sense and Additional Sense Qualifier codes ............................................................ 43Table 29. CHANGE DEFINITION command ............................................................................................. 54Table 30. Definition parameter field ........................................................................................................... 54

    Table 31. FORMAT UNIT command ......................................................................................................... 57Table 32. FORMAT UNIT command address descriptor usage ................................................................ 59Table 33. FORMAT UNIT parameter list ................................................................................................... 60Table 34. Short parameter list header ....................................................................................................... 61Table 35. Long parameter list header ........................................................................................................ 61Table 36. FMTPINFO bit, RTO_REQ bit, and PROTECTION FIELDS USAGE field ................................ 61Table 37. Initialization pattern descriptor ................................................................................................... 64Table 38. Initialization pattern modifier ( IP MODIFIER) field ..................................................................... 65

  • 8/13/2019 Full Material for Scsi

    14/361

    xii SCSI Commands Reference Manual, Rev. A

    Table 39. initialization pattern type field ..................................................................................................... 66Table 40. Address descriptor formats ........................................................................................................ 67Table 41. Short block format address descriptor (000b) ............................................................................67Table 42. Long block format address descriptor (011b) .............................................................................67Table 43. Bytes from index format address descriptor (100b) ................................................................... 68Table 44. Physical sector format address descriptor (101b) ...................................................................... 69Table 45. INQUIRY command ................................................................................................................... 70

    Table 46. Standard INQUIRY data format .................................................................................................72Table 47. PERIPHERAL QUALIFIER ........................................................................................................ 73Table 48. PERIPHERAL DEVICE TYPE .................................................................................................... 74Table 49. VERSION field codes .................................................................................................................75Table 50. Taret Port GroupSupport codes .................................................................................................76Table 51. BQue and CmdQue bit combinations .........................................................................................77Table 52. SPI-specific standard INQUIRY bits ...........................................................................................78Table 53. ADDR and WBUS bit relationships ............................................................................................ 79Table 54. CLOCKING codes ......................................................................................................................79Table 55. LOG SELECT command ............................................................................................................81Table 56. Page Control field values ...........................................................................................................82Table 57. LOG SENSE command ..............................................................................................................84Table 58. MODE SELECT(6) command ....................................................................................................86Table 59. Mode page policies ....................................................................................................................86Table 60. MODE SELECT(10) command ..................................................................................................88Table 61. MODE SENSE(6) command ......................................................................................................89Table 62. Page control ( PC) field ...............................................................................................................89Table 63. Mode page code usage for all devices .......................................................................................90Table 64. MODE SENSE(10) command .................................................................................................... 92Table 65. PERSISTENT RESERVE IN command .....................................................................................93Table 66. PERSISTENT RESERVE IN service action codes .................................................................... 93Table 67. PERSISTENT RESERVE IN parameter data for READ KEYS ..................................................94Table 68. PERSISTENT RESERVE IN parameter data for READ RESERVATION with reservation .......95Table 69. PERSISTENT RESERVE IN data for READ RESERVATION with no reservation held ............ 95Table 70. Persistent reservation scope codes ........................................................................................... 96Table 71. Persistent reservation type codes ..............................................................................................97Table 72. PERSISTENT RESERVE IN parameter data for REPORT CAPABILITIES .............................. 98Table 73. Persistent Reservation Type Mask format ................................................................................. 99Table 74. PERSISTENT RESERVE IN parameter data for READ FULL STATUS ................................. 100Table 75. PERSISTENT RESERVE IN full status descriptor format ........................................................101Table 76. PERSISTENT RESERVE OUT command ...............................................................................103Table 77. PERSISTENT RESERVE OUT service action codes ..............................................................104Table 78. PERSISTENT RESERVE OUT parameter list .........................................................................105Table 79. PERSISTENT RESERVE OUT specify initiator ports additional parameter data ....................106Table 80. PERSISTENT RESERVE OUT service actions and valid parameters (part 1 of 2) .................107Table 81. PERSISTENT RESERVE OUT command with REGISTER AND MOVE service .................... 108Table 82. PERSISTENT RESERVE OUT service actions and valid parameters (part 2 of 2) .................108Table 83. READ (6) command ................................................................................................................. 111Table 84. Protection information checking for READ (6) .........................................................................112Table 85. READ (10) command ...............................................................................................................113

  • 8/13/2019 Full Material for Scsi

    15/361

    SCSI Commands Reference Manual, Rev. A xiii

    Table 86. RDPROTECT field ................................................................................................................... 113Table 87. Force unit access for read operations ..................................................................................... 117Table 88. READ (12) command ............................................................................................................... 118Table 89. READ (16) command ............................................................................................................... 119Table 90. READ (32) command ............................................................................................................... 120Table 91. READ BUFFER command ....................................................................................................... 122Table 92. READ BUFFER MODE field .................................................................................................... 122

    Table 93. READ BUFFER header ........................................................................................................... 123Table 94. Buffer offset boundary ............................................................................................................. 124Table 95. READ BUFFER descriptor ....................................................................................................... 124Table 96. Echo buffer descriptor .............................................................................................................. 125Table 97. READ CAPACITY (10) command ............................................................................................ 126Table 98. READ CAPACITY (10) parameter data ................................................................................... 127Table 99. READ CAPACITY (16) command ............................................................................................ 128Table 100. READ CAPACITY (16) parameter data ................................................................................... 129Table 101. P_TYPE field and PROT_EN bit ..............................................................................................................129Table 102. READ DEFECT DATA (10) command ..................................................................................... 130Table 103. READ DEFECT DATA (10) parameter data ............................................................................ 131Table 104. READ DEFECT DATA (12) command ..................................................................................... 133Table 105. READ DEFECT DATA (12) parameter data ............................................................................ 134Table 106. READ LONG (10) command ................................................................................................... 135Table 107. READ LONG (16) command ................................................................................................... 136Table 108. REASSIGN BLOCKS command .............................................................................................. 137Table 109. REASSIGN BLOCKS parameter list ........................................................................................ 138Table 110. REASSIGN BLOCKS short parameter list header ................................................................... 138Table 111. REASSIGN BLOCKS long parameter list header .................................................................... 138Table 112. RECEIVE DIAGNOSTIC RESULTS command ....................................................................... 140Table 113. Diagnostic Data Bytes ............................................................................................................. 141Table 114. RELEASE(6) Command .......................................................................................................... 143Table 115. RELEASE (10) Command ....................................................................................................... 144Table 116. RELEASE(10) parameter list ................................................................................................... 145Table 117. REPORT DEVICE IDENTIFIER command .............................................................................. 146Table 118. REPORT DEVICE IDENTIFIER parameter data ..................................................................... 146Table 119. REPORT LUNS command ...................................................................................................... 148Table 120. SELECT REPORT field ........................................................................................................... 148Table 121. REPORT LUNS parameter data format ................................................................................... 149Table 122. REQUEST SENSE command ................................................................................................. 151Table 123. Response codes 70h and 71h sense data format ................................................................... 153Table 124. Field pointer bytes ................................................................................................................... 155Table 125. Actual Retry Count Bytes ......................................................................................................... 156Table 126. Progress Indication Bytes ........................................................................................................ 156Table 127. Segment pointer bytes ............................................................................................................. 156Table 128. RESERVE(6) command .......................................................................................................... 158Table 129. RELEASE (10) Command ....................................................................................................... 159Table 130. RESERVE(10) ID only parameter list ...................................................................................... 160Table 131. REZERO UNIT command (01h) .............................................................................................. 162Table 132. SEEK command (0Bh) ............................................................................................................. 163

  • 8/13/2019 Full Material for Scsi

    16/361

    xiv SCSI Commands Reference Manual, Rev. A

    Table 133. SEEK command (2Bh) .............................................................................................................164Table 134. SEND DIAGNOSTIC command ............................................................................................... 165Table 135. SELF-TEST CODE field ........................................................................................................... 166Table 136. SET DEVICE IDENTIFIER command ......................................................................................168Table 137. SET DEVICE IDENTIFIER parameter list ................................................................................ 169Table 138. START STOP UNIT command ................................................................................................170Table 139. POWER CONDITION field .......................................................................................................170

    Table 140. SYNCHRONIZE CACHE (10) command ................................................................................. 172Table 141. SYNC_NV bit ...........................................................................................................................172Table 142. SYNCHRONIZE CACHE (16) command ................................................................................. 173Table 143. TEST UNIT READY command ................................................................................................174Table 144. Preferred TEST UNIT READY responses ................................................................................ 174Table 145. VERIFY (10) command ............................................................................................................175Table 146. VRPROTECT field with BYTCHK set to zero - medium ........................................................... 176Table 147. VRPROTECT field with BYTCHK set to one - medium ............................................................179Table 148. VRPROTECT field with BYTCHK set to one - data-out buffer .................................................181Table 149. VRPROTECT field with BYTCHK set to one - byte-by-byte comparison requirements ........... 183Table 150. VERIFY (12) command ............................................................................................................185Table 151. VERIFY (16) command ............................................................................................................186Table 152. VERIFY (32) command ............................................................................................................187Table 153. WRITE (6) command ...............................................................................................................189Table 154. WRITE (10) command .............................................................................................................190Table 155. WRPROTECT field ..................................................................................................................190Table 156. Force unit access for write operations .....................................................................................193Table 157. WRITE (12) command .............................................................................................................194Table 158. WRITE (16) command .............................................................................................................195Table 159. WRITE (32) command .............................................................................................................196Table 160. WRITE AND VERIFY (10) command .......................................................................................198Table 161. WRITE AND VERIFY (12) command .......................................................................................199Table 162. WRITE AND VERIFY (16) command .......................................................................................200Table 163. WRITE AND VERIFY (32) command .......................................................................................201Table 164. WRITE BUFFER command .....................................................................................................203Table 165. WRITE BUFFER MODE field ...................................................................................................203Table 166. Application log data WRITE BUFFER format ........................................................................... 208Table 167. ERROR TYPE field ..................................................................................................................209Table 168. CODE SET field .......................................................................................................................209Table 169. ERROR LOCATION FORMAT field .........................................................................................209Table 170. WRITE LONG (10) command ..................................................................................................211Table 171. WRITE LONG (16) command ..................................................................................................212Table 172. WRITE SAME (10) command ..................................................................................................213Table 173. LBDATA bit and PBDATA bit ...................................................................................................214Table 174. WRITE SAME (16) command ..................................................................................................215Table 175. WRITE SAME (32) command ..................................................................................................216Table 176. Diagnostic page format ............................................................................................................220Table 177. Diagnostic page codes .............................................................................................................221Table 178. Supported diagnostic pages .....................................................................................................221Table 179. Translate Address pageReceive Diagnostic (40h) ...............................................................222

  • 8/13/2019 Full Material for Scsi

    17/361

    SCSI Commands Reference Manual, Rev. A xv

    Table 180. Address Field Logical Block Address Format .......................................................................... 223Table 181. Address Field Physical Sector Address Format ...................................................................... 223Table 182. SCSI Enclosure Services page ................................................................................................ 224Table 183. Log page format ....................................................................................................................... 225Table 184. Log parameter ......................................................................................................................... 226Table 185. Threshold met criteria .............................................................................................................. 227Table 186. Log page codes ....................................................................................................................... 229

    Table 187. Application client log page ....................................................................................................... 230Table 188. General usage application client parameter data .................................................................... 230Table 189. Parameter control bits for general usage parameters (0000h through 0FFFh) ....................... 231Table 190. Background Scan Results log page ......................................................................................... 232Table 191. Background Scan Results Parameter codes ........................................................................... 232Table 192. Background scanning status parameter format ....................................................................... 233Table 193. Background Scanning Status codes ........................................................................................ 234Table 194. Medium scan parameter format ............................................................................................... 235Table 195. REASSIGN STATUS FIELD .................................................................................................... 236Table 196. Cache Statistics page (37h) ..................................................................................................... 237Table 197. Error counter log page codes .................................................................................................. 237Table 198. Parameter codes for error counter log pages .......................................................................... 238Table 199. Factory Log page (3Eh) ........................................................................................................... 239Table 200. Informational Exceptions log page ........................................................................................... 239Table 201. Informational exceptions parameter codes .............................................................................. 239Table 202. Informational exceptions general parameter data ................................................................... 240Table 203. Parameter control bits for Informational exceptions log parameter (0000h) ............................ 240Table 204. Non-medium error event parameter codes .............................................................................. 241Table 205. Non-Medium Error page (06h) ................................................................................................. 241Table 206. Self- Test Results log page ....................................................................................................... 242Table 207. Self-test results log parameter format ...................................................................................... 243Table 208. Parameter control bits for self-test results log parameters ...................................................... 243Table 209. SELF-TEST RESULTS field .................................................................................................... 244Table 210. Start- Stop Cycle Counter log page .......................................................................................... 245Table 211. Parameter control bits for date of manufacture parameter (0001h) ......................................... 246Table 212. Parameter control bits for accounting date parameter (0002h) ............................................... 247Table 213. Parameter control bits for start-stop cycle counter parameters (0003h and 0004h) ................ 247Table 214. Supported log pages ................................................................................................................ 248Table 215. Temperature log page ............................................................................................................. 249Table 216. Parameter control bits for temperature parameters (0000h and 0001h) ................................. 250Table 217. Mode parameter list ................................................................................................................. 251Table 218. Mode parameter header(6) ...................................................................................................... 251Table 219. Mode parameter header(10) .................................................................................................... 252Table 220. General mode parameter block descriptor .............................................................................. 253Table 221. Page_0 mode page format ...................................................................................................... 254Table 222. SUB_PAGE mode page format ............................................................................................... 254Table 223. Mode page codes and subpage codes .................................................................................... 256Table 224. Short LBA mode parameter block descriptor ........................................................................... 257Table 225. Long LBA mode parameter block descriptor ........................................................................... 258Table 226. Background Control mode page .............................................................................................. 260

  • 8/13/2019 Full Material for Scsi

    18/361

    xvi SCSI Commands Reference Manual, Rev. A

    Table 227. Caching Parameters page (08h) .............................................................................................. 261Table 228. Cont rol mode page ................................................................................................................... 264Table 229. Task set type ( TST) field .......................................................................................................... 264Table 230. QUEUE ALGORITHM MODIFIER field ....................................................................................265Table 231. Queue error management ( QERR) field .................................................................................. 266Table 232. Unit attention interlocks control ( UA_INTLCK_CTRL) field ......................................................267Table 233. AUTOLOAD MODE field .......................................................................................................... 268

    Table 234. Control Extension mode page ..................................................................................................269Table 235. Disconnect- Reconnect mode page ..........................................................................................270Table 236. Data transfer disconnect control .............................................................................................. 272Table 237. Disconnect-Reconnect mode page (02h) .................................................................................273Table 238. Disconnect-Reconnect mode page for SAS ............................................................................. 276Table 239. Format Parameters page (03h) ................................................................................................278Table 240. Informational Exceptions Control mode page ..........................................................................280Table 241. Method of reporting informational exceptions ( MRIE) field ...................................................... 281Table 242. Notch page (0Ch) ..................................................................................................................... 283Table 243. Power Condition mode page ....................................................................................................285Table 244. Read-Write Error Recovery mode page ...................................................................................287Table 245. Combined error recovery bit descriptions ................................................................................ 289Table 246. protocol identifier values ..........................................................................................................293Table 247. Protocol Specific Logical Unit mode page ................................................................................ 293Table 248. Fibre Channel Logical Unit Control mode page (18h) ..............................................................295Table 249. SAS Protocol-Specific Logical Unit mode page subpages .......................................................296Table 250. Protocol-Specific Logical Unit mode page for SAS SSP - short format ................................... 296Table 251. Page_0 format Protocol Specific Port mode page ................................................................... 297Table 252. Sub_page format Protocol Specific Port mode page ...............................................................297Table 253. Port Control Mode page short format (19h) .............................................................................298Table 254. Port Control Mode page long format (19h) ...............................................................................299Table 255. Margin control subpage ............................................................................................................301Table 256. Saved training configuration values subpage ..........................................................................302Table 257. Negotiated settings subpage ....................................................................................................304Table 258. Report transfer capabilities subpage ........................................................................................305Table 259. Fibre Channel Interface Control page (19h) .............................................................................306Table 260. Protocol-Specific Port mode page subpages ...........................................................................308Table 261. Protocol-Specific Port mode page for SAS SSP - short format ................................................308Table 262. Protocol-Specific Port mode page SAS SSP - Phy Control And Discover subpage ................310Table 263. SAS phy mode descriptor .......................................................................................................311Table 264. Rigid Drive Geometry Parameters page (04h) .........................................................................312Table 265. Unit Attention parameters page (00h) ......................................................................................314Table 266. Verify Error Recovery mode page ............................................................................................316Table 267. Vital product data page codes ..................................................................................................318Table 268. ASCII Information VPD page ...................................................................................................319Table 269. ETF Log Date Code page (C1h) .............................................................................................. 320Table 270. Device Behavior page (C3h) ....................................................................................................321Table 271. Extended INQUIRY Data VPD page ........................................................................................322Table 272. SPT field ...................................................................................................................................322Table 273. Firmware Numbers page (C0h) ................................................................................................324

  • 8/13/2019 Full Material for Scsi

    19/361

    SCSI Commands Reference Manual, Rev. A xvii

    Table 274. Firmware Numbers page (C0h) (Applies to model families not covered by Table 273) .......... 325Table 275. Device Identification VPD page ............................................................................................... 327Table 276. Identification Descriptor ........................................................................................................... 328Table 277. Code Set .................................................................................................................................. 328Table 278. PROTOCOL IDENTIFIER values ............................................................................................ 328Table 279. ASSOCIATION field ................................................................................................................. 329Table 280. IDENTIFIER Type field ............................................................................................................ 329

    Table 281. Device Identification page example ......................................................................................... 330Table 282. Jumper Settings page (C2h) .................................................................................................... 330Table 283. Drive ID bit ............................................................................................................................... 331Table 284. Supported Vital Product Data pages ....................................................................................... 333Table 285. Unit Serial Number page (80h) ................................................................................................ 334

  • 8/13/2019 Full Material for Scsi

    20/361

    xviii SCSI Commands Reference Manual, Rev. A

  • 8/13/2019 Full Material for Scsi

    21/361

    SCSI Commands Reference Manual, Rev. A 1

    1.0 Definitions, symbols, abbreviations, keywords, and conventions

    This clause contains the definitions, symbols, abbreviations, keywords and, conventions used throughout thismanual. These items are from the American National Standards Institute T10 committee as referenced in theSCSI Primary Commands SPC-4 rev 2 draft and the SCSI Block Commands SBC -2 rev 16 draft.

    Applicable Documents:

    T10/1416-D SCSI Primary Commands - 3 (SPC-3) Revision 23

    T10/1731-D SCSI Primary Commands - 4 (SPC-4) Revision 2

    T10/xxxx-D SCSI Block Commands - 3 (SBC-3) Revision 2T10/1560-D Fibre Channel Protocol for SCSI, Third Editon (FCP-3) Revision 4

    T10/1760-D Serial Attached SCSI - 2 (SAS-2) Revision 00

    T10/1683-D SCSI Architecure Model - 4 (SAM-4) Revision 3

  • 8/13/2019 Full Material for Scsi

    22/361

    2 SCSI Commands Reference Manual, Rev. A

    1.1 Definitions

    Access control list (ACL)The data used by a SCSI target device to configure access rights for initiator ports according to the accesscontrols state of the SCSI target device.

    Access control list entry (ACE)One entry in the access control list.

    Access controlsAn optional SCSI target device feature that restricts initiator port access to specific logical units and modi-fies the information about logical units in the parameter data of the INQUIRY and REPORT LUNS com-mands.

    Access controls coordinatorThe entity within a SCSI target device that coordinates the management and enforcement of access con-trols for all logical units within the SCSI target device. The access controls coordinator is always address-able through the ACCESS CONTROLS well known logical unit and LUN 0.

    active power conditionWhen a device server is capable of responding to all of its supported commands, including media accessrequests, without delay.

    additional sense codeA combination of the ADDITIONAL SENSE CODE and ADDITIONAL SENSE CODE QUALIFIER fields inthe sense data.

    Alias listA list of alias values and their associated designations maintained by the device server and managed bythe CHANGE ALIASES command and REPORT ALIASES command.

    Alias valueA numeric value associated to a designation in the alias list and used in command or parameter data to ref-erence a SCSI target device or SCSI target port.

    Application client

    An object that is the source of SCSI commands. Further definition of an application client may be found inSAM-3.

    Attached medium changerA medium changer that is attached to and accessed through some other type of SCSI device.

    AttributeA single unit of MAM information.

    Auto contingent allegiance (ACA)The task set condition established following the return of a CHECK CONDITION status when the NACA bitis set to one in the CONTROL byte. A detailed definition of ACA may be found in SAM-3.

    Blocked task

    A task that is in the blocked state. Tasks become blocked when an ACA condition occurs. The blockedstate ends when the ACA condition is cleared. A detailed definition of the blocked task state may be foundin SAM-3.

    ByteA sequence of eight contiguous bits considered as a unit.

    CacheSee cache memory.

  • 8/13/2019 Full Material for Scsi

    23/361

    SCSI Commands Reference Manual, Rev. A 3

    Cache memoryA temporary and often volatile data storage area outside the area accessible by application clients thatmay contain a subset of the data stored in the non-volatile data storage area.

    Check dataInformation contained within a redundancy group that may allow lost or destroyed XOR-protected data tobe recreated.

    CommandA request describing a unit of work to be performed by a device server. A detailed definition of a commandmay be found in SAM-3.

    Command descriptor block (CDB)The structure used to communicate commands from an application client to a device server. A CDB mayhave a fixed length of up to 16 bytes or a variable length of between 12 and 260 bytes.

    Command standardA SCSI standard that defines the model, commands, and parameter data for a device type (e.g., SBC-2,SSC-2, SMC-2, MMC-4, or SES-2).

    Company_idSynonym for OUI.

    Control mode pageA mode page that provides controls over SCSI features (e.g., task set management and error logging) thatare applicable to all device types.

    Control Extension mode pageA mode page that provides controls over SCSI features that are applicable to all device types.

    Copy managerThe device server that receives an EXTENDED COPY command and performs the operation requested.

    Copy target deviceThe name given by the EXTENDED COPY command to a source or destination logical unit (i.e., a copytarget device is a logical unit, not a SCSI target device).

    Cyclic redundancy check (CRC)An error checking mechanism that checks data integrity by computing a polynomial algorithm basedchecksum.

    Data defect list (DLIST)A list of defects sent by the application client to the device server during a FORMAT UNIT command.

    Data-in bufferThe buffer specified by the application client to receive data from the device server during the processingof a command.

    Data-out bufferThe buffer specified by the application client to supply data that is sent from the application client to the

    device server during the processing of a command.Default protection information

    Values placed into protection information fields if an application client does not specify specific protectioninformation values.

    Deferred errorA CHECK CONDITION status and sense data that is returned as the result of an error or exception condi-tion that occurred during processing of a previous command for which GOOD, CONDITION MET, INTER-MEDIATE, and INTERMEDIATE-CONDITION MET status has already been returned.

  • 8/13/2019 Full Material for Scsi

    24/361

    4 SCSI Commands Reference Manual, Rev. A

    DesignationWhen used in reference to access controls, a name and optional identifier information that specifies aSCSI target device or SCSI target port for association with an alias value in the alias list. Otherwise, a dis-tinguishing name, identifier, or title.

    Device Identification VPD pageA VPD page that provides the means to retrieve identification information about the SCSI device, logicalunit, and SCSI port.

    Device serverAn object within a logical unit that processes SCSI tasks according to the rules of task management. Adetailed definition of a device server may be found in SAM-3.

    Device service requestA request, submitted by an application client, conveying a SCSI command to a device server. A detaileddefinition of a device service request may be found in SAM-3.

    Device service responseThe response returned to an application client by a device server on completion of a SCSI command. Adetailed definition of a device service response may be found in SAM-3.

    Device type

    The type of peripheral device (i.e., device model) implemented by the device server and indicated by thecontents of the PERIPHERAL DEVICE TYPE field in the standard INQUIRY data.

    Direct-access block deviceA device that is capable of containing data stored in blocks that each have a unique logical block address.

    Disconnect-Reconnect mode pageA mode page that provides the application client the means to tune the performance of the service deliverysubsystem.

    DomainAn I/O system consisting of a set of SCSI devices that interact with one another by means of a servicedelivery subsystem.

    ElementAn addressable physical component of a medium changer SCSI device that may serve as the location of aremovable unit of data storage medium. A detailed definition of an element may be found in SMC-2.

    Enabled task stateThe only task state in which a task may make progress towards completion. A detailed definition of theenabled task state may be found in SAM-3.

    Error correcting code (ECC)An error checking mechanism that checks data integrity and enables some errors in the data to be cor-rected.

    Exclusive-or (XOR)A Boolean arithmetic function on two binary input values that results in an output value of 1 if one and only

    one of the input values is 1.Extended Unique Identifier, a 48-bit globally unique identifier (EUI-48)

    The IEEE maintains a tutorial describing EUI-48 at http://standards.ieee.org/regauth/oui/tutorials/ EUI48.html.

    Extended Unique Identifier, a 64-bit globally unique identifier (EUI-64)The IEEE maintains a tutorial describing EUI-64 at http://standards.ieee.org/regauth/oui/tutorials/ EUI64.html.

  • 8/13/2019 Full Material for Scsi

    25/361

    SCSI Commands Reference Manual, Rev. A 5

    ExtentA fixed set of logical blocks occupying contiguous logical block addresses on a single logical unit.

    Faulted I_T nexusThe I_T nexus on which a CHECK CONDITION status was returned that resulted in the establishment ofan ACA. The faulted I_T nexus condition is cleared when the ACA condition is cleared.

    FieldA group of one or more contiguous bits, a part of a larger structure such as a CDB or sense data.

    Format corrupta vendor-specific condition in which the application client may not be able to perform read operations, writeoperations, or verify operations.

    Grown defect list (GLIST)All defects sent by the application client to the device server.

    Hard resetA condition resulting from the events defined by SAM-3 in which the SCSI device performs the hard resetoperations described in SAM-3, the standard, and the applicable command standards.

    HostA SCSI device with the characteristics of a primary computing device, typically a personal computer, work-station, server, minicomputer, mainframe computer, or auxiliary computing device. A host includes one ormore SCSI initiator devices.

    IEEE company_idSynonym for OUI.

    I_T nexusA nexus between a SCSI initiator port and a SCSI target port.

    I_T nexus lossA condition resulting from the events defined by SAM-3 in which the SCSI device performs the I_T nexusloss operations described in SAM-3, the standard, and the applicable command standards.

    I_T_L nexusA nexus between a SCSI initiator port, a SCSI target port, and a logical unit.

    I_T_L_Q nexus transactionThe information transferred between SCSI ports in a single data structure with defined boundaries (e.g., aninformation unit).

    Idle power conditionWhen a device server is capable of responding to all of its supported commands, including media accessrequests, but commands may take longer to complete than when in the active power condition.

    Implicit head of queueAn optional processing model for specified commands wherein the specified commands may be treated as

    if they had been received with a HEAD OF QUEUE task attribute.Initiator device name

    A SCSI device name of a SCSI initiator device or of a SCSI target/initiator device when operating as aSCSI initiator device.

    Initiator portSynonymous with SCSI initiator port.

  • 8/13/2019 Full Material for Scsi

    26/361

    6 SCSI Commands Reference Manual, Rev. A

    Initiator port identifierA value by which a SCSI initiator port is referenced within a SCSI domain.

    Initiator port nameA SCSI port name of a SCSI initiator port or of a SCSI target/initiator port when operating as a SCSI initia-tor port.

    Internet protocol domain nameThe name of a computer or hierarchy of computers within the domain name system defined by the IETF(see RFC 1035 and RFC 1591). The Internet Assigned Numbers Authority maintains a list of domain nameassignments at http://www.iana.org/assignments/domain-names.

    Internet protocol numberA coded value assigned to identify protocols that layer on the Internet protocol (see RFC 791). The Internetprotocol number assigned to the transmission control protocol (TCP, see RFC 793) is six. The InternetAssigned Numbers Authority maintains a list of Internet protocol number assignments at http:// www.iana.org/assignments/protocol-numbers.

    Linked commandOne in a series of SCSI commands processed by a single task that collectively make up a discrete I/Ooperation. A detailed definition of a linked command may be found in SAM-3.

    Least significant bit (LSB)In a binary code, the bit or bit position with the smallest numerical weighting in a group of bits that, whentaken as a whole, represent a numerical value (e.g., in the number 0001b, the bit that is set to one).

    Left-alignedA type of field containing ASCII data in which unused bytes are placed at the end of the field (highest off-set) and are filled with ASCII space (20h) characters.

    Logical blockA set of data bytes accessed and referenced as a unit.

    Logical block address (LBA)The value used to reference a logical block.

    Logical unitAn externally addressable entity within a SCSI target device that implements a SCSI device model andcontains a device server. A detailed definition of a logical unit may be found in SAM-3.

    Logical unit access control descriptor (LUACD)The structure within an ACE that identifies a logical unit to which access is allowed and specifies the LUNby which the logical unit is to be accessed.

    Logical unit certification list (CLIST)Defects detected by the device server during an optional certification process performed during the FOR-MAT UNIT command.

    Logical unit inventoryThe list of the logical unit numbers reported by a REPORT LUNS command.

    Logical unit number (LUN)An encoded 64-bit identifier for a logical unit. A detailed definition of a logical unit number may be found inSAM-3.

    Logical unit resetA condition resulting from the events defined by SAM-3 in which the logical unit performs the logical unitreset operations described in SAM-3, the standard, and the applicable command standards.

  • 8/13/2019 Full Material for Scsi

    27/361

    SCSI Commands Reference Manual, Rev. A 7

    MediaPlural of Medium

    MediumA physical entity that stores data in a nonvolatile manner (i.e., retained through a power cycle) in accor-dance with commands processed by the device server.

    Medium auxiliary memory (MAM)An auxiliary memory residing on a medium that is accessible to the device server (e.g., a tape cartridge).Medium auxiliary memory may be nonvolatile and independent of the main function of the device server.

    Medium changerA device that mechanizes the movement of media to and from the SCSI device that records on or readsfrom the media. A detailed definition of a medium changer may be found in SMC-2.

    Most significant bit (MSB)In a binary code, the bit or bit position with the largest numerical weighting in a group of bits that, whentaken as a whole, represent a numerical value (e.g., in the number 1000b, the bit that is set to one).

    NameA label of an object that is unique within a specified context and should never change (e.g., the term nameand worldwide identifier (WWID) may be interchangeable).

    Network address authority (NAA)A field within a name that specifies the format and length of that name. See FC-FS.

    NexusA relationship between two SCSI devices, and the SCSI initiator port and SCSI target port objects withinthose SCSI devices.

    Non-volatile cacheCache that retains data through power cycles.

    Non-volatile cache memoryCache memory that retains data through power cycles.

    Non-volatile mediumA physical storage medium that retains data written to it for subsequent read operations through powercycles (e.g., a disk within a device that stores data as magnetic field changes that do not require devicepower to exist).

    Null-paddedA type of field in which unused bytes are placed at the end of the field (i.e., highest offset) and are filledwith ASCII null (00h) characters.

    Null-terminatedA type of field in which the last used byte (i.e., highest offset) is required to contain an ASCII null (00h)character.

    One

    The logical true condition of a variable.Operation Code

    The first byte of a SCSI CDB shall contain an operation code identifying the operation being requested by the CDB.

    Organizationally unique identifier (OUI)A numeric identifier that is assigned by the IEEE such that no assigned identifiers are identical. OUI isequivalent to company_id or IEEE company_id. The IEEE prefers OUI for EUI-48 identifiers andcompany_id for EUI-64 identifiers. However, the numeric identifier is called an OUI when it is assigned bythe IEEE. The IEEE maintains a tutorial describing the OUI at http://standards.ieee.org/regauth/oui/.