User Manual

SCSI Commands Reference Manual, Rev. J 88
www.seagate.com Direct Access Block commands (SPC-5 and SBC-4)
3.4.2.2 LBA status descriptor
The LBA status descriptor (see table 53) contains LBA status information for one or more LBAs.
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 54..
If the logical unit is fully provisioned (see SBC-4), then the PROVISIONING STATUS field for all LBAs shall be set to 0h (i.e., mapped or unknown).
3.4.2.3 LBA 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 value specified in the STARTING LOGICAL BLOCK ADDRESS field of the CDB. For subsequent LBA status descriptors, the contents of the LBA
STATUS LOGICAL BLOCK ADDRESS field shall contain 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.
Table 53 LBA status descriptor format
Bit
Byte
7 6 5 4 3 2 1 0
0 (MSB)
LBA STATUS LOGICAL BLOCK ADDRESS. . .
7 (LSB)
8 (MSB)
NUMBER OFLOGICAL BLOCKS. . .
11 (LSB)
12 Reserved PROVISIONING STATUS
13
Reserved. . .
15
Table 54 VERSION field codes
Code Description
0h
Each LBA in the LBA extent is mapped (see SBC-4) or has an unknown state.
1h
Each LBA in the LBA extent is deallocated (see SBC-4).
2h
Each LBA in the LBA extent is anchored (see SBC-4).
All others
Reserved