Publication number: 100293068, Rev. L November 2020
Seagate, Seagate Technology and the Spiral logo are registered trademarks of Seagate Technology LLC in the United States and/or other countries. SeaTools is a trademarks of Seagate
Technology LLC or one of its affiliated companies in the United States and/or other countries. All other trademarks or registered trademarks are the property of their respective owners.
No part of this publication may be reproduced in any form without written permission of Seagate Technology LLC.
Call 877-PUB-TEK1 (877-782-8351) to request permission.
Table 1.ISO v American Numbering Conventions ......................................................................................................................36
Table 2.Typical CDB for 6-byte commands ...................................................................................................................................38
Table 3.Typical CDB for 10-byte commands .................................................................................................................................38
Table 4.Typical CDB for long LBA 16-byte commands .............................................................................................................39
Table 5.Typical CDB for 12-byte commands .................................................................................................................................39
Table 11.Sense data response codes .................................................................................................................................................46
Table 12.Descriptor format sense data .............................................................................................................................................47
Table 13.Sense data descriptor format .............................................................................................................................................48
Table 14.Sense data descriptor types ................................................................................................................................................48
Table 15.Information sense data descriptor format .....................................................................................................................49
Table 16.Command-specific information sense data descriptor format ..............................................................................49
Table 17.Sense key specific sense data descriptor format .........................................................................................................50
Table 18.Sense key specific field definitions ...................................................................................................................................51
Table 19.Field pointer sense key specific data ...............................................................................................................................51
Table 20.Actual retry count sense key specific data .....................................................................................................................52
Table 21.Progress indication sense key specific data ..................................................................................................................52
Table 22.Segment pointer sense key specific data .......................................................................................................................53
Table 23.Unit attention condition queue overflow sense key specific data .......................................................................53
Table 24.Field replaceable unit sense data descriptor format .................................................................................................54
Table 25.Progress indications sense data descriptor format ....................................................................................................54
Table 26.Vendor specific sense data descriptor format ..............................................................................................................55
Table 27.Fixed format sense data .......................................................................................................................................................56
Table 29.Additional Sense and Additional Sense Qualifier codes ..........................................................................................60
Table 30.Commands sorted by command name .........................................................................................................................65
Table 31.Commands sorted by operation code ...........................................................................................................................68
Table 32.BACKGROUND CONTROL command ...............................................................................................................................71
Table 33.BO_CTL field .............................................................................................................................................................................71
Table 35.Definition parameter field ...................................................................................................................................................72
Table 36.FORMAT UNIT command .....................................................................................................................................................74
Table 37.FORMAT UNIT command address descriptor usage ..................................................................................................76
Table 38.FFMT field description ..........................................................................................................................................................77
Table 39.FORMAT UNIT parameter list ..............................................................................................................................................78
Table 40.Short parameter list header ................................................................................................................................................79
Table 41.Long parameter list header .................................................................................................................................................79
Table 42.FMTPINFO field and PROTECTION FIELDS USAGE field ............................................................................................80
Table 44.initialization pattern type field ..........................................................................................................................................83
Table 46.Short block format address descriptor (000b) .............................................................................................................84
Table 47.Bytes from index format address descriptor (100b) ...................................................................................................85
Table 48.Bytes from index format address descriptor (100b) ...................................................................................................86
Table 49.Long block format address descriptor (011b) ..............................................................................................................87
Table 50.Bytes from index format address descriptor (100b) ...................................................................................................87
Table 51.Physical sector format address descriptor (101b) .......................................................................................................88
Table 52.GET LBA STATUS command ................................................................................................................................................89
Table 53.REPORT TYPE field ..................................................................................................................................................................90
Table 54.GET LBA STATUS parameter data ......................................................................................................................................90
Table 55.COMPLETION CONDITION field .........................................................................................................................................91
Table 56.LBA status descriptor format ..............................................................................................................................................92
Table 57.PROVISIONING STATUS field ...............................................................................................................................................92
Table 58.ADDITIONAL STATUS field ...................................................................................................................................................93
Table 59.GET LBA STATUS (32) command .......................................................................................................................................94
Table 60.GET PHYSICAL ELEMENT STATUS command ................................................................................................................95
Table 61.FILTER field ................................................................................................................................................................................96
Table 62.REPORT TYPE field ..................................................................................................................................................................96
Table 63.GET PHYSICAL ELEMENT STATUS parameter data ......................................................................................................97
Table 64.Physical element status descriptor format ....................................................................................................................98
Table 65.PHYSICAL ELEMENT TYPE field ..........................................................................................................................................99
Table 66.PHYSICAL ELEMENT HEALTH field ....................................................................................................................................99
Table 67.GET STREAM STATUS command .................................................................................................................................... 100
Table 68.GET STREAM STATUS parameter data .......................................................................................................................... 101
Table 69.Stream status descriptor format ..................................................................................................................................... 102
Table 71.Standard INQUIRY data format ....................................................................................................................................... 105
Table 73.PERIPHERAL DEVICE TYPE ................................................................................................................................................. 107
Table 74.VERSION field codes ............................................................................................................................................................ 108
Table 75.Target Port Group Support codes .................................................................................................................................. 109
Table 76.BQue and CmdQue bit combinations .......................................................................................................................... 110
Table 78.Page Control (PC) field values ......................................................................................................................................... 113
Table 79.PAGE CODE field and SUBPAGE CODE field ............................................................................................................... 114
Table 80.PCR bit, SP bit, and PC field meanings when parameter list length is zero .................................................... 115
Table 81.LOG SENSE command ........................................................................................................................................................ 117
Table 86.Page control (PC) field ........................................................................................................................................................ 122
Table 88.PERSISTENT RESERVE IN command ............................................................................................................................... 126
Table 89.PERSISTENT RESERVE IN service action codes ........................................................................................................... 126
Table 90.PERSISTENT RESERVE IN parameter data for READ KEYS .......................................................................................127
Table 91.PERSISTENT RESERVE IN data for READ RESERVATION with no reservation held ......................................... 128
Table 92.PERSISTENT RESERVE IN parameter data for READ RESERVATION with reservation ................................... 129
Table 94.Persistent reservation type codes .................................................................................................................................. 130
Table 95.PERSISTENT RESERVE IN parameter data for REPORT CAPABILITIES ................................................................. 131
Table 96.ALLOW COMMANDS field ................................................................................................................................................. 132
Table 97.Persistent Reservation Type Mask format ................................................................................................................... 133
Table 98.PERSISTENT RESERVE IN parameter data for READ FULL STATUS ...................................................................... 134
Table 99.PERSISTENT RESERVE IN full status descriptor format ............................................................................................ 135
Table 100. PERSISTENT RESERVE OUT command .......................................................................................................................... 137
Table 101. PERSISTENT RESERVE OUT service action codes ...................................................................................................... 138
Table 102. PERSISTENT RESERVE OUT parameter list ................................................................................................................... 139
Table 103. PERSISTENT RESERVE OUT specify initiator ports additional parameter data ............................................... 140
Table 104. PERSISTENT RESERVE OUT service actions and valid parameters (part 1 of 2) .............................................. 142
Table 105. PERSISTENT RESERVE OUT service actions and valid parameters (part 2 of 2) .............................................. 142
Table 106. PERSISTENT RESERVE OUT command with REGISTER AND MOVE service ...................................................... 143
Table 108. Protection information checking for READ (6) .......................................................................................................... 146
Table 113. Force unit access for read operations .......................................................................................................................... 152
Table 121. Error history BUFFER ID field ............................................................................................................................................159
Table 122. Summary of error history directory device server actions .................................................................................... 160
Table 123. BUFFER ID field and MODE SPECIFIC field meanings for the error history mode ......................................... 160
Table 124. Error history directory ........................................................................................................................................................ 161
Table 125. EHS_RETRIEVED field .......................................................................................................................................................... 162
Table 126. EHS_SOURCE field ............................................................................................................................................................... 162
SCSI Commands Reference Manual, Rev. L12
Tables
Table 127. Error history directory entry ............................................................................................................................................. 163
Table 128. BUFFER FORMAT field ........................................................................................................................................................ 163
Table 129. BUFFER SOURCE field ......................................................................................................................................................... 164
Table 134. READ CAPACITY (16) parameter data ........................................................................................................................... 169
Table 135. RC BASIS field ........................................................................................................................................................................ 169
Table 136. P_TYPE FIELD and PROT_EN bit ...................................................................................................................................... 170
Table 137. LOGICAL BLOCKS PER PHYSICAL BLOCKS EXPONENT field .................................................................................. 170
Table 138. READ DEFECT DATA (10) command ............................................................................................................................. 171
Table 139. READ DEFECT DATA (10) parameter data ................................................................................................................... 172
Table 140. READ DEFECT DATA (12) command ............................................................................................................................. 173
Table 141. READ DEFECT DATA (12) parameter data ................................................................................................................... 174
Table 142. READ LONG (10) command .............................................................................................................................................. 175
Table 143. READ LONG (16) command .............................................................................................................................................. 177
Table 145. REASSIGN BLOCKS parameter list .................................................................................................................................. 179
Table 146. REASSIGN BLOCKS short parameter list header ....................................................................................................... 179
Table 147. REASSIGN BLOCKS long parameter list header ......................................................................................................... 179
Table 153. RELEASE (10) parameter list ............................................................................................................................................. 186
Table 154. REMOVE ELEMENT AND TRUNCATE command ........................................................................................................ 187
Table 155. REPORT IDENTIFYING INFORMATION command ..................................................................................................... 188
Table 156. INFORMATION TYPE ............................................................................................................................................................ 189
Table 157. REPORT IDENTIFYING INFORMATION parameter data ...........................................................................................189
Table 158. REPORT IDENTIFYING INFORMATION SUPPORTED parameter data ................................................................. 190
Table 159. Identifying Information descriptor ................................................................................................................................ 190
Table 161. SELECT REPORT field ........................................................................................................................................................... 192
Table 162. REPORT LUNS parameter data format .......................................................................................................................... 193
Table 177. REPORT TIMESTAMP parameter data format ............................................................................................................ 207
Table 178. REQUEST SENSE command .............................................................................................................................................. 208
Table 181. RESERVE (10) ID only parameter list .............................................................................................................................. 211
Table 182. RESTORE ELEMENTS AND REBUILD command ......................................................................................................... 212
Table 183. REZERO UNIT command (01h) ........................................................................................................................................ 213
Table 185. SANITIZE service action codes ........................................................................................................................................ 215
Table 186. OVERWRITE service action parameter list ................................................................................................................... 216
Table 187. TEST field ................................................................................................................................................................................. 216
Table 188. SECURITY PROTOCOL IN command .............................................................................................................................. 218
Table 189. SECURITY PROTOCOL field in SECURITY PROTOCOL IN command ................................................................... 218
Table 190. SECURITY PROTOCOL SPECIFIC field for SECURITY PROTOCOL IN protocol 00h ......................................... 220
Table 191. Supported security protocols SECURITY PROTOCOL IN parameter data ........................................................ 221
Table 192. Certificate data SECURITY PROTOCOL IN parameter data ....................................................................................222
Table 193. Certificate data SECURITY PROTOCOL IN parameter data ....................................................................................223
Table 194. Compliance descriptor format ........................................................................................................................................ 224
Table 195. INFORMATION TYPE ............................................................................................................................................................ 224
Table 196. FIPS 140 Compliance descriptor ..................................................................................................................................... 225
Table 197. REVISION field ....................................................................................................................................................................... 226
Table 198. SECURITY PROTOCOL OUT command ......................................................................................................................... 227
Table 199. SECURITY PROTOCOL field in SECURITY PROTOCOL OUT command ............................................................... 227
Table 203. SELF-TEST CODE field ......................................................................................................................................................... 231
Table 204. SET IDENTIFYING INFORMATION command .............................................................................................................. 233
Table 205. INFORMATION TYPE code list .......................................................................................................................................... 234
Table 206. SET IDENTIFYING INFORMATION parameter list ....................................................................................................... 234
Table 207. SET TIMESTAMP command .............................................................................................................................................. 235
Table 208. SET TIMESTAMP parameter data format ..................................................................................................................... 236
Table 209. START STOP UNIT command ........................................................................................................................................... 237
Table 210. POWER CONDITION field and POWER CONDITION MODIFIER field .................................................................. 237
SCSI Commands Reference Manual, Rev. L14
Tables
Table 211. STREAM CONTROL command ......................................................................................................................................... 239
Table 212. STR_CTL field ......................................................................................................................................................................... 239
Table 213. STREAM CONTROL parameter data .............................................................................................................................. 240
Table 217. TEST UNIT READY command ........................................................................................................................................... 244
Table 218. Preferred TEST UNIT READY responses ........................................................................................................................ 244
Table 223. VRPROTECT field with BYTCHK field set to 00b - medium .................................................................................... 250
Table 224. VRPROTECT field with BYTCHK field set to 01b or 11b - medium ...................................................................... 252
Table 225. VRPROTECT field with BYTCHK field set to one 01b or 11b - data-out buffer ................................................ 254
Table 226. VRPROTECT field with BYTCHK field set to 01b or 11b - byte-by-byte comparison requirements ........ 256
Table 243. WRITE BUFFER MODE field ............................................................................................................................................... 279
Table 244. MODE SPECIFIC field ........................................................................................................................................................... 282
Table 245. Application log data WRITE BUFFER format ............................................................................................................... 284
Table 246. ERROR TYPE field .................................................................................................................................................................. 285
Table 247. CODE SET field ...................................................................................................................................................................... 286
Table 248. ERROR LOCATION FORMAT field .................................................................................................................................... 286
Table 249. WRITE LONG (10) command ............................................................................................................................................ 287
Table 250. WRITE LONG (16) command ............................................................................................................................................ 288
Table 251. WRITE SAME (10) command ............................................................................................................................................ 290
Table 252. ANCHOR bit, UNMAP bit, and ANC_SUP bit relationships .................................................................................... 291
SCSI Commands Reference Manual, Rev. L15
Tables
Table 253. WRITE SAME (16) command ............................................................................................................................................ 292
Table 254. WRITE SAME (32) command ............................................................................................................................................ 293
Table 258. Typical 16-byte zoned block device CDB format with no data transfer .......................................................... 296
Table 259. CLOSE ZONE command ..................................................................................................................................................... 298
Table 260. CLOSE ZONE command processing .............................................................................................................................. 298
Table 261. FINISH ZONE command ....................................................................................................................................................299
Table 262. FINISH ZONE command processing .............................................................................................................................. 300
Table 263. OPEN ZONE command ......................................................................................................................................................301
Table 264. OPEN ZONE command processing ............................................................................................................................... 302
Table 271. REPORT ZONE command .................................................................................................................................................. 307
Table 272. REPORT REALMS REPORTING OPTIONS field ............................................................................................................. 307
Table 273. REPORT REALMS parameter data ................................................................................................................................... 308
Table 274. Zone domain descriptor .................................................................................................................................................... 309
Table 275. REPORT ZONE command .................................................................................................................................................. 311
Table 276. REPORT ZONES REPORTING OPTIONS field ................................................................................................................ 312
Table 277. REPORT ZONES parameter data ..................................................................................................................................... 313
Table 278. SAME field description ....................................................................................................................................................... 314
Table 279. Zone descriptor format ..................................................................................................................................................... 314
Table 280. Zone descriptor ZONE TYPE field ................................................................................................................................... 315
Table 281. Zone descriptor ZONE CONDITION field ..................................................................................................................... 315
Table 295. Address Field for Short Logical Block Address Format .......................................................................................... 329
Table 296. Address Field for Physical Sector Address Format ................................................................................................... 329
Table 305. FORMAT AND LINKING field ............................................................................................................................................. 339
Table 306. Parameter control byte values for bounded data counter parameters ........................................................... 340
Table 307. Parameter control byte values for unbounded data counter parameters .....................................................341
Table 308. Parameter control byte values for ASCII format list log parameters ................................................................. 341
Table 309. Parameter control byte values for binary format list log parameters ...............................................................342
Table 310. Keywords for resetting or changing log parameters .............................................................................................. 342
Table 313. General usage application client parameter data ................................................................................................... 344
Table 316. Background Scan Status parameter format ............................................................................................................... 346
Table 317. Background Scan Status field .......................................................................................................................................... 347
Table 318. Background Scan parameter format ............................................................................................................................ 348
Table 319. REASSIGN STATUS field ..................................................................................................................................................... 349
Table 332. Writes From Cache Memory log parameter ............................................................................................................... 357
Table 333. Time From Last Hard Reset log parameter ................................................................................................................. 358
Table 334. Time Interval log parameter ............................................................................................................................................ 359
Table 335. Time interval descriptor .................................................................................................................................................... 360
Table 354. Format Status log page parameter codes .................................................................................................................. 376
Table 355. Format Status log page ..................................................................................................................................................... 376
Table 356. Format Data Out log parameter format ...................................................................................................................... 377
Table 357. Grown Defects During Certification log parameter format ................................................................................. 378
Table 358. Total Blocks Reassigned During Format log parameter format .......................................................................... 379
Table 359. Total New Blocks Reassigned log parameter format .............................................................................................. 380
Table 360. Power On Minutes Since Format log parameter format ....................................................................................... 381
Table 363. Informational exceptions general parameter data ................................................................................................. 383
Table 382. Power Condition Transitions log page ........................................................................................................................ 397
Table 383. Power Condition Transitions log parameter format ............................................................................................... 398
Table 384. Protocol-Specific Port log page for SAS ...................................................................................................................... 399
Table 385. Protocol-Specific Port log parameter for SAS ............................................................................................................ 400
Table 386. SAS phy log descriptor ....................................................................................................................................................... 401
Table 387. Device type field .................................................................................................................................................................. 402
Table 388. Reason field definition ....................................................................................................................................................... 403
Table 389. NEGOTIATED LOGICAL LINK RATE field ....................................................................................................................... 403
Table 392. Self-test results log parameter format ......................................................................................................................... 406
Table 393. SELF-TEST RESULTS field ................................................................................................................................................... 407
Table 394. Solid State Media log parameters .................................................................................................................................. 409
Table 395. Solid State Media log page .............................................................................................................................................. 409
Table 396. Percentage Used Endurance Indicator log parameter format ............................................................................ 410
Table 397. Solid State Media log parameters .................................................................................................................................. 411
Table 406. Workload Utilization log parameter format ............................................................................................................... 419
Table 407. WORKLOAD UTILIZATION field ....................................................................................................................................... 419
Table 408. Utilization Rate Based on Date and Time log parameter format ........................................................................420
Table 409. DATE AND TIME BASED UTILIZATION RATE field ..................................................................................................... 420
Table 412. Maximum Open Zones log parameter ......................................................................................................................... 422
Table 413. Maximum Explicitly Open Zones log parameter ...................................................................................................... 423
Table 414. Maximum Implicitly Open Zones log parameter ..................................................................................................... 424
Table 415. Maximum Empty Zones log parameter ....................................................................................................................... 425
Table 416. Maximum Non-Sequential Zones log parameter .................................................................................................... 426
Table 417. Zones Emptied log parameter ........................................................................................................................................ 427
Table 428. Short LBA mode parameter block descriptor ............................................................................................................ 438
Table 429. Long LBA mode parameter block descriptor ............................................................................................................ 440
Table 430. Page_0 mode page format .............................................................................................................................................. 442
Table 431. SUB_PAGE mode page format ........................................................................................................................................ 442
Table 432. Application Tag mode page ............................................................................................................................................ 444
Table 433. Application Tag descriptor format ................................................................................................................................ 445
Table 434. Background Control mode page .................................................................................................................................... 446
Table 435. Background Operation Control mode page .............................................................................................................. 448
Table 436. BO_MODE field ..................................................................................................................................................................... 448
Table 443. PERFORMANCE VERSUS LATENCY CONTROLS field ................................................................................................ 456
Table 444. T2 command duration limit descriptor format ......................................................................................................... 456
Table 445. T2CDLUNITS field ................................................................................................................................................................. 457
Table 446. Max time limit policy actions ........................................................................................................................................... 458
Table 447. Max time limit policy actions ........................................................................................................................................... 459
Table 448. CONFORMANCE TARGET field ......................................................................................................................................... 459
Table 450. Control mode page ............................................................................................................................................................. 461
Table 451. Task set type (TST) field ..................................................................................................................................................... 461
Table 452. QUEUE ALGORITHM MODIFIER field ............................................................................................................................. 462
Table 453. Queue error management (QERR) field ....................................................................................................................... 463
Table 454. Unit attention interlocks control (UA_INTLCK_CTRL) field ................................................................................... 464
Table 455. AUTOLOAD MODE field ..................................................................................................................................................... 466
Table 456. Control Extension mode page ........................................................................................................................................ 467
Table 457. Disconnect-Reconnect mode page for SAS ............................................................................................................... 469
Table 458. Format Parameters page (03h) ....................................................................................................................................... 471
Table 466. Threshold descriptor format ............................................................................................................................................481
Table 467. THRESHOLD TYPE field ...................................................................................................................................................... 481
Table 468. THRESHOLD ARMING field ............................................................................................................................................... 482
Table 469. Power Condition mode page .......................................................................................................................................... 483
Table 470. PM_BG_PRECEDENCE field ............................................................................................................................................... 484
Table 471. CCF_IDLE field ....................................................................................................................................................................... 486
Table 472. CCF_STANDBY field ............................................................................................................................................................ 486
Table 473. CCF_STOPPED field ............................................................................................................................................................. 486
Table 474. Power Consumption mode page ................................................................................................................................... 487
Table 475. ACTIVE LEVEL field ............................................................................................................................................................... 488
Table 477. Combined error recovery bit descriptions ................................................................................................................. 491
Table 478. Protocol-Specific Logical Unit mode page for SAS .................................................................................................. 494
Table 479. Protocol-Specific Port mode page for SAS ................................................................................................................. 495
Table 480. I_T NEXUS LOSS TIME values ........................................................................................................................................... 496
Table 481. SAS - Phy Control And Discover subpage ................................................................................................................... 497
Table 482. SAS phy mode descriptor ................................................................................................................................................. 498
Table 483. The HARDWARE MINIMUM & MAXIMUM PHYSICAL LINK RATE field values ................................................. 500
Table 484. The PROGRAMMED MINIMUM and MAXIMUM PHYSICAL LINK RATE field values ...................................... 500
Table 485. Shared Port Control Mode Page ..................................................................................................................................... 501
Table 486. Enhanced Phy Control mode page ............................................................................................................................... 502
Table 487. Enhanced phy control mode descriptor ..................................................................................................................... 503
Table 488. SAS Transceiver Control (Out) subpage ...................................................................................................................... 505
Table 489. Transceiver Controls Mode descriptor (1.5Gb, 3Gb and 6Gb Link Rate) ......................................................... 507
Table 490. Transceiver Controls descriptor (12Gb Link Rate) .................................................................................................... 507
Table 491. Controllable Link Rates ...................................................................................................................................................... 508
Table 492. DRIVER STRENGTH CONTROL or C1 PRE-CURSOR CONTROL (12G Mode Only) values .............................. 508
Table 493. DRIVER EMPHASIS CONTROL or C2 AMPLITUDE CONTROL (12G Mode Only) .............................................. 509
Table 494. DRIVER SLEW RATE CONTROL or C3 POST CURSOR CONTROL (12G mode only) ........................................ 509
Table 495. Receiver Threshold Control .............................................................................................................................................. 510
Table 496. Receiver Equalization Gain Control field ..................................................................................................................... 510
Table 497. RESET and IREC bit function ............................................................................................................................................. 511
Table 498. SAS - Transceiver Control (In) subpage ........................................................................................................................ 512
Table 501. Controllable Link Rates field ............................................................................................................................................ 515
Table 510. Medium Rotation Rate field ............................................................................................................................................. 528
Table 511. WABEREQ field ...................................................................................................................................................................... 529
Table 512. WACEREQ field ...................................................................................................................................................................... 529
Table 513. Product Type field ............................................................................................................................................................... 529
Table 514. ZONED field ........................................................................................................................................................................... 530
Table 515. Nominal Form Factor Field ............................................................................................................................................... 530
Table 517. UTILIZATION TYPE field ..................................................................................................................................................... 531
Table 518. UTILIZATION UNITS Field .................................................................................................................................................. 532
Table 519. UTILIZATION INTERVAL Field ........................................................................................................................................... 532
Table 521. Transfer limits for commands .......................................................................................................................................... 535
Table 528. ASSOCIATION field .............................................................................................................................................................. 543
Table 529. IDENTIFIER Type field ......................................................................................................................................................... 544
Table 530. Device Identification page example ............................................................................................................................. 545
Table 531. Extended INQUIRY Data VPD page ............................................................................................................................... 546
Table 532. SPT field ................................................................................................................................................................................... 547
Table 533. ACTIVATE MICROCODE field ............................................................................................................................................ 547
Table 536. Drive ID bit .............................................................................................................................................................................. 554
Table 538. LBPRZ field ............................................................................................................................................................................. 556
Table 539. MINIMUM PERCENTAGE field .......................................................................................................................................... 556
Table 540. Provisioning Type field ...................................................................................................................................................... 557
Table 541. MINIMUM PERCENTAGE field .......................................................................................................................................... 557
Table 544. MODE PAGE POLICY field .................................................................................................................................................. 559
Table 545. Power Condition VPD page ............................................................................................................................................. 560
Table 546. Power Consumption VPD page ...................................................................................................................................... 562
SCSI Commands Reference Manual, Rev. L22
Tables
Table 547. Power consumption descriptor format ....................................................................................................................... 563
Table 548. POWER CONSUMPTION UNITS field .............................................................................................................................. 563
Table 549. Protocol Specific Logical Unit Information VPD page for SAS SSP .................................................................... 564
Table 550. Logical unit information descriptor for SAS SSP ...................................................................................................... 565
Table 551. Protocol Specific Port Information VPD page for SAS SSP .................................................................................... 566
Table 552. Logical unit information descriptor for SAS SSP ...................................................................................................... 567
Table 553. SAS phy information descriptor for SAS SSP ............................................................................................................. 568
Table 557. SCSI port designation descriptor ................................................................................................................................... 571
Table 558. Relative Port Identifier field .............................................................................................................................................. 572
Table 559. Target port Descriptor ....................................................................................................................................................... 572
Table 560. Supported Vital Product Data pages ............................................................................................................................ 573
Table 561. Unit Serial Number page (80h) ....................................................................................................................................... 574
Table 563. ZONED BLOCK DEVICE EXTENSION field ..................................................................................................................... 576
SCSI Commands Reference Manual, Rev. L23
www.seagate.com Definitions, Symbols, Abbreviations, Keywords, And Conventions
1.Definitions, Symbols, Abbreviations, Keywords, And Conventions
This clause contains the definitions, symbols, abbreviations, keywords and, conventions used throughout this manual. These items are from the
American National Standards Institute T10 committee standards.
Applicable Documents:
INCITS 515 SCSI Architecture Model - 6 (SAM-6) Revision 05
INCITS 534 Serial Attached SCSI - 4.1 (SAS-4.1) Revision 02
INCITS 538 SAS Protocol Layer - 5 (SPL-5) Revision 09
SCSI Commands Reference Manual, Rev. L24
www.seagate.com Definitions, Symbols, Abbreviations, Keywords, And Conventions
1.1Definitions
Access control list (ACL)
The data used by a SCSI target device to configure access rights for initiator ports according to the access controls state of the SCSI target
device.
Access control list entry (ACE)
One entry in the access control list.
Access controls
An optional SCSI target device feature that restricts initiator port access to specific logical units and modifies the information about logical
units in the parameter data of the INQUIRY and REPORT LUNS commands.
Access controls coordinator
The entity within a SCSI target device that coordinates the management and enforcement of access controls for all logical units within the SCSI
target device. The access controls coordinator is always addressable through the ACCESS CONTROLS well known logical unit and LUN 0.
active power condition
When a device server is capable of responding to all of its supported commands, including media access requests, without delay.
additional sense code
A combination of the ADDITIONAL SENSE CODE and ADDITIONAL SENSE CODE QUALIFIER fields in the sense data.
Application client
An object that is the source of SCSI commands. Further definition of an application client may be found in SAM-6.
Attribute
A 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 bit is set to one in the CONTROL byte. A
detailed definition of ACA may be found in 2.2.7.
Blocked task
A task that is in the blocked state. Tasks become blocked when an ACA condition occurs. The blocked state ends when the ACA condition is
cleared. A detailed definition of the blocked task state may be found in SAM-6.
Byte
A sequence of eight contiguous bits considered as a unit.
Cache
See cache memory.
Cache memory
A temporary and often volatile data storage area outside the area accessible by application clients that may contain a subset of the data stored
in the non-volatile data storage area.
Check data
Information contained within a redundancy group that may allow lost or destroyed XOR-protected data to be recreated.
Command
A request describing a unit of work to be performed by a device server. A detailed definition of a command may be found in SAM-6.
Command descriptor block (CDB)
The structure used to communicate commands from an application client to a device server. A CDB may have a fixed length of up to 16 bytes or
a variable length of between 12 and 260 bytes.
Command standard
A SCSI standard that defines the model, commands, and parameter data for a device type (e.g., SBC-4, SSC-3, SMC-3, MMC-5, or SES-3).
Company_id
Synonym for OUI.
Copy manager
The device server that receives an EXTENDED COPY command and performs the operation requested.
SCSI Commands Reference Manual, Rev. L25
www.seagate.com Definitions, Symbols, Abbreviations, Keywords, And Conventions
Copy target device
The name given by the EXTENDED COPY command to a source or destination logical unit (i.e., a copy target 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 based checksum.
Data defect list (DLIST)
A list of defects sent by the application client to the device server during a FORMAT UNIT command.
Data-in buffer
The buffer specified by the application client to receive data from the device server during the processing of a command.
Data-out buffer
The 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 protection information values.‘
Deferred error
A CHECK CONDITION status and sense data that is returned as the result of an error or exception condition that occurred during processing of
a previous command for which GOOD, CONDITION MET, INTERMEDIATE, and INTERMEDIATE-CONDITION MET status has already been returned.
Device server
An object within a logical unit that processes SCSI tasks according to the rules of task management. A detailed definition of a device server may
be found in SAM-6.
Device service request
A request, submitted by an application client, conveying a SCSI command to a device server. A detailed definition of a device service request
may be found in SAM-6.
Device service response
The response returned to an application client by a device server on completion of a SCSI command. A detailed definition of a device service
response may be found in SAM-6.
Device type
The type of peripheral device (i.e., device model) implemented by the device server and indicated by the contents of the PERIPHERAL DEVICE
TYPE field in the standard INQUIRY data.
Direct-access block device
A device that is capable of containing data stored in blocks that each have a unique logical block address.
Domain
An I/O system consisting of a set of SCSI devices that interact with one another by means of a service delivery subsystem.
Element
An addressable physical component of a medium changer SCSI device that may serve as the location of a removable unit of data storage
medium. A detailed definition of an element may be found in SMC-3.
Enabled task state
The only task state in which a task may make progress towards completion. A detailed definition of the enabled task state may be found in
SAM-6.
Error correcting code (ECC)
An error checking mechanism that checks data integrity and enables some errors in the data to be corrected.
Error history I_T nexus
An I_T nexus for which the device server has reserved access to the error history snapshot (see SPC-6).
Error history snapshot
The contents of the error history at a specific point in time (see SPC-6).
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.
SCSI Commands Reference Manual, Rev. L26
www.seagate.com Definitions, Symbols, Abbreviations, Keywords, And Conventions
Extended Unique Identifier, a 48-bit globally unique identifier (EUI-48)
The IEEE maintains a tutorial describing EUI-48 at http://standards.ieee.or
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.
Extent
A fixed set of logical blocks occupying contiguous logical block addresses on a single logical unit.
Faulted I_T nexus
The I_T nexus on which a CHECK CONDITION status was returned that resulted in the establishment of an ACA. The faulted I_T nexus condition
is cleared when the ACA condition is cleared.
Field
A group of one or more contiguous bits, a part of a larger structure such as a CDB or sense data.
Format corrupt
a vendor-specific condition in which the application client may not be able to perform read operations, write operations, or verify operations.
Grown defect list (GLIST)
All defects sent by the application client to the device server.
Hard reset
A condition resulting from the events defined by SAM-6 in which the SCSI device performs the hard reset operations described in SAM-6,
SPC-6, and the applicable command standards.
Host
A SCSI device with the characteristics of a primary computing device, typically a personal computer, workstation, server, minicomputer, mainframe computer, or auxiliary computing device. A host includes one or more SCSI initiator devices.
IEEE company_id
Synonym for OUI.
I_T nexus
A nexus between a SCSI initiator port and a SCSI target port.
I_T nexus loss
A condition resulting from the events defined by SAM-6 in which the SCSI device performs the I_T nexus loss operations described in SAM-6,
SPC-6, and the applicable command standards.
I_T_L nexus
A nexus between a SCSI initiator port, a SCSI target port, and a logical unit.
I_T_L_Q nexus transaction
The information transferred between SCSI ports in a single data structure with defined boundaries (e.g., an information unit).
Idle power condition
When a device server is capable of responding to all of its supported commands, including media access requests, but commands may take
longer to complete than when in the active power condition.
Implicit head of queue
An 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 a SCSI initiator device.
Initiator port
Synonymous with SCSI initiator port.
Initiator port identifier
A value by which a SCSI initiator port is referenced within a SCSI domain.
Initiator port name
A SCSI port name of a SCSI initiator port or of a SCSI target/initiator port when operating as a SCSI initiator port.
Internet protocol domain name
The 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 name assignments at http://www.iana.or
g/regauth/oui/tutorials/EUI48.html.
g/assignments/domain-names.
SCSI Commands Reference Manual, Rev. L27
www.seagate.com Definitions, Symbols, Abbreviations, Keywords, And Conventions
Internet protocol number
A coded value assigned to identify protocols that layer on the Internet protocol (see RFC 791). The Internet protocol number assigned to the
transmission control protocol (TCP, see RFC 793) is six. The Internet Assigned Numbers Authority maintains a list of Internet protocol number
assignments at http://www.iana.org/assignments/protocol-numbers.
Least significant bit (LSB)
In a binary code, the bit or bit position with the smallest numerical weighting in a group of bits that, when taken as a whole, represent a numerical value (e.g., in the number 0001b, the bit that is set to one).
Left-aligned
A type of field containing ASCII data in which unused bytes are placed at the end of the field (highest offset) and are filled with ASCII space
(20h) characters.
Logical block
A set of data bytes accessed and referenced as a unit.
Logical block address (LBA)
The value used to reference a logical block.
Logical unit
An externally addressable entity within a SCSI target device that implements a SCSI device model and contains a device server. A detailed definition of a logical unit may be found in SAM-6.
Logical unit access control descriptor (LUACD)
The structure within an ACE that identifies a logical unit to which access is allowed and specifies the LUN by 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 FORMAT UNIT command.
Logical unit inventory
The 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 in SAM-6.
Logical unit reset
A condition resulting from the events defined by SAM-6 in which the logical unit performs the logical unit reset operations described in SAM-6,
SPC-6, and the applicable command standards.
Media
Plural of Medium
Medium
A physical entity that stores data in a nonvolatile manner (i.e., retained through a power cycle) in accordance 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.
Most significant bit (MSB)
In a binary code, the bit or bit position with the largest numerical weighting in a group of bits that, when taken as a whole, represent a numerical value (e.g., in the number 1000b, the bit that is set to one).
Name
A label of an object that is unique within a specified context and should never change (e.g., the term name and 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.
Nexus
A relationship between two SCSI devices, and the SCSI initiator port and SCSI target port objects within those SCSI devices.
Non-volatile cache
Cache that retains data through power cycles.
Non-volatile cache memory
SCSI Commands Reference Manual, Rev. L28
www.seagate.com Definitions, Symbols, Abbreviations, Keywords, And Conventions
Cache memory that retains data through power cycles.
Non-volatile medium
A physical storage medium that retains data written to it for subsequent read operations through power cycles (e.g., a disk within a device that
stores data as magnetic field changes that do not require device power to exist).
Null-padded
A type of field in which unused bytes are placed at the end of the field (i.e., highest offset) and are filled with ASCII null (00h) characters.
Null-terminated
A 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 is equivalent to company_id or IEEE company_id. The IEEE prefers OUI for EUI-48 identifiers and company_id for EUI-64 identifiers. However, the numeric identifier is called an OUI when it
is assigned by the IEEE. The IEEE maintains a tutorial describing the OUI at http://standards.ieee.org/re
Page
A regular parameter structure (or format) used by several commands. These pages are identified with a value known as a page code.
Persist through power loss
An optional capability associated with some features that allows an application client to request that a device server maintain information
regarding that feature across power failures.
Persistent reservation holder
The I_T nexus(es) that are allowed to release or change a persistent reservation without preempting it.
Power cycle
Power being removed from and later applied to a SCSI device.
Power on
A condition resulting from the events defined by SAM-6 in which the SCSI device performs the power on operations described in SAM-6, SPC-6,
and the applicable command standards.
Primary defect list (PLIST)
The list of defects that are considered permanent defects.
Protection information
Fields appended to each logical block that contain a cyclic redundancy check (CRC), an application tag, and a reference tag.
Protocol identifier
A coded value used in various fields to identify the protocol to which other fields apply.
Protocol specific
A requirement that is defined by a SCSI transport protocol standard. A detailed definition of protocol specific may be found in SAM-6.
Protocol standard
A SCSI standard that defines SCSI transport protocol (e.g., SAS or SBP-3.
Proxy token
An identifier for a logical unit that may be used to gain temporary access to that logical unit in the presence of access controls.
Redundancy group
A grouping of XOR-protected data and associated check data into a single type of data redundancy (see SCC-2). SPC-6 only supports the XOR
type of redundancy.
Request for comment (RFC)
The name given to standards developed by the Internet Engineering Task Force.
gauth/oui/.
SCSI Commands Reference Manual, Rev. L29
www.seagate.com Definitions, Symbols, Abbreviations, Keywords, And Conventions
Registered
The condition that exists for an I_T nexus following the successful completion of a PERSISTENT RESERVE OUT command with a REGISTER service action, REGISTER AND IGNORE EXISTING KEY service action, or REGISTER AND MOVE service action and lasting until the registration is
removed.
Registrant
An I_T nexus that is registered.
Right-aligned
A type of field containing ASCII data in which unused bytes are placed at the start of the field (i.e., lowest offset) and are filled with ASCII space
(20h) characters.
Relative port identifier
An identifier for a SCSI port that is unique within a SCSI device. Application clients may use the SCSI Ports VPD page to determine relative port
identifier values.
Relative initiator port identifier
A relative port identifier for a SCSI initiator port.
Relative target port identifier
A relative port identifier for a SCSI target port.
SCSI device
A device that contains one or more SCSI ports that are connected to a service delivery subsystem and supports a SCSI application protocol.
SCSI device name
A name of a SCSI device that is world wide unique within the protocol of a SCSI domain in which the SCSI device has SCSI ports. The SCSI device
name may be made available to other SCSI devices or SCSI ports in protocol specific ways.
SCSI domain
The interconnection of two or more SCSI devices and a service delivery subsystem. A detailed definition of a SCSI Domain may be found in
SAM-6.
SCSI initiator device
A SCSI device containing application clients and SCSI initiator ports that originate device service and task management requests to be processed by a SCSI target device and receives device service and task management responses from SCSI target devices.
SCSI initiator port
A SCSI initiator device object acts as the connection between application clients and the service delivery subsystem through which requests
and responses are routed.
SCSI port
A port of a SCSI device that connects the application client, device server or task manager to the service delivery subsystem.
SCSI port identifier
A value by which a SCSI port is referenced within a domain. The SCSI port identifier is either an initiator port identifier or a target port identifier.
SCSI port name
A name of a SCSI port that is world wide unique within the protocol of the SCSI domain of that SCSI port. The name may be made available to
other SCSI devices or SCSI ports in that SCSI domain in protocol specific ways.
SCSI Ports VPD page
A VPD page that allows retrieval of information about all the SCSI ports in a SCSI target device or SCSI target/initiator device.
SCSI target device
A SCSI device containing logical units and SCSI target ports that receives device service and task management requests for processing and
sends device service and task management responses to SCSI initiator devices.
SCSI target port
A SCSI target device object that acts as the connection between device servers and task managers and the service delivery subsystem through
which requests and responses are routed.
SCSI transport protocol standard
A SCSI standard that defines a SCSI transport protocol (e.g., SAS, SRP, or SBP-3).
SCSI Commands Reference Manual, Rev. L30
www.seagate.com Definitions, Symbols, Abbreviations, Keywords, And Conventions
Sense data
Data describing an error or exceptional condition that a device server delivers to an application client in the same I_T_L_Q nexus transaction as
a CHECK CONDITION status or in response to a REQUEST SENSE command. The format of sense data is defined in SPC-6.
Sense key
The contents of the SENSE KEY field in the sense data.
Service action
A request describing a unit of work to be performed by a device server. A service action is an extension of a command.
Service delivery subsystem
That part of a SCSI I/O system that transmits service requests to a logical unit or SCSI target device and returns logical unit or SCSI target device
responses to a SCSI initiator device.
Standby power condition
When a device server is capable of accepting commands, but not capable of processing media access commands.
Status
One byte of response information sent from a device server to an application client upon completion of each command.
Storage array controller
Any combination of an initiator and application clients (see SAM-6) that originates SCSI commands, converts input LUNs to output LUNs, and
converts input LBAs to output LBAs. A storage array controller organizes a group of direct-access block devices into various objects (e.g., redundancy groups and volume sets). See SCC-2.
System
One or more SCSI domains operating as a single configuration.
Tar get de v ice na me
A SCSI device name of a SCSI target device or of a SCSI target/initiator device when operating as a SCSI target device.
Tar get por t
Synonymous with SCSI target port.
Target port asymmetric access state
The characteristic that defines the behavior of a target port and the allowable command set for a logical unit when commands and task management functions are routed through the target port maintaining that state.
Tar get por t gro up
A set of target ports that are in the same target port asymmetric access state at all times.
Target port group asymmetric access state
The target port asymmetric access state common to the set of target ports in a target port group.
Target port identifier
A value by which a SCSI target port is referenced within a SCSI domain.
Tar get por t na me
A SCSI port name of a SCSI target port or of a SCSI target/initiator port when operating as a SCSI target port.
Tas k
An object within a logical unit that represents the work associated with a command or a group of linked commands. A detailed definition of a
task may be found in SAM-6.
Task set
A group of tasks within a logical unit, whose interaction is dependent on the task management (queuing) and ACA rules. See SAM-6 and the
Control mode page.
TCP port numbers
One of the data needed to establish a TCP connection. TCP port numbers may be assigned to protocols that layer on TCP by the Internet
Assigned Numbers Authority. The Internet Assigned Numbers Authority maintains a list of TCP port number assignments at
http://www.iana.or
Third-party command
A command sent to one SCSI device requesting than an operation be performed involving two other SCSI devices (e.g., the EXTENDED COPY
command may perform copy operations between two or more SCSI devices none of which are the SCSI device to which the EXTENDED COPY
command was sent).
g/assignments/ port-numbers.
SCSI Commands Reference Manual, Rev. L31
www.seagate.com Definitions, Symbols, Abbreviations, Keywords, And Conventions
Unit attention condition
A state that a logical unit maintains while it has asynchronous status information to report to the initiator ports associated with one or more I_T
nexuses. See SAM-6.
Universal time (UT)
The time at longitude zero, colloquially known as Greenwich Mean Time. See http://aa.usno.navy.mil/faq/docs/UT.html.
URI Schemes
The Internet Assigned Numbers Authority maintains a list of schemes for URI and URL names at http://www.iana.or
User data
Data contained in logical blocks that is not protection information.
UTF-8
A character set that is a transformation format of the character set defined by ISO 10646. See RFC 2279.
Vendor specific (VS)
Something (e.g., a bit, field, or code value) that is not defined by SPC-6 and may be vendor defined.
Volatile cache memory or Volatile cache
Cache memory that does not retain data through power cycles.
Volatile medium
Medium that does not retain data written to it for a subsequent read operation through power cycles (e.g., a silicon memory device that loses
data written to it if device power is lost).
Well known logical unit
A logical unit that only does specific functions. Well known logical units allow an application client to issue requests to receive and manage
specific information usually relating to a SCSI target device.
Well known logical unit number (W-LUN)
The logical unit number that identifies a well known logical unit.
XOR operation
Performing an XOR bitwise on two identical-sized multiple-bit input values (e.g., the current value of a logical block and the new value for that
logical block). In a storage array implementing a redundancy group, the XOR operation is used in error correction algorithms and may be performed by the storage array controller or by the direct-access block devices.
XOR-protected data
Logical blocks, including user data and protection information, if any, that are part of a redundancy group.
Zero
The logical false condition of a variable.
Zero-padded
A type of field in which unused bytes are placed at the end of the field (i.e., highest offset) and are filled with zeros.
g/assignments/uri-schemes.
SCSI Commands Reference Manual, Rev. L32
www.seagate.com Definitions, Symbols, Abbreviations, Keywords, And Conventions
1.2Symbols and abbreviations
See Table 1 for abbreviations of standards bodies (e.g., ISO). Additional symbols and abbreviations used in the manual include:
Abbreviation Meaning
< less than
> greater than
ACE Access Control list Entry
ACL Access Control List
ACA Auto Contingent Allegiance
ASC Additional Sense Code
ASCII American Standard Code for Information Interchange
ASCQ Additional Sense Code Qualifier
ATA AT At tachment (see www.t13.or
CDB Command Descriptor Block
CRC Cyclic Redundancy Check
CLIST logical unit certification list
D_ID Destination Identifier (defined in FC-FS)
DLIST data defect list
ECC error correcting code
EUI-48 Extended Unique Identifier, a 48-bit globally unique identifier
EUI-64 Extended Unique Identifier, a 64-bit globally unique identifier
GLIST grown defect list
HTTP Hypertext Transfer Protocol (see RFC 2616)
I/O input/output
ID Identifier or Identification
IEC International Electrotechnical Commission
IEEEInstitute of Electrical and Electronics Engineers
IETF Internet Engineering Task Force
IP Internet Protocol
IPv4 Internet Protocol version 4
IPv6 Internet Protocol version 6
iSCSI Internet SCSI
ISO Organization for International Standards
LBA Logical Block Address
LSB Least Significant Bit
LUACD Logical Unit Access Control Descriptor
LUN Logical Unit Number
MAM Medium Auxiliary Memory
MMC-5 SCSI Multi-Media Commands -5
MSB Most Significant Bit
NAA Network Address Authority
n/a not applicable
INCITS InterNational Committee for Information Technology Standards
OSD Object-based Storage Devices Commands
OUI Organizationally Unique Identifier
PLISTprimary defect list
RAID Redundant Array of Independent Disks
RBC SCSI Reduced Block Commands
RDMA Remote Direct Memory Access (see SRP)
RFC Request For Comments
RMC SCSI Reduced Multi-Media Commands
SAM-6 SCSI Architecture Model -5
SASSerial Attached SCSI
g)
SCSI Commands Reference Manual, Rev. L33
www.seagate.com Definitions, Symbols, Abbreviations, Keywords, And Conventions
SAT SCSI / ATA Translation
SBC-4 SCSI Block Commands -4
SCSI The architecture defined by the family of standards described in clause 1
SES-3 SCSI Enclosure Services -3
SPC-6 SCSI Primary Commands -5
SRP SCSI RDMA Protocol
SSC-2SCSI Stream Commands -2
SSPSerial SCSI Protocol
TCP Transmission Control Protocol (see RFC 793)
URI Uniform Resource Identifier (see RFC 2396 and RFC 3305)
URL Uniform Resource Locator (see RFC 2396 and RFC 3305)
UT Universal time
USB Universal Serial Bus (see www.usb.or
VPD Vital Product Data
VS Vendor Specific
W-LUN Well known logical unit number
g)
SCSI Commands Reference Manual, Rev. L34
www.seagate.com Definitions, Symbols, Abbreviations, Keywords, And Conventions
1.3Keywords
Expected
A keyword used to describe the behavior of the hardware or software in the design models assumed by this manual. Other hardware and software design models may also be implemented.
Ignored
A keyword used to describe an unused bit, byte, word, field or code value. The contents or value of an ignored bit, byte, word, field or code
value shall not be examined by the receiving SCSI device and may be set to any value by the transmitting SCSI device.
Invalid
A keyword used to describe an illegal or unsupported bit, byte, word, field or code value. Receipt of an invalid bit, byte, word, field or code
value shall be reported as an error.
Mandatory
A keyword indicating an item that is required to be implemented as defined in this manual.
May
A keyword that indicates flexibility of choice with no implied preference (equivalent to “may or may not”).
May not
Keywords that indicate flexibility of choice with no implied preference (equivalent to “may or may not”).
Obsolete
A keyword indicating that an item was defined in prior SCSI standards but has been removed from this manual.
Optional
A keyword that describes features that are not required to be implemented by the standard. However, if any optional feature defined in the
standard is implemented, then it shall be implemented as defined in this manual.
Reserved
A keyword referring to bits, bytes, words, fields and code values that are set aside for future standardization. A reserved bit, byte, word or field
shall be set to zero, or in accordance with a future extension to this manual. Recipients are not required to check reserved bits, bytes, words or
fields for zero values. Receipt of reserved code values in defined fields shall be reported as an error.
Restricted
A keyword referring to bits, bytes, words, and fields that are set aside for use in other SCSI standards. A restricted bit, byte, word, or field shall be
treated as a reserved bit, byte, word or field for the purposes of the requirements defined in this manual.
Shall
A keyword indicating a mandatory requirement. Designers are required to implement all such mandatory requirements to ensure interoperability with other products that conform to this manual.
Should
A keyword indicating flexibility of choice with a strongly preferred alternative; equivalent to the phrase “it is strongly recommended.”
Vendor- spec ific
Something (e.g., a bit, field, or code value) that is not defined by this manual and may be used differently in various implementations.
SCSI Commands Reference Manual, Rev. L35
www.seagate.com Definitions, Symbols, Abbreviations, Keywords, And Conventions
1.4Conventions
Certain words and terms used in this manual have a specific meaning beyond the normal English meaning. These words and terms are defined
either in this clause or in the text where they first appear. Names of commands, status codes, sense keys, and additional sense codes are in all
uppercase (e.g., REQUEST SENSE).
If there is more than one CDB length for a particular command (e.g., MODE SENSE(6) and MODE SENSE(10) and the name of the command is
used in a sentence without any CDB length descriptor (e.g., MODE SENSE), then the condition specified in the sentence applies to all CDB
lengths for that command.
Names of fields and state variables are in uppercase (e.g. NAME). When a field or state variable name contains acronyms, uppercase letters may
be used for readability. Normal case is used when the contents of a field or state variable are being discussed. Fields or state variables
containing only one bit are usually referred to as the NAME bit instead of the NAME field.
Normal case is used for words having the normal English meaning.
A binary number is represented in this manual by any sequence of digits comprised of only the Western-Arabic numerals 0 and 1 immediately
followed by a lower-case b (e.g., 0101b). Underscores or spaces may be included between characters in binary number representations to
increase readability or delineate field boundaries (e.g., 0 0101 1010b or 0_0101_1010b).
A hexadecimal number is represented in this manual by any sequence of digits comprised of only the Western-Arabic numerals 0 through 9
and/or the upper-case English letters A through F immediately followed by a lower-case h (e.g., FA23h). Underscores or spaces may be included
in hexadecimal number representations to increase readability or delineate field boundaries (e.g., B FD8CFA23h or B_FD8C_FA23h).
A decimal number is represented in this manual by any sequence of digits comprised of only the Western-Arabic numerals 0 through 9 not
immediately followed by a lower-case b or lower-case h (e.g., 25).
When the value of the bit or field is not relevant, x or xx appears in place of a specific value.
This manual uses the ISO convention for representing decimal numbers (e.g., the thousands and higher multiples are separated by a space and
a comma is used as the decimal point). Table 1 shows some examples of decimal numbers represented using the ISO and American
conventions.
Table 1 ISO v American Numbering Conventions
ISOAmerican
0,60.6
3,141 592 653.14159265
1 0001,000
1 323 4621,323,462.95
Lists sequenced by letters (e.g., a) red, b) blue, c) green) show no ordering relationship between the listed items. Lists sequenced by numbers
(e.g., 1) red, 2) blue, 3) green) show an ordering relationship between the listed items.
If a conflict arises between text, tables or figures, the order of precedence to resolve the conflicts is text, then tables, and finally figures. Not all
tables or figures are fully described in the text. Tables show data format and values. Notes do not constitute any requirements for
implementors.
SCSI Commands Reference Manual, Rev. L36
www.seagate.com General Concepts
2.General Concepts
This manual defines behaviors that are common to all Seagate SCSI device models. This manual defines the SCSI commands that are basic to
more than one disk drive model and the SCSI commands that may apply to any SCSI Interface and Serial Attached SCSI (SAS).
2.1Command Descriptor Block (CDB)
2.1.1CDB usage and structure
A command is communicated by sending a command descriptor block (CDB) to the device server. For several commands, the CDB is
accompanied by a list of parameters in the Data-Out Buffer. See the specific commands for detailed information.
If a logical unit validates reserved CDB fields and receives a reserved field within the CDB that is not zero, then the logical unit shall terminate
the command with CHECK CONDITION status, with the sense key set to ILLEGAL REQUEST, and the additional sense code set to INVALID FIELD
IN CDB.
If a logical unit receives a reserved CDB code value in a field other than the OPERATION CODE field, then the logical unit shall terminate the
command with CHECK CONDITION status, with the sense key set to ILLEGAL REQUEST, and the additional sense code set to INVALID FIELD IN
CDB.
The fixed length CDB formats are described in 2.1.2 The variable length CDB formats are described in 2.1.3. The CDB fields that are common to
most commands are described in 2.2. The fields shown in 2.1.2 and 2.1.3 and described in 2.2 are used consistently by most commands.
However, the actual usage of any field (except OPERATION CODE and CONTROL) is described in the subclause defining that command. If a
device server receives a CDB containing an operation code that is invalid or not supported, the command shall be terminated with CHECK
CONDITION status, with the sense key set to ILLEGAL REQUEST, and the additional sense code set to INVALID COMMAND OPERATION CODE.
For all commands, if there is an invalid parameter in the CDB, the device server shall terminate the command without altering the medium.
SCSI Commands Reference Manual, Rev. L37
www.seagate.com General Concepts
2.1.2The fixed length CDB formats
All fixed length CDBs shall have an OPERATION CODE field as their first byte and a CONTROL byte as their last byte. Table 2 shows the typical
format of a 6-byte CDB. Table 3 shows the typical format of a 10-byte CDB. Table 4 shows the typical format of a 12-byte CDB. Table 5 shows the
format of a 16-byte CDB for commands that provide for a long LBA.
The first byte of a variable length CDB shall contain the operation code 7Fh. The CONTROL byte is the second byte in the variable length CDB
(see table 6)
Table 6 Typical variable length CDB
Bit
Byte
0
1
2
3
4
5
6
7
8
9
10
. . .
n
ADDITIONAL CDB LENGTH field
The ADDITIONAL CDB LENGTH field specifies the number of additional CDB bytes. This value in the ADDITIONAL CDB LENGTH field shall be a
multiple of 4. If the number of CDB bytes delivered by the service delivery subsystem is not sufficient to contain the number of bytes specified
by the ADDITIONAL CDB LENGTH field, then the command shall be terminated with CHECK CONDITION status, with the sense key set to ILLE
GAL REQUEST, and the additional sense code set to INVALID FIELD IN CDB.
76543210
OPERATION CODE (7Fh)
CONTROL
Miscellaneous CDB information
Miscellaneous CDB information
Miscellaneous CDB information
Miscellaneous CDB information
Miscellaneous CDB information
ADDITIONAL CDB LENGTH (n–7)
(MSB)
SERVICE ACTION
(LSB)
(MSB)
Service Action specific fields
(LSB)
-
SERVICE ACTION field
The SERVICE ACTION field specifies the action being requested by the application client. The SERVICE ACTION field is required in the variable
length CDB format and is described in 4.3.4.2. Each service action code description defines a number of service action specific fields that are
needed for that service action.
SCSI Commands Reference Manual, Rev. L40
www.seagate.com General Concepts
A 32-byte variable length CDB format is defined for long LBA operations (see table 7)
Table 7 Typical variable length CDB for long LBA 32-byte commands
Bit
Byte
0
1
2
3
4
5
6
7
8
9
10
11
12
. . .
19
20
. . .
27
28
. . .
31
76543210
OPERATION CODE (7Fh)
CONTROL
Miscellaneous CDB information
Miscellaneous CDB information
Miscellaneous CDB information
Miscellaneous CDB information
Miscellaneous CDB information
Additional CDB Length (n–7) [9]
(MSB)
Miscellaneous CDB informationDPOFUAMiscellaneous CDB information
(MSB)
(MSB)
(MSB)
PARAMETER LIST LENGTH (if required)
ALLOCATION LENGTH (if required)
SERVICE ACTION
Miscellaneous CDB information
LOGICAL BLOCK ADDRESS
Miscellaneous CDB information
TRANSFER LENGTH (If required)
(LSB)
(LSB)
(LSB)
(LSB)
SCSI Commands Reference Manual, Rev. L41
www.seagate.com General Concepts
2.2Common CDB fields
2.2.1OPERATION CODE
The first byte of a SCSI CDB shall contain an operation code identifying the operation being requested by the CDB. Some operation codes
provide for modification of their operation based on a service action (see 2.2.2). In such cases, the operation code and service action code
combine to identify the operation being requested. The location of the SERVICE ACTION field in the CDB varies depending on the operation
code value.
The OPERATION CODE (see table 9) of the CDB has a GROUP CODE field and a COMMAND CODE field. The three-bit GROUP CODE field provides
for eight groups of command codes. The five-bit COMMAND CODE field provides for thirty-two command codes in each group. A total of 256
possible operation codes exist. Operation codes are defined in this manual and other command standards. The group code value shall
determine the length of the CDB (see table 10).
Tab le 8 OP ERATI ON CO DE byt e
Bit76543210
GROUP CODECOMMAND CODE
The value in the GROUP CODE field specifies one of the groups shown in Table 9.
Tab le 9 Group Code values
Group CodeMeaningTypical CDB Format
000b6 byte commandssee Table 2
001b10 byte commandssee Table 3
010b10 byte commandssee Table 3
011bReserved [a]
100b16 byte commandssee Table 5 and Table 6
101b12 byte commandssee Table 4
110bVendor Specific
111bVendor Specific
[a] The format of the commands using operation code 7Fh is described in 2.1.3. With
the exception of operation code 7Fh, all group code 011b operation codes are
reserved.
2.2.2SERVICE ACTION
All CDB formats except the 6-byte format provide for a SERVICE ACTION field containing a coded value identifying a function to be performed
under the more general command function specified in the OPERATION CODE field. While the SERVICE ACTION field is defined for CDB formats,
it is used as described in this subclause only in those CDB formats that contain a SERVICE ACTION field. When the specific field SERVICE ACTION
is not defined in a CDB format, the bits identified as the SERVICE ACTION field in a CDB shall be used or reserved as specified by the particular
CDB format.
SCSI Commands Reference Manual, Rev. L42
www.seagate.com General Concepts
2.2.3LOGICAL BLOCK ADDRESS
The logical block addresses on a logical unit or within a volume or partition shall begin with block zero and be contiguous up to the last logical
block of that logical unit or within that volume or partition.
A six-byte CDB may contain a 21-bit LOGICAL BLOCK ADDRESS field. The ten-byte and the twelve-byte CDBs may contain 32-bit LOGICAL
BLOCK ADDRESS fields. The sixteen-byte CDB has two formats: one allows a 32-bit LOGICAL BLOCK ADDRESS field (see table 5) and the other
allows a 64-bit LOGICAL BLOCK ADDRESS field (see table 6). LOGICAL BLOCK ADDRESS fields in additional parameter data have their length
specified for each occurrence. See the specific command descriptions.
2.2.4TRANSFER LENGTH
The TRANSFER LENGTH field specifies the amount of data to be transferred, usually the number of blocks. Some commands use transfer length
to specify the requested number of bytes to be sent as defined in the command description.
Commands that use one byte for the TRANSFER LENGTH field may allow up to 256 blocks or 256 bytes of data to be transferred by one
command.
In commands that use multiple bytes for the TRANSFER LENGTH field, a transfer length of zero specifies that no data transfer shall take place. A
value of one or greater specifies the number of blocks or bytes that shall be transferred. Refer to the specific command description for further
information.
2.2.5PARAMETER LIST LENGTH
The PARAMETER LIST LENGTH field is used to specify the number of bytes sent from the Data-Out Buffer. This field is typically used in CDBs for
parameters that are sent to a device server (e.g., mode parameters, diagnostic parameters, log parameters). A parameter list length of zero
specifies that no data shall be transferred. This condition shall not be considered as an error, unless otherwise specified.
2.2.6ALLOCATION LENGTH
The ALLOCATION LENGTH field specifies the maximum number of bytes that an application client has allocated in the Data-In Buffer. A n
allocation length of zero specifies that no data shall be transferred. This condition shall not be considered as an error. The device server shall
terminate transfers to the Data-In Buffer when the number of bytes specified by the ALLOCATION LENGTH field have been transferred or when
all available data have been transferred, whichever is less. The allocation length is used to limit the maximum amount of variable length data
(e.g., mode data, log data, diagnostic data) returned to an application client. If the information being transferred to the Data-In Buffer includes
fields containing counts of the number of bytes in some or all of the data, then the contents of these fields shall not be altered to reflect the
truncation, if any, that results from an insufficient ALLOCATION LENGTH value, unless this manual describes the Data-In Buffer format states
otherwise.
If the amount of information to be transferred exceeds the maximum value that the ALLOCATION LENGTH field is capable of specifying, the
device server shall transfer no data and terminate the command with CHECK CONDITION status, with the sense key set to ILLEGAL REQUEST,
and the additional sense code set to INVALID FIELD IN CDB.
SCSI Commands Reference Manual, Rev. L43
www.seagate.com General Concepts
2.2.7CONTROL
The CONTROL byte has the same definition for all commands.
All CDBs shall contain a CONTROL byte (see table 10). The location of the CONTROL byte within a CDB depends on the CDB format (see 2.1.2
and 2.1.3).
Tab le 1 0 CONTRO L by te
Bit76543210
Vendor SpecificReservedNACAObsolete Obsolete
All SCSI transport protocol standards shall define the functionality needed for a logical unit to implement the NACA bit.
NACA (Normal ACA) bit
The NACA (Normal ACA) bit specifies whether an auto contingent allegiance (ACA) is established if the command returns with CHECK CONDITION status. An NACA bit set to one specifies that an ACA shall be established.
0An NACA bit set to zero specifies that an ACA shall not be established. The actions for ACA are specified in SAM-6. Actions that may be
required when an ACA is not established are described in SAM-6. All logical units shall implement support for the NACA value of zero
and may support the NACA value of one (i.e., ACA). The ability to support a NACA value of one is indicated with the NORMACA bit in the
standard INQUIRY data (see clause 3.8.2)
1If the NACA bit is set to one but the logical unit does not support ACA, the command shall be terminated with CHECK CONDITION status,
with the sense key set to ILLEGAL REQUEST, and the additional sense code set to INVALID FIELD IN CDB.
2.2.8GROUPING FUNCTION
A grouping function is a function that collects information about attributes associated with commands (i.e., information about commands with
the same group value are collected into the specified group). The definition of the attributes and the groups is outside the scope of this
manual. Groups are identified with the GROUP NUMBER field in the CDB of certain commands (e.g., the WRITE (10) command (see 3.64)).
The collection of this information is outside the scope of this manual (e.g., the information may not be transmitted using any SCSI protocols).
Support for the grouping function is indicated in the GROUP_SUP bit in the Extended INQUIRY Data VPD page (see 5.4.10).
SCSI Commands Reference Manual, Rev. L44
www.seagate.com General Concepts
2.3Parameter Rounding
Certain parameters sent to a SCSI target port with various commands contain a range of values. Targets may choose to implement only
selected values from this range. When the target receives a value that it does not support, it either rejects the command (CHECK CONDITION
status with Illegal Request Sense key) or it rounds the value received to a supported value. The target shall reject unsupported values unless
rounding is permitted in the description of the parameter.
Rounding of parameter values, when permitted (Rounding is enabled by MODE SELECT command, page code 00h, byte 2, bit 2) shall be
performed as follows:
a SCSI target port that receives a parameter value that is not an exact supported value shall adjust the value to one that it supports and shall
return CHECK CONDITION status with a sense key of Recovered Error. The additional sense code shall be set to Rounded Parameter. The initiator
is responsible to issue an appropriate command to learn what value the target has selected.
Implementor’s Note: Generally, the target should adjust maximum-value fields down to the next lower supported value than the one
specified by the initiator. Minimum-value fields should be rounded up to the next higher supported value than the one specified by the
initiator. In some cases, the type of rounding (up or down) is explicitly specified in the description of the parameter.
SCSI Commands Reference Manual, Rev. L45
www.seagate.com General Concepts
2.4Sense data
2.4.1Sense data introduction
Sense data shall be returned in the same I_T_L_Q nexus transaction as a CHECK CONDITION status and as parameter data in response to the
REQUEST SENSE command. Sense data returned in the same I_T_L_Q nexus transaction as a CHECK CONDITION status shall be either fixed or
descriptor format sense data format based on the value of the D_SENSE bit in the Control mode page. The REQUEST SENSE command may be
used to request either the fixed format sense data or the descriptor format sense data.f
The first byte of all sense data contains the RESPONSE CODE field that indicates the error type and format of the sense data (see table 11).
Table 11 Sense data response codes
Response
Code
00h - 6Fh
70h
71h
72h
73h
74h - 7Eh
7Fh
The RESPONSE CODE field shall be set to 70h in all unit attention sense data in which:
a) The ADDITIONAL SENSE CODE field is set to 29h; or
b) The additional sense code is set to MODE PARAMETERS CHANGED.
DescriptionReferenceDescriptionReference
Current2.4.1.3Fixed2.4.1.2
Deferred2.4.1.4Fixed2.4.1.2
Current2.4.1.3Descriptor2.4.1.1
Deferred2.4.1.4Descriptor2.4.1.1
Error typeSense data format
Reserved
Reserved
Vendor specific
SCSI Commands Reference Manual, Rev. L46
www.seagate.com General Concepts
2.4.1.1Descriptor format sense data
2.4.1.1.1Descriptor format sense data overview
The descriptor format sense data for response codes 72h (current errors) and 73h (deferred errors) is defined in table 12.
Table 12 Descriptor format sense data
Bit
Byte
0
1
2
3
4
. . .
6
7
8
. . .
. . .
n
RESPONSE CODE field
The contents of the RESPONSE CODE field indicate the error type and format of the sense data (see 2.4.1). For descriptor format sense data, the
RESPONSE CODE field shall be set to 72h or 73h.
76543210
ReservedRESPONSE CODE (72h or 73h)
ReservedSENSE KEY
ADDITIONAL SENSE CODE
ADDITIONAL SENSE CODE QUALIFIER
Reserved
ADDITIONAL SENSE LENGTH (n-7)
Sense Data Descriptor(s)
(MSB)
Sense Data Descriptor (first) (see table 13)
(MSB)
Sense Data Descriptor (last) (see table 13)
(LSB)
(LSB)
SENSE KEY, ADDITIONAL SENSE CODE and ADDITIONAL SENSE CODE QUALIFIER fields
The SENSE KEY, ADDITIONAL SENSE CODE and ADDITIONAL SENSE CODE QUALIFIER fields provide a hierarchy of information. The hierarchy
provides a top-down approach for an application client to determine information relating to the error and exception conditions.
SENSE KEY field
The SENSE KEY field indicates generic information describing an error or exception condition. The sense keys are defined in 2.4.1.5.
ASC (ADDITIONAL SENSE CODE) field
The ADDITIONAL SENSE CODE (ASC) field indicates further information related to the error or exception condition reported in the SENSE KEY
field. Support of the additional sense codes not required by this manual is optional. A list of additional sense codes is in 2.4.1.5. If the device
server does not have further information related to the error or exception condition, the additional sense code shall be set to zero.
ASCQ (ADDITIONAL SENSE CODE QUALIFIER) field
The ADDITIONAL SENSE CODE QUALIFIER (ASCQ) field indicates detailed information related to the additional sense code. If the error or exception condition is reported by the device server, the value returned shall be as specified in 2.4.1.5. If the device server does not have detailed
information related to the error or exception condition, the additional sense code qualifier shall be set to zero.
ADDITIONAL SENSE LENGTH field
The ADDITIONAL SENSE LENGTH field indicates the number of additional sense bytes that follow. The additional sense length shall be less than
or equal to 244 (i.e., limiting the total length of the sense data to 252 bytes). If the sense data is being returned as parameter data by a REQUEST
SENSE command, then the relationship between the ADDITIONAL SENSE LENGTH field and the CDB ALLOCATION LENGTH field is defined in
2.2.6.
SCSI Commands Reference Manual, Rev. L47
www.seagate.com General Concepts
SENSE DATA DESCRIPTORS field
Sense data descriptors (see table 13) provide specific sense information. A given type of sense data descriptor shall be included in the sense
data only when the information it contains is valid.
Table 13 Sense data descriptor format
Bit
Byte
0
1
2
. . .
n
DESCRIPTOR TYPE field
The DESCRIPTOR TYPE field contains a type code (see table 14) that identifies the type of sense data descriptor. No more than one sense data
descriptor of each type shall be included in the descriptor format sense data.
Table 14 Sense data descriptor types
76543210
DESCRIPTOR TYPE
ADDITIONAL LENGTH (n-1)
(MSB)
SENSE DATA DESCRIPTOR SPECIFIC
Typ eDescriptionReference
00h
01h
02h
03h
04h
Information2.4.1.1.2
Command specific information2.4.1.1.3
Sense key specific2.4.1.1.4
Field replaceable unit2.4.1.1.5
Stream commandsSSC-3
(LSB)
05h
06h
07h
08h
09h
0Ah
0Bh - 7Fh
80h - FFh
ADDITIONAL LENGTH field
The ADDITIONAL LENGTH field indicates the number of sense data descriptor specific bytes that follow in the sense data descriptor.
Block commandsSBC-4
OSD object identificationOSD
OSD response integrity check valueOSD
OSD attribute identificationOSD
ATA ReturnSAT
Another Progress indication2.4.1.1.6
Reserved
Vendor specific2.4.1.1.7
SCSI Commands Reference Manual, Rev. L48
www.seagate.com General Concepts
2.4.1.1.2Information sense data descriptor
The information sense data descriptor (see table 15) provides information that is device-type or command specific and is defined in a
command standard.
Table 15 Information sense data descriptor format
Bit
Byte
0
1
2
3
4
. . .
11
DESCRIPTOR TYPE and ADDITIONAL LENGTH fields
The DESCRIPTOR TYPE and ADDITIONAL LENGTH fields are described in 2.4.1.1.1. For the information sense data descriptor, the DESCRIPTOR
TYPE field shall be set to 00h and the ADDITIONAL LENGTH field shall be set to 0Ah.
VALID b it
The VALID bit shall be set to one.
76543210
DESCRIPTOR TYPE (00h)
ADDITIONAL LENGTH (0Ah)
VALID (1b)Reserved
Reserved
(MSB)
INFORMATION
(LSB)
NOTEIn the fixed format sense data, the VALID bit indicates whether the contents of the INFORMATION field
is valid as defined by a command standard. Since the contents of the INFORMATION field are valid
whenever an information sense data descriptor is included in the sense data, the only legal value for
the VALID bit is set to one.
INFORMATION field
The contents of the INFORMATION field are device-type or command specific and are defined in a command standard. When a four byte quantity is stored in the INFORMATION field, the first four bytes shall be zero.
2.4.1.1.3Command-specific information sense data descriptor
The command-specific information sense data descriptor (see table 16) provides information that depends on the command on which the
exception condition occurred.
Table 16 Command-specific information sense data descriptor format
Bit
Byte
0
1
2
3
4
. . .
11
76543210
DESCRIPTOR TYPE (01h)
ADDITIONAL LENGTH (0Ah)
Reserved
Reserved
(MSB)
COMMAND SPECIFIC INFORMATION
(LSB)
SCSI Commands Reference Manual, Rev. L49
www.seagate.com General Concepts
DESCRIPTOR TYPE and ADDITIONAL LENGTH fields
The DESCRIPTOR TYPE and ADDITIONAL LENGTH fields are described in 2.4.1.1.1. For the command-specific information sense data descriptor,
the DESCRIPTOR TYPE field shall be set to 01h and the ADDITIONAL LENGTH field shall be set to 0Ah.
COMMAND-SPECIFIC INFORMATION field
The COMMAND-SPECIFIC INFORMATION field contains information that depends on the command on which the exception condition occurred.
When a four byte quantity is stored in the COMMAND-SPECIFIC INFORMATION field, the first four bytes shall be zero.
Further meaning for the COMMAND-SPECIFIC INFORMATION field is defined within the command description in the appropriate command
standard (e.g., see SBC-4 for the REASSIGN BLOCKS commands, or SPC-6 for the EXTENDED COPY command).
2.4.1.1.4Sense key specific sense data descriptor
2.4.1.1.4.1Sense key specific sense data descriptor introduction
The sense key specific sense data descriptor (see table 17) provides additional information about the exception condition. The format and
content of the sense-key specific data depends on the value in the SENSE KEY field (see 2.4.1.1.1).
Table 17 Sense key specific sense data descriptor format
Bit
Byte
0
1
2
3
4
5
6
7
DESCRIPTOR TYPE and ADDITIONAL LENGTH fields
The DESCRIPTOR TYPE and ADDITIONAL LENGTH fields are described in 2.4.1.1.1. For the sense-key specific sense data descriptor, the DESCRIPTOR T YPE field shall be set to 01h and the ADDITIONAL LENGTH field shall be set to 06h.
SKSV (Sense-key specific valid) bit
The sense-key specific valid (SKSV) bit shall be set to one.
76543210
DESCRIPTOR TYPE (02h)
ADDITIONAL LENGTH (06h)
Reserved
Reserved
SKSV (1b)
SENSE KEY SPECIFIC
Reserved
NOTEIn the fixed format sense data, the SKSV bit indicates whether the contents of the SENSE KEY SPECIFIC
field are valid as defined by a command standard. Since the contents of the SENSE KEY SPECIFIC field
are valid whenever a sense key specific sense data descriptor is included in the sense data, the only
legal value for the SKSV bit is set to one.
SCSI Commands Reference Manual, Rev. L50
www.seagate.com General Concepts
The definition of the SENSE KEY SPECIFIC field (see table 18) is determined by the value of the SENSE KEY field (see 2.4.1.1.1).
Table 18 Sense key specific field definitions
Sense KeySense Key Specific Field DefinitionReference
ILLEGAL REQUESTField pointer2.4.1.1.4.2
HARDWARE ERROR,
MEDIUM ERROR, or
RECOVERED ERROR
NO SENSE or NOT READYProgress indication2.4.1.1.4.4
COPY ABORTEDSegment pointer2.4.1.1.4.5
UNIT ATTENTIONUnit attention condition queue overflow2.4.1.1.4.6
All other sense keys
2.4.1.1.4.2Field pointer sense key specific data
If the SENSE KEY is ILLEGAL REQUEST, then the SENSE KEY SPECIFIC field shall be as shown in table 19.
Table 19 Field pointer sense key specific data
Actual retry count2.4.1.1.4.3
The sense key specific sense data descriptor shall not appear in the descriptor format sense
data and the SKSV bit (see 2.4.1.2) shall be set to zero in the fixed format sense data.
Bit
Byte
0
1
2
SKSV bit
The SKSV bit is described in 2.4.1.1.4.1 for descriptor format sense data and in 2.4.1.2 for fixed format sense data.
C/D (Command Data) bit
76543210
SKSV (1b)C/DReservedBPVBIT POINTER
(MSB)
FIELD POINTER
(LSB)
0 A C/D bit set to zero indicates that the illegal parameter is in the data parameters sent by the application client in the Data-Out Buffer.
1A C/D bit set to one indicates that the illegal parameter is in the CDB.
BPV (Bit Pointer Valid) bit
0A BPV bit set to zero indicates that the value in the BIT POINTER field is not valid.
1A BPV bit set to one indicates that the BIT POINTER field specifies which bit of the byte designated by the FIELD POINTER field is in error.
When a multiple-bit field is in error, the BIT POINTER field shall point to the first bit (i.e., the left-most bit) of the field.
FIELD POINTER field
The FIELD POINTER field indicates which byte of the CDB or of the parameter data was in error. Bytes are numbered starting from zero, as
shown in the tables describing the commands and parameters. When a multiple-byte field is in error, the field pointer shall point to the first
byte (i.e., the left-most byte) of the field. If several consecutive bytes are reserved, each shall be treated as a single-byte field.
NOTEThe bytes identified as being in error are not necessarily the bytes that need to be changed to correct
the problem.
SCSI Commands Reference Manual, Rev. L51
www.seagate.com General Concepts
2.4.1.1.4.3Actual retry count sense key specific data
If the sense key is HARDWARE ERROR, MEDIUM ERROR, or RECOVERED ERROR, then the SENSE KEY SPECIFIC field shall be as shown in table 20.
Table 20 Actual retry count sense key specific data
Bit
Byte
0
1
2
SKSV bit
The SKSV bit is described in 2.4.1.1.4.1 for descriptor format sense data and in 2.4.1.2 for fixed format sense data.
ACTUAL RETRY COUNT field
The ACTUAL RETRY COUNT field returns vendor specific information on the number of retries of the recovery algorithm used in attempting to
recover an error or exception condition.
76543210
SKSV (1b)Reserved
(MSB)
ACTUAL RETRY COUNT
(LSB)
NOTEThis field should be computed in the same way as the retry count fields within the Read-Write Error
Recovery mode page.
2.4.1.1.4.4Progress indication sense key specific data
If the sense key is NO SENSE or NOT READY, the SENSE KEY SPECIFIC field shall be as shown in table 21.
Table 21 Progress indication sense key specific data
Bit
Byte
0
1
2
76543210
SKSV (1b)Reserved
(MSB)
PROGRESS INDICATION
(LSB)
SKSV bit
The SKSV bit is described in 2.4.1.1.4.1 for descriptor format sense data and in 2.4.1.2 for fixed format sense data.
PROGRESS INDICATION field
The PROGRESS INDICATION field is a percent complete indication in which the returned value is a numerator that has 65 536 (10000h) as its
denominator. The progress indication shall be based upon the total operation.
NOTEThe progress indication should be time related, however this is not an absolute requirement. (E.g.,
since format time varies with the number of defects encountered, etc., it is reasonable for the device
server to assign values to various steps within the process. The granularity of these steps should be
small enough to provide reasonable assurances to the application client that progress is being made.)
SCSI Commands Reference Manual, Rev. L52
www.seagate.com General Concepts
2.4.1.1.4.5Segment pointer sense key specific data
If the sense key is COPY ABORTED, the SENSE KEY SPECIFIC field shall be as shown in table 22.
Table 22 Segment pointer sense key specific data
Bit
Byte
0
1
2
SKSV bit
The SKSV bit is described in 2.4.1.1.4.1 for descriptor format sense data and in 2.4.1.2 for fixed format sense data.
SD (SEGMENT DESCRIPTOR) bit
The SD bit indicates whether the field pointer is relative to the start of the parameter list or to the start of a segment descriptor.
76543210
SKSV (1b)ReservedSDReservedBPVBIT POINTER
(MSB)
FIELD POINTER
(LSB)
0An SD bit set to zero indicates that the field pointer is relative to the start of the parameter list.
1An SD bit set to one indicates that the field pointer is relative to the start of the segment descriptor indicated by the third and fourth
bytes of the COMMAND-SPECIFIC INFORMATION field.
BPV (BIT POINTER VALID) bit
0A BPV bit set to zero indicates that the value in the BIT POINTER field is not valid.
1A BPV bit set to one indicates that the BIT POINTER field specifies which bit of the byte designated by the FIELD POINTER field is in error.
When a multiple-bit field is in error, the BIT POINTER field shall point to the most-significant (i.e., left-most) bit of the field.
FIELD POINTER field
The FIELD POINTER field indicates which byte of the parameter list or segment descriptor was in error.
If the parameter list is in excess of 65 528 bytes in length and SD is set to zero, the FIELD POINTER value may not fit in two bytes provided by the
sense key specific sense data descriptor.
2.4.1.1.4.6Unit attention condition queue overflow sense key specific data
If the sense key is UNIT ATTENTION, the SENSE KEY SPECIFIC field shall be as shown in table 23
Table 23 Unit attention condition queue overflow sense key specific data
Bit
Byte
0
1
2
SKSV bit
The SKSV bit is described in 2.4.1.1.4.1 for descriptor format sense data and in 2.4.1.2 for fixed format sense data.
OVERFLOW bit
76543210
SKSV (1b)Reserved
Reserved
OVERFLOW
0An OVERFLOW bit set to zero indicates that the unit attention condition queue has not overflowed.
1An OVERFLOW bit set to one indicates that the unit attention condition queue has overflowed.
SCSI Commands Reference Manual, Rev. L53
www.seagate.com General Concepts
2.4.1.1.5Field replaceable unit sense data descriptor
The field replaceable unit sense data descriptor (see table 24) provides information about a component that has failed.
Table 24 Field replaceable unit sense data descriptor format
Bit
76543210
Byte
0
1
2
3
DESCRIPTOR TYPE (03h)
ADDITIONAL LENGTH (02h)
Reserved
FIELD REPLACEABLE UNIT CODE
DESCRIPTOR TYPE and ADDITIONAL LENGTH fields
The DESCRIPTOR TYPE and ADDITIONAL LENGTH fields are described in 2.4.1.1.1. For the field replaceable unit sense data descriptor, the
DESCRIPTOR TYPE field shall be set to 03h and the ADDITIONAL LENGTH field shall be set to 02h.
FIELD REPLACEABLE UNIT CODE field
Non-zero values in the FIELD REPLACEABLE UNIT CODE field are used to identify a component that has failed. A value of zero in this field indicates that no specific component has been identified to have failed or that the data is not available. The format of this information is not specified by this manual. Additional information about the field replaceable unit may be available in the ASCII Information VPD page, if supported
by the device server.
2.4.1.1.6Progress indication sense data descriptor
If the sense key is set to NO SENSE or NOT READY, the progress indication sense data descriptor (see table 25) may be used to provide a
progress indication for one operation other than the one described by the non-descriptor fields in 2.4.1.1.1. The sense data should include one
progress indication sense data descriptor for each operation for which the device server is able to report progress other than the operation
described by the non-descriptor fields in 2.4.1.1.1.
Table 25 Progress indications sense data descriptor format
Bit
76543210
Byte
0
1
2
3
4
5
6
MSB
DESCRIPTORTYPE (0Ah)
ADDITIONALLENGTH (06h)
sense key
additional sense code
additional sense code qualifier
Reserved
progress indication
7
DESCRIPTOR TYPE and ADDITIONAL LENGTH fields
The DESCRIPTOR TYPE field and ADDITIONAL LENGTH field are described in 2.4.1.1.1.
For the progress indications sense data descriptor:
a)the DESCRIPTOR TYPE field shall be set to 0Ah; and
b)the ADDITIONAL LENGTH field shall be set to 06h.
LSB
SCSI Commands Reference Manual, Rev. L54
www.seagate.com General Concepts
SENSE KEY field
The SENSE KEY field indicates the operation for which this progress indication sense data descriptor provides a progress indication. A list of
sense key values is in
ADDITIONAL SENSE CODE field
The ADDITIONAL SENSE CODE (ASC) field indicates the operation for which this progress indication sense data descriptor provides a progress
indication. A list of additional sense codes is in 2.4.1.6.
ADDITIONAL SENSE CODE QUALIFIER field
The ADDITIONAL SENSE CODE QUALIFIER (ASCQ) field indicates detailed information related to the additional sense code for the operation for
which this progress indication sense data descriptor provides a progress indication. The value returned in the ADDITIONAL SENSE CODE QUALIFIER (ASCQ) field shall be as specified in 2.4.1.6.
PROGESS INDICATION field
The PROGESS INDICATION field indicates a percent complete for the operation indicated by the SENSEKEY field, the ADDITIONAL SENSE CODE
field, and the ADDITIONAL SENSE CODE QUALIFIER field. The value in the PROGESS INDICATION field shall be as defined in 2.4.1.1.4.4.
2.4.1.5.
2.4.1.1.7Vendor specific sense data descriptors
Vendor specific sense data descriptors (see table 26) contain vendor specific data that further defines the nature of the exception condition.
Table 26 Vendor specific sense data descriptor format
Bit
Byte
0
1
2
. . .
n
DESCRIPTOR TYPE and ADDITIONAL LENGTH fields
The DESCRIPTOR TYPE and ADDITIONAL LENGTH fields are described in 2.4.1.1.1. For the vendor specific sense data descriptor, the DESCRIPTOR T YPE field shall be set to a value between 80h and FFh, inclusive.
76543210
DESCRIPTOR TYPE (80h - FFh)
ADDITIONAL LENGTH (n-1)
(MSB)
VENDOR SPECIFIC
(LSB)
SCSI Commands Reference Manual, Rev. L55
www.seagate.com General Concepts
2.4.1.2Fixed format sense data
The fixed format sense data for response codes 70h (current errors) and 71h (deferred errors) is defined in table 27.
Table 27 Fixed format sense data
Bit
Byte
0VALIDRESPONSE CODE (70h OR 71h)
1Obsolete
2FILEMARKEOMILIReservedSENSE KEY
3(MSB)
6(LSB)
7ADDITIONAL SENSE LENGTH (n-7)
8(MSB)
11(LSB)
12ADDITIONAL SENSE CODE
13ADDITIONAL SENSE CODE QUALIFIER
14FIELD REPLACEABLE UNIT CODE
15SKSV(MSB)
76543210
INFORMATION. . .
COMMAND-SPECIFIC INFORMATION. . .
SENSE KEY SPECIFIC. . .
17(LSB)
18(MSB)
ADDITIONAL SENSE BYTES. . .
n(LSB)
VALID b it
0A VALID bit set to zero indicates that the INFORMATION field is not defined in this manual or any command standard.
1A VALID bit set to one indicates the INFORMATION field contains valid information as defined in this manual or a command standard.
RESPONSE CODE field
The contents of the RESPONSE CODE field indicate the error type and format of the sense data (see 2.4.1). For fixed format sense data, the
RESPONSE CODE field shall be set to 70h or 71h.
FILE MARK bit
See the SSC-3 READ and SPACE commands for examples of FILEMARK bit usage.
EOM (End-of-Medium) bit
See the SSC-3 READ, SPACE, and WRITE commands for examples of end-of-medium (EOM) bit usage.
ILI (Incorrect length indicator) Bit
See the SBC-4 READ LONG, SBC-4 WRITE LONG, and SSC-3 READ commands and for examples of incorrect length indicator (ILI) bit usage.
SCSI Commands Reference Manual, Rev. L56
www.seagate.com General Concepts
SENSE KEY, ADDITONAL SENSE CODE, and ADDITIONAL SENSE CODE QUALIFIER fields
The SENSE KEY, ADDITIONAL SENSE CODE, and ADDITIONAL SENSE CODE QUALIFIER fields are described in 4.5.2.1.
INFORMATION field
The contents of the INFORMATION field is device-type or command specific and is defined within the appropriate standard for the device type
or command of interest. targets shall implement the INFORMATION field. Unless specified otherwise, this field contains:
a)the unsigned LOGICAL BLOCK ADDRESS associated with the sense key, for direct-access devices (device type 0), write-once devices
(device type 4), CD-ROM devices (device type 5), and optical memory devices (device type 7);
b)the difference (residue) of the requested length minus the actual length in either bytes or blocks, as deter-mined by the command, for
sequential-access devices (device type 1), printer devices (device type 2), processor devices (device type 3) and some direct access
device commands, except as defined for d) below. Negative values are indicated by two's complement notation;
c)the difference (residue) of the requested number of blocks minus the actual number of blocks copied or compared for the current
segment descriptor of a COPY, COMPARE, COPY AND VERIFY, or Extended COPY command; or
d)for sequential-access devices operating in buffered modes 1h or 2h that detect an unrecoverable write error when unwritten data
blocks, filemarks, or setmarks remain in the buffer, the value of the information field for all commands shall be:
A)the total number of data blocks, filemarks, and setmarks in the buffer if the device is in fixed block mode (block length field of the
MODE SENSE block descriptor is non-zero and the fixed bit of the WRITE command is one); or
B)the number of bytes in the buffer, including filemarks and setmarks, if the device is in variable mode (the fixed bit of the WRITE
command is zero).
ADDITIONAL SENSE LENGTH field
The ADDITIONAL SENSE LENGTH field indicates the number of additional sense bytes that follow. The additional sense length shall be less than
or equal to 244 (i.e., limiting the total length of the sense data to 252 bytes). If the sense data is being returned as parameter data by a REQUEST
SENSE command, then the relationship between the ADDITIONAL SENSE LENGTH field and the CDB ALLOCATION LENGTH field is defined in
2.2.6.
COMMAND-SPECIFIC INFORMATION field
The COMMAND-SPECIFIC INFORMATION field contains information that depends on the command on which the exception condition occurred.
FIELD REPLACEABLE UNIT CODE field
The FIELD REPLACEABLE UNIT CODE field is described in 2.4.1.1.5.
SKSV (Sense-key Specific Valid) bit
1A sense-key specific valid (SKSV) bit set to one indicates the SENSE KEY SPECIFIC field contains valid information as defined in this man-
ual.
0An SKSV bit set to zero indicates that the SENSE KEY SPECIFIC field is not as defined by this manual.
SENSE KEY SPECIFIC field
The SENSE KEY SPECIFIC field is described in 2.4.1.1.4.
The additional sense bytes may contain vendor specific data that further defines the nature of the exception condition.
2.4.1.3Current errors
Response codes 70h and 72h (current error) indicate that the sense data returned is the result of an error or exception condition on the task that
returned the CHECK CONDITION status or a protocol specific failure condition. This includes errors generated during processing of
the command. It also includes errors not related to any command that are detected during processing of a command (e.g., disk
servo-mechanism failure, off-track errors, or power-up test errors).
SCSI Commands Reference Manual, Rev. L57
www.seagate.com General Concepts
2.4.1.4Deferred errors
Response codes 71h and 73h (deferred error) indicate that the sense data returned is the result of an error or exception condition that occurred
during processing of a previous command for which GOOD, CONDITION MET, INTERMEDIATE, and INTERMEDIATE-CONDITION MET status has
already been returned. Such commands are associated with the use of the immediate bit and with some forms of caching. Device servers that
implement these features shall implement deferred error reporting.
The deferred error may be indicated by returning CHECK CONDITION status to an application client accessed through a defined I_T nexus as
described in this subclause.
If the task terminates with CHECK CONDITION status and the sense data describes a deferred error, the command for the terminated task shall
not have been processed. After the device server detects a deferred error condition, it shall return a deferred error according to the following
rules:
a)If no external intervention is necessary to recover a deferred error, a deferred error indication shall not be returned unless
required by the error handling parameters of a MODE SELECT command. The occurrence of the error may be logged;
b)If it is possible to associate a deferred error with an I_T nexus and with a particular function or a particular subset of data, and the error is
either unrecovered or required to be reported by the mode parameters, then a deferred error indication shall be returned for a command received on the I_T nexus associated with the deferred error. If an application client request received on an I_T nexus other than
the I_T nexus associated with the deferred error attempts to access the particular function or subset of data associated with the deferred
error and the TST field equals 000b, then the device server shall respond to the command with a BUSY or ACA ACTIVE status according
to the requirements in SAM-6. If an application client request received on an I_T nexus other than the I_T nexus associated with the
deferred error attempts to access the particular function or subset of data associated with the deferred error and the TST field equals
001b, then the command attempting the access shall not be blocked by the deferred error and the cause of the deferred error may result
in an error being reported for the command attempting the access;
b)If the device server is unable to associate a deferred error with an I_T nexus or with a particular subset of data, the device server shall
return a deferred error for one command received on each I_T nexus. If multiple deferred errors have accumulated for an I_T nexus, only
the last error shall be returned;
b)If the SCSI target device is unable to associate a deferred error with a particular logical unit, it shall establish a deferred error for every
logical unit and shall return the deferred error for one command for each logical unit received on each appropriate I_T nexus; or
b)If a task has never entered the enabled task state, and a deferred error occurs, the task shall be terminated with CHECK CONDITION sta-
tus and deferred error information returned in the sense data. If a deferred error occurs after a task has entered the enabled task state
and the task is affected by the error, the task shall be terminated with CHECK CONDITION status and the current error information shall
be returned in the sense data. In this case, if the current error information does not adequately define the deferred error condition, a
deferred error may be returned after the current error information has been returned. If a deferred error occurs after a task has entered
the enabled task state and the task completes successfully, the device server may choose to return the deferred error information after
the completion of the current command in conjunction with a subsequent command that has not begun processing.
NOTEA deferred error may indicate that an operation was unsuccessful long after GOOD status was
returned. If the application client is unable to replicate or recover from other sources the data that is
being written using cached or buffered write operations, then synchronization commands should be
performed before the critical data is destroyed. This is necessary for actions taken when deferred
errors occur in the storing of the data. The synchronizing process should provide the necessary
commands to allow returning CHECK CONDITION status and subsequent returning of deferred error
sense information after all cached or buffered operations are completed.
SCSI Commands Reference Manual, Rev. L58
www.seagate.com General Concepts
2.4.1.5Sense key and sense code definitions
The sense keys are defined in table 28.
Table 28 Sense key descriptions
Sens
e
Key
0h
1h
2h
3h
4h
5h
6h
7h
8h
9h
Ah
Bh
Ch
Dh
Eh
Fh
NO SENSE: Indicates that there is no specific sense key information to be reported. This may occur for a successful command or
for a command that receives CHECK CONDITION status because one of the FILEMARK, EOM, or ILI bits is set to one.
RECOVERED ERROR: Indicates that the command completed successfully, with some recovery action performed by the device
server. Details may be determined by examining the additional sense bytes and the INFORMATION field. When multiple recovered
errors occur during one command, the choice of which error to report (e.g., first, last, most severe) is vendor specific.
NOT READY: Indicates that the logical unit is not accessible. Operator intervention may be required to correct this condition.
MEDIUM ERROR: Indicates that the command terminated with a non-recovered error condition that may have been caused by a
flaw in the medium or an error in the recorded data. This sense key may also be returned if the device server is unable to
distinguish between a flaw in the medium and a specific hardware failure (i.e., sense key 4h).
HARDWARE ERROR: Indicates that the device server detected a non-recoverable hardware failure (e.g., controller failure, device
failure, or parity error) while performing the command or during a self test.
ILLEGAL REQUEST: Indicates that:
a)The command was addressed to an incorrect logical unit number (see SAM-6);
b)The command had an invalid task attribute (see SAM-6);
c)The command was addressed to a logical unit whose current configuration prohibits processing the command;
d)There was an illegal parameter in the CDB; or
e)There was an illegal parameter in the additional parameters supplied as data for some commands (e.g., PERSISTENT
RESERVE OUT).
If the device server detects an invalid parameter in the CDB, it shall terminate the command without altering the medium. If the
device server detects an invalid parameter in the additional parameters supplied as data, the device server may have already
altered the medium.
UNIT ATTENTION: Indicates that a unit attention condition has been established (e.g., the removable medium may have been
changed, a logical unit reset occurred). See SAM-6.
DATA PROTECT: Indicates that a command that reads or writes the medium was attempted on a block that is protected. The read
or write operation is not performed.
BLANK CHECK: Indicates that a write-once device or a sequential-access device encountered blank medium or format-defined
end-of-data indication while reading or that a write-once device encountered a non-blank medium while writing.
VENDOR SPECIFIC: This sense key is available for reporting vendor specific conditions.
COPY ABORTED: Indicates an EXTENDED COPY command was aborted due to an error condition on the source device, the
destination device, or both.
ABORTED COMMAND: Indicates that the device server aborted the command. The application client may be able to recover by
trying the command again.
Reserved
VOLUME OVERFLOW: Indicates that a buffered SCSI device has reached the end-of-partition and data may remain in the buffer
that has not been written to the medium. One or more RECOVER BUFFERED DATA command(s) may be issued to read the
unwritten data from the buffer. (See SSC-3.)
MISCOMPARE: Indicates that the source data did not match the data read from the medium.
COMP LETED: Indicates there is command completed sense data (see SAM-6) to be reported. This may occur for a successful
command.
Description
SCSI Commands Reference Manual, Rev. L59
www.seagate.com General Concepts
2.4.1.6Additional Sense and Additional Sense Qualifier codes
Table 29 lists the Additional Sense (ASC) and Additional Sense Qualifier (ASCQ) codes. Code values are in hexadecimal.
ANSI standard SPC-6 lists a more complete table.
NOTETab l e 29 is for reference only, as not all drives covered by this manual support all of the codes listed.
Codes without sense key references may or may not be supported.
Table 29 Additional Sense and Additional Sense Qualifier codes
ASC (byte
12)
0000No Additional Sense Information0
0100No Index/Logical Block Signal4
0200No SEEK Complete4
0300Peripheral Device Write Fault1, 3, 4
0386Write Fault Data Corruption
0400Logical Unit Not Ready, Cause Not Reportable2
0401Logical Unit Not Ready, Becoming Ready2
0402Logical Unit Not Ready, START UNIT Required2
0403Logical Unit Not Ready, Manual Intervention Required2
0404Logical Unit Not Ready, Format in Progress2
0409Logical Unit Not Ready, Self Test in Progress2
040ALogical Unit Not Ready, NVC recovery in progress after and exception event2
0411Logical Unit Not Ready, Notify (Enable Spinup) required2
0422Logical unit not ready, power cycle required2
04F0Logical unit not ready, super certify in progress2
0800Logical Unit Communication Failure9, B
0801Logical Unit Communication Time-OutB
0802Logical Unit Communication Parity Error
0900Track Following Error1, 3, 4
0901Servo Fault1, 4
0904Head Select Fault3, 4
090DWrite to at least one copy of a redundant file failed1
090ERedundant files have < 50% good copies1
09F8Calibration is needed but the QST is set without the Recal Only bit1
09FFServo Cal completed as part of self-test1
0A00Error Log Overflow
0A01Failed to write super certify log file3
0A02Failed to read super certify log file3
0B00Aborted CommandB
0B01Warning—Specified Temperature Exceeded1, 6
0B02Warning, Enclosure Degraded1
0C00Write Error3
0C01Write Error Recovered With Auto-Reallocation1
0C02Write Error—Auto Reallocation Failed3
0C03Write Error—Recommend Reassignment3
ASCQ (byte
13)
DescriptionSense
Key
SCSI Commands Reference Manual, Rev. L60
www.seagate.com General Concepts
Table 29 Additional Sense and Additional Sense Qualifier codes
808AHost FIFO Parity Error detected by Common Buffer9
808BHost FIFO Parity Error detected by frame buffer logic9
808CHost Data Frame Buffer Parity Error9
8100Reassign Power—Fail Recover y Faile d
8100LA Check Error, LCM bit = 04
8100LA Check ErrorB
B400Unreported Deferred Errors have been logged on log page 34h6
ASCQ (byte
13)
00Log Exception
DescriptionSense
Key
[1] Can be supported, but is a factory installed option.
SCSI Commands Reference Manual, Rev. L64
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
3.Direct Access Block commands (SPC-6 and SBC-4)
This clause describes the commands supported by Seagate Disk Drives.
Commands that have been supported prior to this manual being produced and that are now indicated as obsolete will be described in this
clause as obsolete. However, a description will be provided for such commands.
Commands that have been declared obsolete by the T10 committee and were never supported by Seagate are not included in this manual.
Commands that have not been supported in the past, but may be supported in the near future will be included in this manual.
This clause contains information about the commands used by Serial Attached SCSI disk drives. This clause is organized to provide rapid access
to command information.
Two types of commands are supported by the drive: commands for all devices; and commands for direct access devices. The individual Product
Manuals for each Seagate model drive list the Commands and parameter pages that the particular drive supports.
Table 30 Commands sorted by command name
Command name
BACKGROUND CONTROL
CHANGE DEFINITION
FORMAT UNIT
GET LBA STATUS (16)
GET LBA STATUS (32)
GET PHYSICAL ELEMENT STATUS
GET STREAM STATUS
INQUIRY
LOG SELECT
LOG SENSE
MODE SELECT (6)
MODE SELECT (10)
MODE SENSE (6)
MODE SENSE (10)
PERSISTENT RESERVE IN
PERSISTENT RESERVE OUT
READ (6)
READ (10)
READ (12)
READ (16)
READ (32)
READ BUFFER (10)
READ BUFFER (16)
[2]
[2]
Command type
OP code
7Fh/0012hx3.5
7Fh/0009hx3.21
[1]
9Eh/15hx3.1
40hx 3.2
04hx3.3
9Eh/12hx3.4
9Eh/17hx3.6
9Eh/16hx3.7
12hx3.8
4Chx3.9
4Dhx3.10
15hx3.11
55hx3.12
1Ahx3.13
5Ahx3.14
5Ehx3.15
5Fhx3.16
08hx3.17
28hx3.18
A8hx3.19
88hx3.20
3Chx3.22
9Bhx3.23
All
devices
Direct access
devices
Clause
Reference
SCSI Commands Reference Manual, Rev. L65
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
Command name
READ CAPACITY (10)
READ CAPACITY (16)
READ DEFECT DATA (10)
READ DEFECT DATA (12)
READ LONG (10)
READ LONG (16)
[2]
[2]
REASSIGN BLOCKS
RECEIVE DIAGNOSTIC RESULTS
RELEASE (6)
RELEASE (10)
[2]
[2]
REMOVE ELEMENT AND TRUNCATE
REPORT IDENTIFYING INFORMATION
REPORT LUNS
REPORT SUPPORTED OPERATIONS CODES
REPORT SUPPORTED TASK MANAGEMENT FUNCTIONS
REPORT TIMESTAMP
REQUEST SENSE
RESERVE (6)
RESERVE (10)
[2]
[2]
RESTORE ELEMENTS AND REBUILD
REZERO UNIT
[2]
SANITIZE
SECURITY PROTOCOL IN
SECURITY PROTOCOL OUT
SEEK (6)
SEEK EXTENDED (10)
[2]
[2]
SEND DIAGNOSTIC
SET IDENTIFYING INFORMATION
SET TIMESTAMP
START/STOP UNIT
STREAM CONTROL
SYNCHRONIZE CACHE (10)
SYNCHRONIZE CACHE (16)
OP code
[1]
Command type
All
devices
Direct access
devices
Clause
Reference
25hx3.24
9Eh/10hx3.25
37hx3.26
B7hx3.27
3Ehx3.28
9Eh/11hx3.29
07hx3.30
1Chx3.31
17hx 3.32
57hx 3.33
9Eh/18hx3.34
A3h/05hx3.35
A0hx3.36
A3h/0Chx3.37
A3h/0Dhx3.38
A3h/0Fhx3.39
03hx3.40
16hx 3.41
56hx 3.42
9Eh/19hx3.43
01hx 3.44
48hx3.45
A2hx3.46
B5hx3.47
0Bhx 3.48
2Bhx3.49
1Dhx3.50
A4h/06hx3.51
A4h/0Fhx3.52
1Bhx3.53
9Eh/14hx3.54
35hx3.55
91hx3.56
SCSI Commands Reference Manual, Rev. L66
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
TEST UNIT READY
UNMAP
VERIFY(10)
VERIFY (12)
VERIFY (16)
VERIFY (32)
WRITE (6)
WRITE (10)
WRITE (12)
WRITE (16)
WRITE (32)
WRITE AND VERIFY (10)
WRITE AND VERIFY (12)
WRITE AND VERIFY (16)
WRITE AND VERIFY (32)
WRITE ATOMIC (16)
WRITE ATOMIC (32)
WRITE BUFFER
WRITE LONG
WRITE LONG (16)
WRITE SAME (10)
WRITE SAME (16)
WRITE SAME (32)
WRITE STREAM (16)
WRITE STREAM (32)
[2]
Command name
Command type
OP code
7Fh/000Ahx3.62
7Fh/000Bhx3.67
7Fh/000Chx3.71
7Fh/0018hx3.73
7Fh/000Dhx3.79
[1]
00hx3.57
42hx3.58
2Fhx3.59
AFhx3.60
8Fhx3.61
0Ahx3.63
2Ahx3.64
AAhx3.65
8Ahx3.66
2Ehx3.68
AEhx3.69
8Ehx3.70
9Chx3.72
3Bhx3.74
3Fhx3.75
9Fh/11hx3.76
41hx3.77
93hx3.78
9Ahx3.80
7Fhx3.81
All
devices
Direct access
devices
Clause
Reference
[1]Some commands are defined by a combination of operation code and service action.
The operation code value is shown preceding the slash and the service action value is shown after the slash.
[2] Command has been declared obsolete by the T10 committee. However, it is included because it may be implemented on
some products.
SCSI Commands Reference Manual, Rev. L67
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
Table 31 Commands sorted by operation code
Command name
TEST UNIT READY
REZERO UNIT
[2]
REQUEST SENSE
FORMAT UNIT
REASSIGN BLOCKS
READ (6)
WRITE (6)
SEEK (6)
[2]
[2]
[2]
INQUIRY
MODE SELECT (6)
RESERVE (6)
RELEASE (6)
[2]
[2]
MODE SENSE (6)
START/STOP UNIT
RECEIVE DIAGNOSTIC RESULTS
SEND DIAGNOSTIC
READ CAPACITY (10)
READ (10)
WRITE (10)
SEEK EXTENDED (10)
[2]
WRITE AND VERIFY (10)
VERIFY(10)
SYNCHRONIZE CACHE (10)
READ DEFECT DATA (10)
WRITE BUFFER
READ BUFFER (10)
READ LONG (10)
[2]
WRITE LONG
CHANGE DEFINITION
[2]
WRITE SAME (10)
UNMAP
SANITIZE
Command type
OP code
[1]
All
devices
Direct access
devices
00hx3.57
01hx 3.43
03hx3.40
04hx3.3
07hx3.30
08hx3.17
0Ahx3.63
0Bhx 3.48
12hx3.8
15hx3.11
16hx 3.41
17hx 3.32
1Ahx3.13
1Bhx3.53
1Chx3.31
1Dhx3.50
25hx3.24
28hx3.18
2Ahx3.64
2Bhx3.49
2Ehx3.68
2Fhx3.59
35hx3.55
37hx3.26
3Bhx3.74
3Chx3.22
3Ehx3.28
3Fhx3.75
40hx 3.2
41hx3.77
42hx3.58
48hx3.45
Clause
Reference
SCSI Commands Reference Manual, Rev. L68
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
Command name
LOG SELECT
LOG SENSE
MODE SELECT (10)
RESERVE (10)
RELEASE (10)
[2]
[2]
MODE SENSE (10)
PERSISTENT RESERVE IN
PERSISTENT RESERVE OUT
WRITE STREAM (32)
READ (32)
VERIFY (32)
WRITE (32)
WRITE AND VERIFY (32)
WRITE SAME (32)
GET LBA STATUS (32)
WRITE ATOMIC (32)
READ (16)
WRITE (16)
WRITE AND VERIFY (16)
VERIFY (16)
SYNCHRONIZE CACHE (16)
WRITE SAME (16)
WRITE STREAM (16)
READ BUFFER (16)
WRITE ATOMIC (16)
READ CAPACITY (16)
READ LONG (16)
[2]
GET LBA STATUS (16)
STREAM CONTROL
BACKGROUND CONTROL
GET STREAM STATUS
GET PHYSICAL ELEMENT STATUS
REMOVE ELEMENT AND TRUNCATE
OP code
[1]
Command type
All
devices
Direct access
devices
Clause
Reference
4Chx3.9
4Dhx3.10
55hx3.12
56hx 3.42
57hx 3.33
5Ahx3.14
5Ehx3.15
5Fhx3.16
7Fhx3.81
7Fh/0009hx3.21
7Fh/000Ahx3.62
7Fh/000Bhx3.67
7Fh/000Chx3.71
7Fh/000Dhx3.79
7Fh/0012hx3.5
7Fh/0018hx3.73
88hx3.20
8Ahx3.66
8Ehx3.70
8Fhx3.61
91hx3.56
93hx3.78
9Ahx3.80
9Bhx3.23
9Chx3.72
9Eh/10hx3.25
9Eh/11hx3.29
9Eh/12hx3.4
9Eh/14hx3.54
9Eh/15hx3.1
9Eh/16hx3.7
9Eh/17hx3.6
9Eh/18hx3.34
SCSI Commands Reference Manual, Rev. L69
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
Command name
RESTORE ELEMENTS AND REBUILD
WRITE LONG (16)
REPORT LUNS
SECURITY PROTOCOL IN
REPORT IDENTIFYING INFORMATION
REPORT SUPPORTED OPERATIONS CODES
REPORT SUPPORTED TASK MANAGEMENT FUNCTIONS
REPORT TIMESTAMP
SET IDENTIFYING INFORMATION
SET TIMESTAMP
READ (12)
WRITE (12)
WRITE AND VERIFY (12)
VERIFY (12)
SECURITY PROTOCOL OUT
READ DEFECT DATA (12)
Command type
OP code
[1]
9Eh/19hx3.43
9Fh/11hx3.76
A0hx3.36
A2hx3.46
A3h/05hx3.34
A3h/0Chx3.37
A3h/0Dhx3.38
A3h/0Fhx3.39
A4h/06hx3.51
A4h/0Fhx3.52
A8hx3.19
AAhx3.65
AEhx3.69
AFhx3.60
B5hx3.47
B7hx3.27
All
devices
Direct access
devices
Clause
Reference
[1] Some commands are defined by a combination of operation code and service action.
The operation code value is shown preceding the slash and the service action value is shown after the slash.
[2] Command has been declared obsolete by the T10 committee. However, it is included because it may be implemented on
some products.
SCSI Commands Reference Manual, Rev. L70
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
3.1BACKGROUND CONTROL command
The BACKGROUND CONTROL command (see table 32) is used to request that the device server start or stop host initiated advanced
background operations (see 5.3.8), if any.
This command uses the SERVICE ACTION IN (16) CDB format (see SBC-4 - Annex A.2).
Table 32 BACKGROUND CONTROL command
Bit
Byte
0OPERATION CODE (9Eh)
1ReservedSERVICE ACTION (15h)
2BO_CTLReserved
3BO_TIME
4
14
15CONTROL
OPERATION CODE field
The OPERATION CODE field contains the operation code of a command supported by the logical unit and shall be set to the value defined in
table 32.
SERVICE ACTION field
The SERVICE ACTION field is defined in defined in 2.2.2 and set to the value defined in table 32.
BO_CTL field
The background operation control (BO_CTL) field specifies that the device server shall control host initiated advanced background operations
as described in SBC-4. The BO_CTL field is described in Table 33.
Tab le 3 3 BO_CTL field
76543210
Reserved. . .
CodeDescription
00b
01b
10b
11b
BO_TIME field
The background operation time (BO_TIME) field specifies the maximum time that the device server shall have to perform host initiated
advanced background operations in units of 100 ms (see SBC-4). The BO_TIME field is ignored if the BO_CTL field is not set to 01b. A BO_TIME
field set to 00h specifies that there is no limit to the time that the device server may perform host initiated advanced background operations.
CONTROL byte
The CONTROL byte is defined in 2.2.7.
Do not change host initiated advanced background operations.
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
3.2CHANGE DEFINITION command
This command has been declared obsolete by the T10 committee. However, it is included because it may be implemented on some products.
The CHANGE DEFINITION command (see table ) is used to modify the operating definition of the device server(s) with respect to commands
from the sending initiator or with respect to commands from all initiators.
Table 34 CHANGE DEFINITION command
Bit
Byte
0
1
2
3
4
5
6
7
8
9
If reservations are active, they shall affect the execution of the CHANGE DEFINITION command as follows. If the SCSI device does not allow
different operating definitions for each initiator, a reservation conflict shall occur when a CHANGE DEFINITION command is received from an
initiator other than the one holding a logical unit reservation. If any initiator has an extent or element reservation on an SCSI device, no other
initiator may affect the operating definition of the initiator holding the reservation by use of the CHANGE DEFINITION command.
SAVE bit
76543210
OPERATION CODE (40h)
Reserved
ReservedSAVE
ReservedDEFINITION PARAMETER
Reserved
Reserved
Reserved
Reserved
PARAMETER DATA LENGTH
CONTROL
0A save control bit (SAVE) of zero indicates that the device server shall not save the operating definition.
1A Save bit of one indicates that the device server shall save the operating definition in non-volatile memory.
The definition parameter field is defined in Table 35.
Tab le 3 5 Definition parameter field
ValueMeaning of definition parameter
00hUse current operating definition
03hSCSI-2 operating definition
04hSCSI-3 operating definition
01 - 02hReserved for historical uses
05 - 3EhReserved
3FhManufacturer default definition
40 - 7FhVendor specific
The current operating definition parameter values establish operating definitions compatible with the applicable SCSI standard.
SCSI Commands Reference Manual, Rev. L72
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
PARAMETER DATA LENGTH field
The parameter data length field specifies the length in bytes of the parameter data that shall be transferred from the application client to the
device server. A parameter data length of zero indicates that no data shall be transferred. This condition shall not be considered as an error.
Parameter data length values greater than zero indicate the number of bytes of parameter data that shall be transferred.
The parameter data is vendor-specific.
1) The parameter data may be used to specify a password to validate an operating definition change.
The CHANGE DEFINITION command causes one of the operating definition modifications listed below:
a)Change the operating definition of a logical unit relative to all initiators in the system: In this case, the target is capable of
maintaining a separate operating definition for each logical unit relative to all initiators in the system; or
b)Change the operating definition of all logical units in the target relative to all initiators in the system: In this case, the target is capable of
maintaining only one operating definition.
2) This manual does not provide a direct means to determine which of the above methods has been implemented. An
indirect means of determining which method is implemented exists in that the device server is required to inform affected
initiators of operating definition changes via the unit attention condition.
3) The modifications listed c) and d) above may result in incompatibilities if other initiators are using a different SCSI version.
The operating definition is modified after successful completion of the command. The application client should verify the new operating
definition by issuing an INQUIRY command requesting the implemented operating definition page (see SCSI -3).
4) The method of changing the operating definition is vendor-specific. Some implementations may require that the target’s
operating mode be reinitialized as if a power-up or hard reset had occurred. Other implementations may modify only
those operating definitions that are affected by the CHANGE DEFINITION command.
If the CHANGE DEFINITION command is not executed successfully for any reason, the operating definition shall remain the same as it was
before the CHANGE DEFINITION command was attempted. If it is impossible to return to the previous operating definition, a unit attention
condition shall be generated.
5) The present operating definition of the target may always be interrogated through the INQUIRY command. When an
SCSI-3 target has its operating definition changed to an older SCSI operating definition, certain changes are needed to
promote compatibility with preexisting older SCSI initiators.
After a power-on condition or a hard reset condition, the target shall set its initial operating definition of the device server(s) to the last saved
value (if saving is implemented), or its default value (if saving is not implemented).
CONTROL byte
The CONTROL byte is defined in 2.2.7..
SCSI Commands Reference Manual, Rev. L73
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
3.3FORMAT UNIT command
3.3.1FORMAT UNIT command overview
The FORMAT UNIT command (see table 36) requests that the device server format the medium into application client accessible logical blocks
as specified in the number of blocks and block length values received in the last mode parameter block descriptor (see 5.3.4) in a MODE SELECT
command (see 3.11 and 3.12). In addition, the device server may certify the medium and create control structures for the management of the
medium and defects. The degree that the medium is altered by this command is vendor-specific.
If a device server receives a FORMAT UNIT command before receiving a MODE SELECT command with a mode parameter block descriptor the
device server shall use the number of blocks and block length at which the logical unit is currently formatted (i.e., no change is made to the
number of blocks and the block length of the logical unit during the format operation).
Table 36 FORMAT UNIT command
Bit
Byte
0
1
2
3
4
5
While performing a format operation, the device server shall respond to commands attempting to enter into the task set except INQUIRY
commands, REPORT LUNS commands, and REQUEST SENSE commands with CHECK CONDITION status with the sense key set to NOT READY
and the additional sense code set to LOGICAL UNIT NOT READY, FORMAT IN PROGRESS. Handling of commands already in the task set is
vendor-specific. If the device server receives an INQUIRY command, a REPORT LUNS commands, or a REQUEST SENSE command, then the
device server shall process the command. The device server shall return data for an INQUIRY command based on the condition of the SCSI
target device before beginning the FORMAT UNIT command (i.e., INQUIRY data shall not change until after successful completion of a format
operation). The processing of commands in the task set when a FORMAT UNIT command is received is vendor specific.
76543210
OPERATION CODE (04h)
FMTPINFOLONG-LISTFMTDATACMPLISTDEFECT LIST FORMAT
Vendor Specific
Reserved
Reserved
CONTROL
FFMT
SCSI Commands Reference Manual, Rev. L74
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
FMTPINFO (Format Protection Information) field
The format protection information (FMTPINFO) field (see table 42) in combination with the PROTECTION FIELD USAGE field (see 3.3.3) specifies
whether or not the device server enables or disables the use of protection information.
When protection information is written during a FORMAT UNIT command (i.e., the FMTPINFO bit is set to one) protection information shall be
written to a default value of FFFFFFFF_FFFFFFFFh.
LONGLIST bit
If the FMTDATA bit is set to zero, the LONGLIST bit shall be ignored.
0A LONGLIST bit set to zero specifies that the parameter list, if any, contains a short parameter list header as defined in table 40.
1A LONGLIST bit set to one specifies that the parameter list, if any, contains a long parameter list header as defined in table 41.
FMTDATA (Format Data)
0A format data (FMTDATA) bit set to zero specifies that no parameter list be transferred from the data-out buffer.
1A FMTDATA bit set to one specifies that the FORMAT UNIT parameter list (see table 39) shall be transferred from the data-out buffer. The
parameter list consists of a parameter list header, followed by an optional initialization pattern descriptor, followed by an optional defect
list.
CMPLST (Complete List)
If the FMTDATA bit is set to zero, the CMPLIST bit shall be ignored.
0A complete list (CMPLST) bit set to zero specifies that the defect list included in the FORMAT UNIT parameter list shall be used in an addi-
tion to the existing list of defects. As a result, the device server shall construct a new GLIST that contains:
a) the existing GLIST;
b) the DLIST, if it is sent by the application client; and
c) the CLIST, if certification is enabled (i.e., the device server may add any defects it detects during the format operation).
1A CMPLST bit set to one specifies that the defect list included in the FORMAT UNIT parameter list is a complete list of defects. Any exist-
ing GLIST shall be discarded by the device server. As a result, the device server shall construct a new GLIST that contains:
a) the DLIST, if it is sent by the application client; and
b) the CLIST, if certification is enabled (i.e., the device server may add any defects it detects during the format operation).
DEFECT LIST FORMAT field
The DEFECT LIST FORMAT field specifies the format of the address descriptors in the defect list if the FMTDATA bit is set to one (see table 37).
SCSI Commands Reference Manual, Rev. L75
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
Table 37 defines the address descriptor usage for the FORMAT UNIT command.
Table 37 FORMAT UNIT command address descriptor usage (Sheet 1 of 2)
Field in the FORMAT UNIT CDB
FMTDATACMPLST
DEFECT LIST
FORMAT
DEFECT LIST LENGTH field
in the parameter list
header
Typ e [a]
Comments
[f]
0Any000bNot availableMVendor-specific defect information
[b]
[b]
[c]
[c]
[b]
[b]
[c]
[c]
[b]
[b]
[c]
[c]
[b]
[b]
[c]
[c]
[b]
[b]
[c]
[c]
and
and
and
and
and
and
and
and
and
and
and
and
and
and
and
and
and
and
and
and
[d]
[e]
[d]
[e]
[d]
[e]
[d]
[e]
[d]
[e]
[d]
[e]
[d]
[e]
[d]
[e]
[d]
[e]
[d]
[e]
0
O
See
Zero
1
1O
0
000b
(short block)
O
See
See
Nonzero
1O
0
O
See
See
Zero
1
1O
0
001b
(long block)
O
See
See
Nonzero
1O
0
O
See
See
Zero
1
1O
0
010b
(long block)
O
See
See
Nonzero
1O
0
O
See
See
Zero
1
1O
0
011b
(long block)
O
See
See
Nonzero
1O
0
O
See
See
Zero
1
1O
0
100b
(bytes from
index)
See
O
See
Nonzero
1O
See
[a]M = implementation is mandatory. O = implementation is optional.
[b]No DLIST is included in the parameter list.
[c]A DLIST is included in the parameter list. The device server shall add the DLIST defects to the new GLIST.
[d]The device server shall add existing GLIST defects to the new GLIST (i.e., use the existing GLIST).
[e]The device server shall not add existing GLIST defects to the new GLIST (i.e., discard the existing GLIST).
[f]All the options described in this table cause a new GLIST to be created during processing of the FORMAT UNIT
command as described in the text.
SCSI Commands Reference Manual, Rev. L76
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
Table 37 FORMAT UNIT command address descriptor usage (Sheet 2 of 2)
Field in the FORMAT UNIT CDB
FMTDATACMPLST
0
1O
1
0
1O
0110b
1
1O
DEFECT LIST
FORMAT
101b
(physical
sector)
(vendor
specific)
DEFECT LIST LENGTH field
in the parameter list
header
Zero
Nonzero
Vendor specific
Typ e [a]
O
O
O
Comments
[f]
See
See
See
See
[b]
[b]
[c]
[c]
and
and
and
and
All othersReserved.
[a]M = implementation is mandatory. O = implementation is optional.
[b]No DLIST is included in the parameter list.
[c]A DLIST is included in the parameter list. The device server shall add the DLIST defects to the new GLIST.
[d]The device server shall add existing GLIST defects to the new GLIST (i.e., use the existing GLIST).
[e]The device server shall not add existing GLIST defects to the new GLIST (i.e., discard the existing GLIST).
[f]All the options described in this table cause a new GLIST to be created during processing of the FORMAT UNIT
command as described in the text.
FFMT field
The fast format (FFMT) field is described in table 38.
[d]
[e]
[d]
[e]
Table 38 FFMT field description
CodeDescriptionSupport
00b
The device server initializes the medium as specified in the CDB and parameter list before complet-
Mandatory
ing the format operation. After successful completion of the format operation, read commands and
verify commands are processed as described in SBC-4.
01b
The device server initializes the medium without overwriting the medium (i.e., resources for man-
Optional
aging medium access are initialized and the medium is not written) before completing the format
operation. After successful completion of the format operation, read commands and verify com
-
mands are processed as described in SBC-4.
If the device server determines that the options specified in this FORMAT UNIT command are
incompatible with the read command and verify command requirements described in SBC-4, then
the device server shall not perform the format operation and shall terminate the FORMAT UNIT
command with CHECK CONDITION status with the sense key set to ILLEGAL REQUEST and the addi
-
tional sense code set to INVALID FAST FORMAT COMBINATION.
10b
The device server initializes the medium without overwriting the medium (i.e., resources for man-
Optional
aging medium access are initialized and the medium is not written) before completing the format
operation. After successful completion of the format operation, read commands and verify com
-
mands are processed as described in SBC-4.
11b
Reserved
CONTROL byte
The CONTROL byte is defined in 2.2.7.
SCSI Commands Reference Manual, Rev. L77
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
3.3.2FORMAT UNIT parameter list
3.3.2.1FORMAT UNIT parameter list overview
Table 39 defines the FORMAT UNIT parameter list.
Table 39 FORMAT UNIT parameter list
Bit
Byte
PARAMETER LIST HEADER field
The PARAMETER LIST HEADER is defined in 3.3.3.
INITIALIZATION PATTERN DESCRIPTOR field
The INITIALIZATION PATTERN DESCRIPTOR, if any, is defined in 3.3.4.
DEFECT LIST field
The DEFECT LIST, if any, contains address descriptors (see table 37) each specifying a location on the medium that the device server shall
exclude from the application client accessible part. This is called the DLIST.
76543210
Parameter List Header (see table 40 or table 41 in 3.3.3)
Initialization Pattern Descriptor (if any) (see table 43, in 3.3.4)
Defect List (if any)
SCSI Commands Reference Manual, Rev. L78
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
3.3.3Parameter list header
The parameter list headers (see table 40 and table 41) provide several optional format control parameters. Device servers that implement these
headers provide the application client additional control over the use of the four defect sources, and the format operation. If the application
client attempts to select any function not implemented by the device server, the device server shall terminate the command with CHECK
CONDITION status with the sense key set to ILLEGAL REQUEST and the additional sense code set to INVALID FIELD IN PARAMETER LIST.
The short parameter list header (see table 40) is used if the LONGLIST bit is set to zero in the FORMAT UNIT CDB.
Table 40 Short parameter list header
Bit
Byte
0
1
2
3
The long parameter list header (see table 41) is used if the LONGLIST bit is set to one in the FORMAT UNIT CDB.
Table 41 Long parameter list header
Bit
Byte
0
1
2
3
4
. . .
7
76543210
Reserved
FOVDPRYDCRTSTPFIPObsoleteIMMED
(MSB)
DEFECT LIST LENGTH
76543210
Reserved
FOVDPRYDCRTSTPFIPObsoleteIMMED
Reserved
P_I_INFORMATIONPROTECTION INTERVAL EXPONENT
(MSB)
DEFECT LIST LENGTH
PROTECTION FIELDS USAGE
PROTECTION FIELDS USAGE
Vendor
specific
(LSB)
Vendor
specific
(LSB)
The PROTECTION FIELD USAGE field in combination with the FMTPINFO field (see table 42) specifies the requested protection type (see SBC-4).
SCSI Commands Reference Manual, Rev. L79
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
Table 42 FMTPINFO field and PROTECTION FIELDS USAGE field (Sheet 1 of 2)
Device server
indication
[a]
SPT
PROTECT
Application client
specification
FMTP
[b]
INFO
PROTECTION
FIELD USAGE
xxxb000b000b
xxxb000b>000b
xxxb001bxxxb
xxxb01xbxxxb
xxxb100b000b
xxxb100b>000b
xxxb10bxxxb
000b
001b
011b
1
10b000b
111b
000b
001b
011b
1
10b>000b
111b
000b1
11bxxxb
Description
The logical unit shall be formatted to type 0 protection
P_TYPE field
Illegal
Illegal
Illegal
The logical unit shall be formatted to type 0 protection
P_TYPE field
Illegal
Illegal
The logical unit shall be formatted to type 1 protection
P_TYPE field
Illegal
Illegal
[e]
[f]
[f]
[e]
[f]
[e]
[f]
[d]
being set to 000b.
[d]
being set to 000b.
[d]
being set to 000b.
[c]
(see SBC-4) resulting in the
[c]
(see SBC-4) resulting in the
[g]
(see SBC-4) resulting in the
000b
001b
011b
1
11b000b
111b
001b
010b
011b
100b
1
1
11b>000b
11b000b
011b
100b
101b
1
11b001b
111b
011b
100b
101b
111b>001b
111b
110b11xbxxxb
The logical unit shall be formatted to type 2 protection
P_TYPE field
Illegal
Illegal
The logical unit shall be formatted to type 3 protection.
P_TYPE field
Illegal
[e]
[e]
[e]
[d]
being set to 001b.
[d]
being set to 010b.
Reserved
[g]
(see SBC-4) resulting in the
[g]
(see SBC-4) resulting in the
SCSI Commands Reference Manual, Rev. L80
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
Table 42 FMTPINFO field and PROTECTION FIELDS USAGE field (Sheet 2 of 2)
Device server
indication
Application client
specification
Description
[a]
SPT
[a]See the Extended INQUIRY Data VPD page (see 5.4.10) for the definition of the SPT field.
[b]See the standard INQUIRY data (see 3.8.2) for the definition of the PROTECT bit.
[c]The device server shall format the medium to the block length specified in the mode parameter block descriptor of the mode parameter header (see
[d]See the READ CAPACITY command (see 3.24.1) for the definition of the P_TYPE field.
[e]The device server shall terminate the command with CHECK CONDITION status with the sense key set to ILLEGAL REQUEST and the additional sense
[f]The device server shall terminate the command with CHECK CONDITION status with the sense key set to ILLEGAL REQUEST and the additional sense
[g]The device server shall format the medium to the block length specified in the mode parameter block descriptor of the mode parameter header plus
PROTECT
5.3.3).
code set to INVALID FIELD IN PARAMETER LIST.
code set to INVALID FIELD IN CDB.
eight (e.g., if the block length is 512, then the formatted block length is 520). Following a successful format, the PROT_EN bit in the READ CAPACITY (16)
parameter data (see 3.25.2) indicates whether protection information (see SBC-4) is enabled.
[b]
FMTP
INFO
PROTECTION
FIELD USAGE
FOV (Format Options Valid) bit
0A format options valid (FOV) bit set to zero specifies that the device server shall use its default settings for the DPRY, DCRT, STPF, and IP
bits. If the FOV bit is set to zero, the application client shall set these bits to zero. If the FOV bit is set to zero and any of the other bits
listed in this paragraph are not set to zero, the device server shall terminate the command with CHECK CONDITION status with the sense
key set to ILLEGAL REQUEST and the additional sense code set to INVALID FIELD IN PARAMETER LIST.
1A FOV bit set to one specifies that the device server shall examine the values of the DPRY, DCRT, STPF, and IP bits. When the FOV bit is set
to one, the DPRY, DCRT, STPF, and IP bits are defined as follows.
DPRY (Disable Primary) bit
0A disable primary (DPRY) bit set to zero specifies that the device server shall not use parts of the medium identified as defective in the
PLIST for application client accessible logical blocks. If the device server is not able to locate the PLIST or it is not able to determine
whether a PLIST exists, it shall take the action specified by the STPF bit.
1A DPRY bit set to one specifies that the device server shall not use the PLIST to identify defective areas of the MEDIUM. The PLIST shall
not be deleted.
DCRT (disable certification) bit
0A disable certification (DCRT) bit set to zero specifies that the device server shall perform a vendor-specific medium certification opera-
tion to generate a CLIST.
1A DCRT bit set to one specifies that the device server shall not perform any vendor-specific medium certification process or format veri-
fication operation.
STPF (Stop Format) bit
The stop format (STPF) bit controls the behavior of the device server if one of the following events occurs:
a) The device server has been requested to use the PLIST (i.e., the DPRY bit is set to zero) or the GLIST (i.e., the CMPLST bit is set to zero)
and the device server is not able to locate the list or determine whether the list exists; or
b) The device server has been requested to use the PLIST (i.e., the DPRY bit is set to zero) or the GLIST (i.e., the CMPLST bit is set to zero),
and the device server encounters an error while accessing the defect list.
0A STPF bit set to zero specifies that, if one or both of these events occurs, the device server shall continue to process the FORMAT UNIT
command. The device server shall return CHECK CONDITION status at the completion of the FORMAT UNIT command with the sense key
set to RECOVERED ERROR and the additional sense code set to either DEFECT LIST NOT FOUND if the condition described in item a)
occurred, or DEFECT LIST ERROR if the condition described in item b) occurred.
1A STPF bit set to one specifies that, if one or both of these events occurs, the device server shall terminate the FORMAT UNIT command
with CHECK CONDITION status and the sense key shall be set to MEDIUM ERROR with the additional sense code set to either DEFECT
LIST NOT FOUND if the condition described in item a) occurred, or DEFECT LIST ERROR if the condition described in item b) occurred.
SCSI Commands Reference Manual, Rev. L81
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
NOTEThe use of the FMTDATA bit, the CMPLST bit, and the parameter list header allow the application client
to control the source of the defect lists used by the FORMAT UNIT command. Setting the DEFECT LIST
LENGTH field to zero allows the application client to control the use of PLIST and CLIST without having
to specify a DLIST.
IP (initialization pattern) bit
0An initialization pattern (IP) bit set to zero specifies that an initialization pattern descriptor is not included and that the device server
shall use its default initialization pattern.
1An IP bit set to one specifies that an initialization pattern descriptor (see 3.3.4) is included in the FORMAT UNIT parameter list following
the parameter list header.
IMMED (Immediate) bit
0An immediate (IMMED) bit set to zero specifies that the device server shall return status after the format operation has completed.
1An IMMED bit value set to one specifies that the device server shall return status after the entire parameter list has been transferred.
P_I_INFORMATION field
The P_I_INFORMATION field shall be set to zero.
PROTECTION INTERVAL EXPONENT field
For a type 1 protection information request, if the PROTECTION INTERVAL EXPONENT field is not set to zero, then the device server shall
terminate the command with CHECK CONDITION status with the sense key set to ILLEGAL REQUEST and the additional sense code set to
INVALID FIELD IN PARAMETER LIST.
For a type 2 protection or a type 3 protection format request, the protection interval exponent determines the length of user data to be sent
before protection information is transferred (i.e., the protection information interval).
The protection information interval is calculated as follows:
logical block lengthis the length in bytes of a logical block as specified in the mode parameter block descriptor (see
5.3.4.1)
protection interval exponentis the contents of the PROTECTION INTERVAL EXPONENT field
If the protection information interval calculates to a value that is not an even number (e.g., 520/2
32.5 and 520/2
ILLEGAL REQUEST and the additional sense code set to INVALID FIELD IN PARAMETER LIST.
10
= 0.508), then the device server shall terminate the command with CHECK CONDITION status with the sense key set to
(protection interval exponent)
3
= 65) or not a whole number (e.g., 520/24 =
DEFECT LIST LENGTH field
The DEFECT LIST LENGTH field specifies the total length in bytes of the defect list (i.e., the address descriptors) that follows and does not
include the initialization pattern descriptor, if any. The formats for the address descriptor(s) are shown in table 45.
Address descriptors should be in ascending order. More than one physical or logical block may be affected by each address descriptor. If the
address descriptors are not in the required order, the device server shall terminate the command with CHECK CONDITION status with the sense
key set to ILLEGAL REQUEST and the additional sense code set to INVALID FIELD IN PARAMETER LIST.
SCSI Commands Reference Manual, Rev. L82
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
3.3.4Initialization pattern descriptor
The initialization pattern descriptor specifies that the device server initialize logical blocks to a specified pattern. The initialization pattern
descriptor (see table 43) is sent to the device server as part of the FORMAT UNIT parameter list.
Table 43 Initialization pattern descriptor
Bit
Byte
0
1
2
3
4
. . .
n
SI (Security Initialize) bit
This bit is not supported on Seagate products. Customers should use the SANITIZE command to satisfy secure initialization requirements.
INITIALIZATION PATTERN TYPE field
The INITIALIZATION PATTERN TYPE field (see table 44) specifies the type of pattern the device server shall use to initialize each logical block
within the application client accessible part of the medium. All bytes within a logical block shall be written with the initialization pattern. The
initialization pattern is modified by the IP MODIFIER field as described in table 44.
Tab le 4 4INITIALIZATION PATTERN TYPE field
CodeDescription
00h
01h
02h - 7Fh
80h - FFh
[a]If the INITIALIZATION PATTERN LENGTH field is not set to zero, the device server shall terminate the command with CHECK CONDI-
TION status with the sense key set to ILLEGAL REQUEST and the additional sense code set to INVALID FIELD IN PARAMETER LIST.
[b]If the INITIALIZATION PATTERN LENGTH field is set to zero, the device server shall terminate the command with CHECK CONDITION
status with the sense key set to ILLEGAL REQUEST and the additional sense code set to INVALID FIELD IN PARAMETER LIST.
76543210
OBSOLETESIReserved
INITIALIZATION PATTERN TYPE
(MSB)
INITIALIZATION PATTERN LENGTH (n - 3)
(LSB)
INITIALIZATION PATTERN
Use a default initialization pattern [a]
Repeat the pattern specified in the INITIALIZATION PATTERN field as required to fill the logical block [b]
Reserved
Vendor-specific
INITIALIZATION PATTERN LENGTH field
The INITIALIZATION PATTERN LENGTH field specifies the number of bytes contained in the INITIALIZATION PATTERN field. If the initialization
pattern length exceeds the current block length the device server shall terminate the command with CHECK CONDITION status with the sense
key set to ILLEGAL REQUEST and the additional sense code set to INVALID FIELD IN PARAMETER LIST.
INITIALIZATION PATTERN field
The INITIALIZATION PATTERN field specifies the initialization pattern.
SCSI Commands Reference Manual, Rev. L83
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
3.3.5Address descriptor formats
3.3.5.1Address descriptor formats overview
This subclause describes the address descriptor formats used in the FORMAT UNIT command, the READ DEFECT DATA commands (see 3.26 and
3.27), and the Translate Address diagnostic pages (see 5.1.3) of the SEND DIAGNOSTIC command and the RECEIVE DIAGNOSTIC RESULTS
command.
The format type of an address descriptor is specified with:
a) the DEFECT LIST FORMAT field in the CDB, for the FORMAT UNIT command and the READ DEFECT DATA commands;
b) the SUPPLIED FORMAT field, for the SEND DIAGNOSTIC command Translate Address diagnostic page; or
c) the TRANSLATE FORMAT field, for the RECEIVE DIAGNOSTIC RESULTS command Translate Address diagnostic page.
Table 45 defines the types of address descriptors.
Table 45 Address descriptor formats
Format typeDescriptionReference
000b
001b
010b
011b
100b
101b
110b
All others
[a]This address descriptor format type is defined for direct access block devices
using rotating media (see SBC-4).
Short block format address descriptor3.3.5.2
Extended bytes from index address descriptor
Extended physical sector address descriptor
Long block format address descriptor3.3.5.5
Bytes from index format address descriptor3.3.5.6
Physical sector format address descriptor3.3.5.7
Vendor-specific
Reserved
[a]
[a]
3.3.5.3
3.3.5.4
3.3.5.2Short block format address descriptor
A format type of 000b specifies the short block format address descriptor defined in table 46.
Table 46 Short block format address descriptor (000b)
Bit
Byte
0
. . .
3
76543210
(MSB)
SHORT BLOCK ADDRESS
(LSB)
SHORT BLOCK ADDRESS field
For the FORMAT UNIT command, the SHORT BLOCK ADDRESS field contains the four-byte LBA of a defect. For the READ DEFECT DATA commands, the SHORT BLOCK ADDRESS field contains a vendor-specific four-byte value. For the Translate Address diagnostic pages, the SHORT
BLOCK ADDRESS field contains a four-byte LBA or a vendor-specific four byte value that is greater than the capacity of the medium.
SCSI Commands Reference Manual, Rev. L84
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
3.3.5.3Extended bytes from index address descriptor
A format type of 001b specifies the extended bytes from index address descriptor defined in table 47. For the FORMAT UNIT command and the
READ DEFECT DATA command, this descriptor specifies the location of a defect that is either:
a)the length of one track;
b) is less than the length of a physical block; or
c)a defect that starts from one address descriptor and extends to the next address descriptor.
For the Translate Address diagnostic pages, this descriptor specifies the location of an LBA. If format type 001b is used in the SUPPLIED FORMAT
field of a Translate Address Output diagnostic page (see 5.1.4), and the MADS bit in the ADDRESS TO TRANSLATE field is set to one, then the
device server shall terminate the SEND DIAGNOSTIC command with CHECK CONDITION status with the sense key set to ILLEGAL REQUEST and
the additional sense code set to INVALID FIELD IN PARAMETER LIST.
Table 47 Bytes from index format address descriptor (100b)
Bit
Byte
0
. . .
2
3
4
. . .
7
CYLINDER NUMBER field
The CYLINDER NUMBER field contains the cylinder number.
HEAD NUMBER field
The HEAD NUMBER field contains the head number.
MADS bit
A multi-address descriptor start (MADS) bit set to one specifies that this descriptor defines the beginning of a defect that spans multiple
address descriptors. The defect may be a number of sequential physical blocks on the same cylinder and head (i.e., a track) or may be a number
of sequential tracks on the same head. A MADS bit set to zero specifies that:
a) this descriptor defines the end of a defect if the previous address descriptor has the MADS bit set to one; or
b) this descriptor defines a single defective physical track (i.e., the BYTES FROM INDEX field contains FFF_FFFFh) or a single defective physical
block (i.e., the BYTES FROM INDEX field does not contain FFF_FFFFh).
See SBC-4 for valid combinations of two address descriptors that describe a defect.
76543210
(MSB)
CYLINDER NUMBER
(LSB)
HEAD NUMBER
MADSReserved(MSB)
BYTES FROM INDEX
(LSB)
BYTES FROM INDEX field
a) if not set to FFF_FFFFh, contains the number of bytes from the index (e.g., from the start of the track) to the location being described; or
b) if set to FFF_FFFFh, specifies that the entire track is being described.
For sorting bytes from index format address descriptors, the cylinder number is the most significant part of the address and the bytes from
index is the least significant part of the address. More than one logical block may be described by this descriptor.
SCSI Commands Reference Manual, Rev. L85
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
A format type of 010b specifies the extended physical sector address descriptor defined in table 48. For the FORMAT UNIT command and the
READ DEFECT DATA command, this descriptor specifies the location of a defect that is either:
a) the length of one track;
b) is less than the length of a physical block; or
c) a defect that starts from one address descriptor and extends to the next address descriptor.
For the Translate Address diagnostic pages, this descriptor specifies the location of an LBA. If format type 010b is used in the SUPPLIED FORMAT
field of a Translate Address Output diagnostic page (see 5.1.4), and the MADS bit in the ADDRESS TO TRANSLATE field is set to one, then the
device server shall terminate the SEND DIAGNOSTIC command with CHECK CONDITION status with the sense key set to ILLEGAL REQUEST and
the additional sense code set to INVALID FIELD IN PARAMETER LIST.
Table 48 Bytes from index format address descriptor (100b)
Bit
Byte
0
. . .
2
3
4
. . .
7
CYLINDER NUMBER field
The CYLINDER NUMBER field contains the cylinder number.
HEAD NUMBER field
The HEAD NUMBER field contains the head number.
MADS bit
A multi-address descriptor start (MADS) bit set to one specifies that this descriptor defines the beginning of a defect that spans multiple
address descriptors. The defect may be a number of sequential physical blocks on the same cylinder and head (i.e., a track) or may be a number
of sequential tracks on the same head. A MADS bit set to zero specifies that:
a) this descriptor defines the end of a defect if the previous address descriptor has the MADS bit set to one; or
b) this descriptor defines a single defective physical track (i.e., the BYTES FROM INDEX field contains FFF_FFFFh) or a single defective physical
block (i.e., the BYTES FROM INDEX field does not contain FFF_FFFFh).
See SBC-4 for valid combinations of two address descriptors that describe a defect.
The SECTOR NUMBER field contains the sector number. A SECTOR NUMBER field set to FFF_FFFFh specifies that the entire track is being
described.
76543210
(MSB)
CYLINDER NUMBER
(LSB)
HEAD NUMBER
MADSReserved(MSB)
SECTOR NUMBER
(LSB)
SECTOR NUMBER field
a) if not set to FFF_FFFFh, contains the sector number of the location being described; or
b) if set to FFF_FFFFh, specifies that the entire track is being described.
For sorting extended physical sector address descriptors, the cylinder number is the most significant part of the address and the sector number
is the least significant part of the address. More than one logical block may be described by this descriptor.
SCSI Commands Reference Manual, Rev. L86
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
3.3.5.5Long block format address descriptor
A format type of 011b specifies the long block format address descriptor defined in table 49.
Table 49 Long block format address descriptor (011b)
Bit
Byte
0
. . .
7
LONG BLOCK ADDRESS field
For the FORMAT UNIT command, the LONG BLOCK ADDRESS field contains the eight-byte logical block address of a defect. If multiple logical
blocks are contained within a physical block, then the device server may consider logical blocks in addition to the one specified by this descrip
tor as containing defects. For the READ DEFECT DATA commands, the LONG BLOCK ADDRESS field contains a vendor-specific eight-byte value.
For the Translate Address diagnostic pages, the LONG BLOCK ADDRESS field contains a four-byte LBA or a vendor-specific four byte value that
is greater than the capacity of the medium.
76543210
(MSB)
LONG BLOCK ADDRESS
(LSB)
3.3.5.6Bytes from index format address descriptor
A format type of 100b specifies the bytes from index address descriptor defined in table 50. For the FORMAT UNIT command and the READ
DEFECT DATA commands, this descriptor specifies the location of a defect that is either the length of one track or is no more than eight bytes
long. For the Translate Address diagnostic pages, this descriptor specifies the location of a track or the first byte or last byte of an area.
Table 50 Bytes from index format address descriptor (100b)
Bit
Byte
0
. . .
2
3
4
. . .
7
76543210
(MSB)
CYLINDER NUMBER
(LSB)
HEAD NUMBER
(MSB)
BYTES FROM INDEX
(LSB)
-
CYLINDER NUMBER field
The CYLINDER NUMBER field contains the cylinder number.
HEAD NUMBER field
The HEAD NUMBER field contains the head number.
BYTES FROM INDEX field
The BYTES FROM INDEX field contains the number of bytes from the index (e.g., from the start of the track) to the location being described. A
BYTES FROM INDEX field set to FFFFFFFFh specifies that the entire track is being described.
For sorting bytes from index format address descriptors, the cylinder number is the most significant part of the address and the bytes from
index is the least significant part of the address. More than one logical block may be described by this descriptor.
SCSI Commands Reference Manual, Rev. L87
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
3.3.5.7Physical sector format address descriptor
A format type of 101b specifies the physical sector address descriptor defined in table 51. For the FORMAT UNIT command and the READ DEFECT
DATA commands, this descriptor specifies the location of a defect that is either the length of one track or the length of one sector. For the
Translate Address diagnostic pages, this descriptor specifies the location of a track or a sector.
Table 51 Physical sector format address descriptor (101b)
Bit
Byte
0
. . .
2
3
4
. . .
7
CYLINDER NUMBER field
The CYLINDER NUMBER field contains the cylinder number.
HEAD NUMBER field
The HEAD NUMBER field contains the head number.
SECTOR NUMBER field
The SECTOR NUMBER field contains the sector number. A SECTOR NUMBER field set to FFFFFFFFh specifies that the entire track is being
described.
For sorting physical sector format address descriptors, the cylinder number is the most significant part of the address and the sector number is
the least significant part of the address. More than one logical block may be described by this descriptor.
76543210
(MSB)
CYLINDER NUMBER
(LSB)
HEAD NUMBER
(MSB)
SECTOR NUMBER
(LSB)
SCSI Commands Reference Manual, Rev. L88
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
3.4GET LBA STATUS (16) command
3.4.1GET LBA STATUS (16) command overview
The GET LBA STATUS (16) command (see table 52) requests that the device server transfer parameter data describing the logical block
provisioning status (see SBC-4) for the specified LBA and zero or more subsequent LBAs to the Data-In Buffer.
The device server may or may not process this command as an uninterrupted sequence of actions (e.g., if concurrent operations are occurring
that affect the logical block provisioning status, then the returned parameter data may be inconsistent or out of date).
This command uses the SERVICE ACTION IN (16) CDB format (see SBC-4 - Annex A.2).
Table 52 GET LBA STATUS command
Bit
Byte
0OPERATION CODE (9Eh)
1ReservedSERVICE ACTION (12h)
2(MSB)
9(LSB)
10(MSB)
13(LSB)
14REPORT TYPE
15CONTROL
OPERATION CODE field
The OPERATION CODE field is defined in SPC-6 and shall be set to the value shown in table 52 for the GET LBA STATUS (16) command.
SERVICE ACTION field
The SERVICE ACTION field is defined in 2.2.2 and shall be set to the value shown in table 52 for the GET LBA STATUS (16) command.
STARTING LOGICAL BLOCK ADDRESS field
The STARTING LOGICAL BLOCK ADDRESS field specifies the LBA of the first logical block addressed by this command. If the specified starting
LBA exceeds the capacity of the medium (see SPC-6), then the device server shall terminate the command with CHECK CONDITION status with
the sense key set to ILLEGAL REQUEST and the additional sense code set to LOGICAL BLOCK ADDRESS OUT OF RANGE.
76543210
STARTING LOGICAL BLOCK ADDRESS. . .
ALLOCATION LENGTH. . .
ALLOCATION LENGTH field
The ALLOCATION LENGTH field is defined in 2.2.6. In response to a GET LBA STATUS command, the device server may send less data to the
Data-In Buffer than is specified by the allocation length. If, in response to a single GET LBA STATUS command, the device server does not send
sufficient data to the Data-In Buffer to satisfy the requirement of the application client, then, to retrieve additional information, the application
client may send additional GET LBA STATUS commands with different starting LBA values.
SCSI Commands Reference Manual, Rev. L89
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
REPORT TYPE field
The REPORT TYPE field specifies the type of LBA status descriptors to return as shown in (see table 53).
Table 53 REPORT TYPE field
CodeDescription
0h
1h
2h
3h
4h
10h
All others
CONTROL byte
The CONTROL byte is defined in 2.2.7.
Return descriptors for all LBAs
Return descriptors for all LBAs using only non-zero provisioning status (see 3.4.2.2)
Return descriptors for all LBAs that are mapped (see SBC-4)
Return descriptors for all LBAs that are deallocated (see SBC-4)
Return descriptors for all LBAs that are anchored (see SBC-4)
Return descriptors for LBAs that may return an unrecovered error
Reserved
3.4.2GET LBA STATUS parameter data
3.4.2.1GET LBA STATUS parameter data overview
The GET LBA STATUS parameter data (see table 54) contains an eight-byte header followed by one or more LBA status descriptors.
Table 54 GET LBA STATUS parameter data
Bit
Byte
0(MSB)
3(LSB)
4
6
7
8
23
n-15
n
76543210
PARAMETER DATA LENGTH (n-3). . .
Reserved. . .
Reserved
COMPLETION CONDITION
LBA status descriptors
LBA status descriptor [first] (see 3.4.2.2). . .
. . .
LBA status descriptor [last] (see 3.4.2.2) (if any). . .
RTP
SCSI Commands Reference Manual, Rev. L90
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
PARAMETER DATA LENGTH field
The PARAMETER DATA LENGTH field indicates the number of bytes of parameter data that follow. The value in the PARAMETER DATA LENGTH
field shall be:
a)set to 4, if there are no status descriptors to report;
b)at least 20 (i.e., the available parameter data shall contain at least one LBA status descriptor); and
c)four added to a multiple of 16 (i.e., the available parameter data shall end on a boundary between LBA Status descriptors).
As a result of processing considerations not defined by this standard, two GET LBA STATUS commands with identical values in all CDB fields
may result in two different values in the PARAMETER DATA LENGTH field
The relationship between the PARAMETER DATA LENGTH field and the ALLOCATION LENGTH field in the CDB is defined in 2.2.6.
COMPLETION CONDITION field
The COMPLETION CONDITION field indicates the condition that caused completion of the GET LBA STATUS command. The COMPLETION CONDITION field is described in table 55.
Table 55 COMPLETION CONDITION field
CodeDescription
000b
001b
010b
011b
All others
No indication of the completion condition.
The command completed as a result of meeting the allocation length.
a
The command completed as a result of completing the scan length.
The command completed as a result of reaching the capacity of the medium (see SBC-4).
Reserved
a This only applies to the GET LBA STATUS (32) command
If the command completes by reaching the capacity of the medium and any other condition at the same time, then the COMPLETION CONDITION field shall be set to 011b.
Report Type Processed (RTP) bit
The report type processed (RTP) bit indicates whether the value in the REPORT TYPE field was processed. If the RTP bit is set to zero, then the
REPORT TYPE field was not processed (i.e., the GET LBA STATUS parameter data is returned as if the REPORT TYPE field was set to 00h). If the RTP
bit is set to one, then the REPORT TYPE field was processed. If a device server supports the REPORT TYPE field set to a non-zero value, then the
RTP bit shall be set to one.
SCSI Commands Reference Manual, Rev. L91
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
3.4.2.2LBA status descriptor
The LBA status descriptor (see table 56) contains LBA status information for one or more LBAs.
Tab le 5 6 LB A status descriptor format
Bit
Byte
0(MSB)
7(LSB)
8(MSB)
11(LSB)
12ReservedPROVISIONING STATUS
13
15
LBA STATUS LOGICAL BLOCK ADDRESS field
The LBA STATUS LOGICAL BLOCK ADDRESS field contains the first LBA of the LBA extent for which this descriptor reports LBA status.
NUMBER OF LOGICAL BLOCKS field
The NUMBER OF LOGICAL BLOCKS field contains the number of logical blocks in that LBA extent. The device server should return the largest
possible value in the NUMBER OF LOGICAL BLOCKS field.
PROVISIONING STATUS field
The PROVISIONING STATUS field is defined in table 57.
Table 57 PROVISIONING STATUS field
76543210
LBA STATUS LOGICAL BLOCK ADDRESS. . .
NUMBER OFLOGICAL BLOCKS. . .
Reserved. . .
CodeDescriptionAllowed for report types
0h
1h
2h
3h
4h
All others
If the logical unit is fully provisioned (see SBC-4), then the PROVISIONING STATUS field for all LBAs shall be set to:
a)0h (i.e., mapped or unknown), if the RTP bit is set to zero;
b)0h (i.e., mapped or unknown), if the REPORT TYPE field is set to 00h in the CDB and the RTP bit is set to one; or
c)3h (i.e., mapped), if the REPORT TYPE field is not set to 00h in the CDB and the RTP bit is set to one.
Each LBA in the LBA extent is mapped (see SBC-4) or has an unknown state.00h
Each LBA in the LBA extent is deallocated (see SBC-4).00h, 01h, 03h, 10h
Each LBA in the LBA extent is anchored (see SBC-4).00h, 01h, 04h, 10h
Each LBA in the LBA extent is mapped.01h, 02h, 10h
Each LBA in the LBA extent has an unknown provisioning status.01h, 10h
Reserved
SCSI Commands Reference Manual, Rev. L92
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
ADDITIONAL STATUS field
The ADDITIONAL STATUS field shall be set to 00h if the REPORT TYPE field is set to 00h in the CDB and shall be as shown in table 58 for all other
values of report type.
Table 58 ADDITIONAL STATUS field
CodeDescription
00h
01h
All others
No additional status to report.
The device server has detected that each LBA in the LBA extent may return an unrecovered error.
Reserved
3.4.2.3LBA status descriptor relationships
The LBA STATUS LOGICAL BLOCK ADDRESS field in the first LBA status descriptor returned in the GET LBA STATUS parameter data shall contain
the lowest numbered LBA that is greater than or equal to the starting logical block address specified in the CDB that meets the requirements
for the specified report type. For subsequent LBA status descriptors, the contents of the LBA STATUS LOGICAL BLOCK ADDRESS field shall contain:
a)for a non-zero report type, the value of the lowest numbered LBA meeting the requirements for the specified report type that is greater
than or equal to the sum of the values in:
A) the LBA STATUS LOGICAL BLOCK ADDRESS field in the previous LBA status descriptor;
and
B) the NUMBER OF LOGICAL BLOCKS field in the previous LBA status descriptor;
or
b)for report type 0h, the sum of the values in:
A) the LBA STATUS LOGICAL BLOCK ADDRESS field in the previous LBA status descriptor;
and
B) the NUMBER OF LOGICAL BLOCKS field in the previous LBA status descriptor.
Adjacent LBA status descriptors may have the same values for the PROVISIONING STATUS field.
SCSI Commands Reference Manual, Rev. L93
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
3.5GET LBA STATUS (32) command
The GET LBA STATUS (32) command (see table 59) requests that the device server transfer parameter data describing the logical block
provisioning status (see 4.7) and additional status for the specified LBA and zero or more subsequent LBAs to the Data-In Buffer.
The device server may or may not process this command as an uninterrupted sequence of actions (e.g., if concurrent operations are occurring
that affect the logical block provisioning status, then the returned parameter data may be inconsistent or out of date).
This command uses the variable length CDB format (see SBC-4 clause A.1).
Table 59 GET LBA STATUS (32) command
Bit
Byte
0OPERATION CODE (7Fh)
1CONTROL
2
6
7ADDITIONAL CDB LENGTH (18h)
8(MSB)
9(LSB)
10REPORT TYPE
11Reserved
12(MSB)
19(LSB)
20(MSB)
23(LSB)
24
27
28(MSB)
31(LSB)
76543210
Reserved. . .
SERVICE ACTION (0012h)
STARTING LOGICAL BLOCK ADDRESS. . .
SCAN LENGTH. . .
ELEMENT IDENTIFIER. . .
ALLOCATION LENGTH. . .
OPERATION CODE field, ADDITIONAL CDB LENGTH field, and SERVICE ACTION
The OPERATION CODE field, ADDITIONAL CDB LENGTH field, and SERVICE ACTION field are defined in 2.2.2 and shall be set to the values shown
in table 59 for the GET LBA STATUS (32) command.
CONTROL byte
The CONTROL byte is defined in 2.2.7.
SCAN LENGTH field
The SCAN LENGTH field specifies the maximum number of contiguous logical blocks to be scanned for logical blocks that meet the specified
report type. A value of 0000_0000h in the SCAN LENGTH field specifies that there is no limit on the number of logical blocks to be scanned (e.g.,
scan to the end of the media, or scan until the allocation length is met).
ELEMENT IDENTIFIER field
The ELEMENT IDENTIFIER field specifies the element identifier of the physical element (see SBC-4) for which LBAs shall be reported based on
the value in the REPORT TYPE field. If the ELEMENT IDENTIFIER field is set to 0000_0000h, then LBAs for all physical elements shall be reported
based on the value in the REPORT TYPE field.
See the GET LBA STATUS (16) command for the description of the STARTING LOGICAL BLOCK ADDESSS field, the ALLOCATION LENGTH field, the
REPORT TYPE field, and the returned parameter data (see 3.4.2).
SCSI Commands Reference Manual, Rev. L94
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
3.6GET PHYSICAL ELEMENT STATUS command
The GET PHYSICAL ELEMENT STATUS command (see table 60) requests that the device server return status information for physical elements
within the logical unit.
This command uses the SERVICE ACTION IN (16) CDB format (see SBC-4 clause A.2).
Table 60 GET PHYSICAL ELEMENT STATUS command
Bit
Byte
0OPERATION CODE (9Eh)
1ReservedSERVICE ACTION (17h)
2
5
6(MSB)
9(LSB)
10(MSB)
13(LSB)
14FILTERReservedREPORT TYPE
15CONTROL
OPERATION CODE field and the SERVICE ACTION field
The OPERATION CODE field and the SERVICE ACTION field are defined in SPC-6 and shall be set to the values shown in table 60 for the GET
PHYSICAL ELEMENT STATUS command.
STARTING ELEMENT field
The STARTING ELEMENT field specifies the element identifier of the first physical element addressed by this command.
76543210
Reserved. . .
STARTING ELEMENT. . .
ALLOCATION LENGTH. . .
ALLOCATION LENGTH field
The ALLOCATION LENGTH field is defined in 2.2.6. In response to a GET PHYSICAL ELEMENT STATUS command, the device server may send less
data to the Data-In Buffer than is specified by the allocation length. If, in response to a GET PHYSICAL ELEMENT STATUS command, the device
server does not send sufficient data to the Data-In Buffer to satisfy the requirement of the application client, then, to retrieve additional
information, the application client may send additional GET PHYSICAL ELEMENT STATUS commands with different starting element values.
SCSI Commands Reference Manual, Rev. L95
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
FILTER field
The FILTER field restricts the physical element status descriptors to return, as shown in table 61.
Table 61 FILTER field
CodeDescription
00b
01b
All others
REPORT TYPE field
The REPORT TYPE field specifies the type of physical element status descriptors to return as shown in table 62.
Table 62 REPORT TYPE field
CodeDescription
0h
1h
All others
CONTROL byte
The CONTROL byte is defined in 2.2.7
All physical status descriptors as specified by the other fields in the CDB.
Only physical element status descriptors for which the value of the PHYSICAL ELEMENT HEALTH field (see 5.8.2.2) is:
a)greater than or equal to 65h and less than or equal to CFh (i.e., outside manufacturer’s specification limit);
b)equal to FDh (i.e., all operations associated with storage element depopulation have completed and one or
more completed with error);
c)equal to FEh (i.e., an operation associated with storage element depopulation is in progress); or
d)equal to FFh (i.e., all operations associated with storage element depopulation have completed without error).
Reserved
Return descriptors for physical elements, based on the FILTER field
Return descriptors for storage elements, based on the FILTER field
Reserved
SCSI Commands Reference Manual, Rev. L96
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
3.6.1GET PHYSICAL ELEMENT STATUS parameter data
The GET PHYSICAL ELEMENT STATUS parameter data (see table 59) contains a 32-byte header followed by zero or more physical element status
descriptors.
Table 63 GET PHYSICAL ELEMENT STATUS parameter data
Bit
Byte
0(MSB)
3(LSB)
4(MSB)
7(LSB)
8(MSB)
11(LSB)
12(MSB)
31(LSB)
32
63
n-32
n
76543210
NUMBER OF DESCRIPTORS. . .
NUMBER OF DESCRIPTORS RETURNED. . .
IDENTIFIER OF ELEMENT BEING DEPOPULATED. . .
Reserved. . .
Physical element status descriptor list
Physical element status descriptor [first] (see 3.6.2). . .
. . .
Physical element status descriptor [last] (see 3.6.2). . .
NUMBER OF DESCRIPTORS field
The NUMBER OF DESCRIPTORS field shall contain the number of descriptors in the element descriptors list. The element descriptors list is a list
of physical elements that:
a)meet the requirements of the REPORTING OPTIONS field;
b)meet the requirements of the FILTER field; and
c)have an element identifier that is greater than or equal to the element identifier specified by the STARTING ELEMENT field in the CDB.
The contents of the NUMBER OF DESCRIPTORS field are not altered based on the allocation length.
NUMBER OF DESCRIPTORS RETURNED field
The NUMBER OF DESCRIPTORS RETURNED field contains the number of valid physical element status descriptors returned in the parameter
data.
IDENTIFIER OF ELEMENT BEING DEPOPULATED field
The IDENTIFIER OF ELEMENT BEING DEPOPULATED field contains the element identifier of the element that has a physical element health set to
FEh (i.e., an operation associated with storage element depopulation is in progress). If the value of this field is set to zero, then no operation
associated with storage element depopulation is in progress.
As a result of processing considerations not defined by this standard, two GET PHYSICAL ELEMENT STATUS commands with identical values in
all CDB fields may result in two different values in the NUMBER OF DESCRIPTORS field.
The physical element status descriptors shall be sorted in ascending order of the element identifier.
SCSI Commands Reference Manual, Rev. L97
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
3.6.2Physical element status descriptor
The physical element status descriptor (see table 64) contains status information for a physical element.
Table 64 Physical element status descriptor format
Bit
Byte
0
3
4(MSB)
7(LSB)
8
12
13ReservedRALWD
14PHYSICAL ELEMENT TYPE
15PHYSICAL ELEMENT HEALTH
16(MSB)
23(LSB)
24
31
ELEMENT IDENTIFIER field
The ELEMENT IDENTIFIER field contains the non-zero identifier of the physical element (e.g., storage element) associated with this physical
element status descriptor.
76543210
Reserved. . .
ELEMENT IDENTIFIER. . .
Reserved. . .
ASSOCIATED CAPACITY. . .
Reserved. . .
RALWD bit
A restoration allowed (RALWD) bit set to:
1indicates that this storage element has been depopulated and is a candidate for being restored.
0indicates that this storage element:
a)has not been depopulated; or
b)has been depopulated and is not a candidate for being restored.
SCSI Commands Reference Manual, Rev. L98
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
PHYSICAL ELEMENT TYPE field
The PHYSICAL ELEMENT TYPE field indicates the type of the physical element associated with this physical element status descriptor, as
described in table 65.
Table 65 PHYSICAL ELEMENT TYPE field
CodeDescription
01h
All others
Storage element
Reserved
PHYSICAL ELEMENT HEALTH field
The PHYSICAL ELEMENT HEALTH field indicates the health of the physical element associated with this physical element status descriptor, as
described in table 66.
Table 66 PHYSICAL ELEMENT HEALTH field
CodeDescription
00h
01h to 63h
64h
65h to 63CF
D0h to FCh
FDh
FEh
FFh
Not reported.
a
The physical element health is within manufacturer’s specification limits.
The physical element health is at manufacturer’s specification limit.
a
The physical element health is outside manufacturer’s specification limit.
Reserved
All operations associated with storage element depopulation have completed and one or more completed with error.
An operation associated with storage element depopulation is in progress.
All operations associated with storage element depopulation have completed without error.
a The device server may implement a subset of these values.
ASSOCIATED CAPACITY field
The ASSOCIATED CAPACITY field indicates the number of logical blocks by which the capacity of the device is reduced if the physical element
associated with this physical element status descriptor becomes depopulated. A value of FFFF_FFFF_FFFF_FFFFh indicates that the number of
logical blocks by which the capacity is reduced is not specified.
SCSI Commands Reference Manual, Rev. L99
www.seagate.com Direct Access Block commands (SPC-6 and SBC-4)
3.7GET STREAM STATUS command
The GET STREAM STATUS command (see table 67) requests that the device server transfer parameter data describing the status of streams (see
SBC-4) for the logical unit to the Data-In Buffer.
The device server may or may not process this command as an uninterrupted sequence of actions (e.g., if concurrent operations are occurring
that affect the status of streams, then the returned parameter data may be inconsistent or out of date).
Table 67 GET STREAM STATUS command
Bit
Byte
0OPERATION CODE (9Eh)
1ReservedSERVICE ACTION (16h)
2
3
4
5
6
9
10(MSB)
13(LSB)
14Reserved
15CONTROL
The OPERATION CODE field and the SERVICE ACTION field shall be set to the values shown in table 67 for the GET STREAM STATUS command.
OPERATION CODE field
The OPERATION CODE field contains the operation code of a command supported by the logical unit and shall be set to the value defined in
table 67.
76543210
Reserved
STARTING STREAM IDENTIFIER
Reserved. . .
ALLOCATION LENGTH. . .
SERVICE ACTION field
The SERVICE ACTION field is defined in 2.2.2 and set to the value defined in table 67.
STARTING STREAM IDENTIFIER field
The STARTING STREAM IDENTIFIER field specifies the stream identifier of the first stream addressed by this command (see 3.7.1.2). If the specified starting stream identifier exceeds the value indicated by the MAXIMUM NUMBER OF STREAMS field of the Block Limits VPD page (see
5.4.5), then the device server shall terminate the command with CHECK CONDITION status with the sense key set to ILLEGAL REQUEST and the
additional sense code set to ILLEGAL FIELD IN CDB.
The ALLOCATION LENGTH field is defined in 2.2.6 If, in response to a single GET STREAM STATUS command, the device server does not send sufficient data to the Data-In Buffer to satisfy the requirement of the application client, then the application client may send additional GET
STREAM STATUS commands with different starting stream identifier values to retrieve additional information.
SCSI Commands Reference Manual, Rev. L100
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.