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 command-specific Control Descriptor Block fields affect the processing performed for this command.

The list of Logical Block Addresses to reassign is supplied in the REASSIGN BLOCKS Defect List passed in the command's data-out buffer transfer. The Defect List consists of a Defect List Header (Table 5-146)followed by zero or more Defect Descriptors (Table 5-148). Table 5-147contains the field description for the Defect List Header. If multiple Logical Block Addresses are specified, they are listed in ascending order.

The REASSIGN BLOCKS Command Descriptor Block is shown in Table 5-145.

Table 5-145REASSIGN BLOCKS Command Descriptor Block-Data Format

Bit

7

6

5

4

 

3

2

1

0

Byte

 

 

 

 

 

 

 

 

 

 

0

 

 

 

Operation

Code (07h)

 

 

 

 

 

 

 

 

 

 

 

 

1 - 4

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

5

 

 

 

 

Control

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 5-146REASSIGN BLOCKS Defect List Header-Data Format

Bit

7

6

5

4

 

3

2

1

0

Byte

 

 

 

 

 

 

 

 

 

 

0 - 1

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

2 - 3

 

 

 

Defect List Length

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 5-147REASSIGN BLOCKS Defect List Header -Field Description

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 5-148REASSIGN BLOCKS Defect Descriptor-Data Format

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 command-specific information field of the

5-104 Maxtor Atlas 10K V