286 Fibre Channel Interface Manual, Rev. D
Reassign Blocks defect list
The Reassign Blocks defect list contains a four-byte header followed by one or more defect descriptors. The
length of each defect descriptor is four bytes.
If the logical unit has insufficient capacity to reassign all of the defective logical blocks, the command termi-
nates with a Check Condition status and the sense key is set to Hardware Error and the additional sense code
set to No Defect Spare Location Available. The logical block address of the first logical block not reassigned is
returned in the information bytes of the sense data. If information about the first defect descriptor not reas-
signed is not available, or if all the defects have been reassigned, this field is set to FFFFFFFFh.
If the Reassign Blocks command failed due to an unexpected unrecoverable read error that would cause the
loss of data in a block not specified in the defect list, the logical block address of the unrecoverable block is
returned in the information field of the sense data and the valid bit is set to one.
Implementor’s Note: If the Reassign Blocks command returns Check Condition status and the sense data com-
mand-specific information field contains a valid logical block address, the initiator removes all defect descrip-
tors from the defect list prior to the one returned in the command-specific information field. If the sense key is
Medium Error and the valid bit is one (the information field contains the valid block address) the initiator inserts
that new defective logical block address into the defect list and reissues the Reassign Blocks command with
the new defect list. Otherwise, the initiator performs any corrective action indicated by the sense data and then
reissues the Reassign Blocks command with the new defect list.
Field definitions (listed alphabetically)
Defect Logical Block Address
Specifies a four-byte defect logical block address that contains the defect. The defect descriptors are in ascending order.
Defect List Length
The total length (in bytes) of the defect descriptors that follow. The Defect List Length is equal to four times the number of
defect descriptors.
Table 188: Reassign Blocks defect list
Bit
Byte
76543210
Defect list header
000000000
100000000
2
Defect List Length (MSB)
3
Defect List Length (LSB)
Defect descriptors
0
Defect logical block address (MSB)
1
Defect logical block address
2
Defect logical block address
3
Defect logical block address (LSB)
Table
number
188
188