![](/images/backgrounds/146247/146247-253162x1.png)
5.26REASSIGN BLOCKS Command (07h)
The REASSIGN BLOCKS Command reassigns one or more logical blocks to a spare location(s) set aside for this purpose and records the reassignments in the Grown Defect List.
No
The list of Logical Block Addresses to reassign is supplied in the REASSIGN BLOCKS Defect List passed in the command's
The REASSIGN BLOCKS Command Descriptor Block is shown in Table
Table
Bit | 7 | 6 | 5 | 4 |
| 3 | 2 | 1 | 0 |
Byte |
| ||||||||
|
|
|
|
|
|
|
|
| |
0 |
|
|
| Operation | Code (07h) |
|
|
| |
|
|
|
|
|
|
|
|
| |
1 - 4 |
|
|
|
| Reserved |
|
|
| |
|
|
|
|
|
|
|
|
| |
5 |
|
|
|
| Control |
|
|
| |
|
|
|
|
|
|
|
|
|
|
Table
Bit | 7 | 6 | 5 | 4 |
| 3 | 2 | 1 | 0 |
Byte |
| ||||||||
|
|
|
|
|
|
|
|
| |
0 - 1 |
|
|
|
| Reserved |
|
|
| |
|
|
|
|
|
|
|
| ||
2 - 3 |
|
|
| Defect List Length |
|
|
| ||
|
|
|
|
|
|
|
|
|
|
Table
Field | Description | |
|
| |
Defect List | The contents of this field indirectly indicates the number of defective Logical Block Ad- | |
dresses passed in the Defect List. The value must be four times the number of Defect De- | ||
Length | ||
scriptors supplied. Zero (0) is a valid value and makes the command a NOP. | ||
| ||
|
|
Table
Bit | 7 | 6 | 5 |
| 4 | 3 |
| 2 | 1 | 0 |
Byte |
|
| ||||||||
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
0 - 3 |
|
|
| Defect Logical Block Address |
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
The drive returns a CHECK CONDITION status if it cannot complete the command. If this happens because the drive ran out of spare sectors, the drive sets the sense key to MEDIUM ERROR and the additional sense code to NO DEFECT SPARE LOCATION AVAILABLE. The sense key and additional sense key are set appropriately for any other cause. The Logical Block Address of the first defect descriptor not reassigned is returned in the