User Manual

SCSI Commands Reference Manual, Rev. J 165
www.seagate.com Direct Access Block commands (SPC-5 and SBC-4)
LOGICAL BLOCK ADDRESS field
See 2.2.3 for the definition of the LOGICAL BLOCK ADDRESS field.
PBLOCK bit
If there is more than one logical block per physical block (i.e., the LOGICAL BLOCKS PER PHYSICAL BLOCK EXPONENT field in the READ CAPAC-
ITY (16) data is set to a non-zero value), then the device server shall support the physical block (PBLOCK) bit.
1 a PBLOCK bit set to one specifies that the device server shall return the entire physical block containing the specified logical block, and
0 a PBLOCK bit set to zero specifies that the device server shall return bytes representing only the specified logical block.
If there are one or more physical blocks per logical block (i.e., the LOGICAL BLOCKS PER PHYSICAL BLOCK EXPONENT field in the READ CAPAC-
ITY (16) data is set to zero) and the PBLOCK bit is set to one, then the device server shall return CHECK CONDITION status with the sense key set
to ILLEGAL REQUEST and the additional sense code set to INVALID FIELD IN CDB.
CORRCT (correct) bit
0 A correct (CORRCT) bit set to zero specifies that a logical block be read without any correction made by the device server. A CORRCT bit
set to zero should result in GOOD status unless data is not transferred for some reason other than that the data is non-correctable. In this
case the appropriate status and sense data shall be returned.
1 A CORRCT bit set to one specifies that the data be corrected by ECC before being transferred to the data-in buffer.
BYTE TRANSFER LENGTH field
The BYTE TRANSFER LENGTH field specifies the number of bytes of data that shall be read from the specified logical block and transferred to
the data-in buffer. If the BYTE TRANSFER LENGTH field is not set to zero and does not match the available data 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 CDB. In the sense data (see SPC-5), the VALID and ILI bits shall each be set to one and the INFORMATION field shall be set to
the difference (i.e., residue) of the requested byte transfer length minus the actual available data length in bytes. Negative values shall be indi
-
cated by two's complement notation.
A BYTE TRANSFER LENGTH field set to zero specifies that no bytes shall be read. This condition shall not be considered an error.