User Manual
SCSI Commands Reference Manual, Rev. J 86
www.seagate.com Direct Access Block commands (SPC-5 and SBC-4)
3.4 GET LBA STATUS command
3.4.1 GET LBA STATUS command overview
The GET LBA STATUS command (see table 51) 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).
OPERATION CODE field
The OPERATION CODE field is defined in SPC-5 and shall be set to the value shown in table 51 for the GET LBA STATUS command.
SERVICE ACTION field
The SERVICE ACTION field is defined in 2.2.2 and shall be set to the value shown in table 51 for the GET LBA STATUS 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-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 LOGICAL BLOCK ADDRESS OUT OF RANGE.
ALLOCATION LENGTH field
The ALLOCATION LENGTH field is defined in SPC-5. 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.
CONTROL byte
The CONTROL byte is defined in Clause 2.2.7.
Table 51 GET LBA STATUS command
Bit
Byte
7 6 5 4 3 2 1 0
0 OPERATION CODE (9Eh)
1 Reserved SERVICE ACTION (12h)
2 (MSB)
STARTING LOGICAL BLOCK ADDRESS. . .
9 (LSB)
10 (MSB)
ALLOCATION LENGTH. . .
13 (LSB)
14 Reserved
15 CONTROL