Read Defect Data Command (12) (B7H) - Maxtor ATLAS 10K IV User Manual

Maxtor atlas 10k iv hard disk drives
Hide thumbs Also See for ATLAS 10K IV:
Table of Contents

Advertisement

5.25

READ DEFECT DATA Command (12) (B7h)

The READ DEFECT DATA (12) command directs the drive to report defect information
about the drive's medium. Refer to the FORMAT UNIT command for information about
defects. The data sent to the host in the command's data-in buffer transfer consists of a
four-byte Defect List header (Table 5-140 and Table 5-141), followed by any Defect
Descriptors (Table 5-138 and Table 5-139).
The READ DEFECT DATA (12) Command Descriptor Block is shown in Table 5-136;
the data fields are described in Table 5-137.
Table 5-136
Bit
Byte
0
1
2 - 5
6 - 9
10
11
Table 5-137
Field
PList
GList
Defect List
Format
Allocation
Length
1
All in-line spared blocks do not have an associated LBA, and, therefore, will not be seen in Logical Block Format.
READ DEFECT DATA (12) Command-Data Format
7
6
Reserved
(MSB)
READ DEFECT DATA (12) Command-Field Description
When the value is 0, the returned data does not include the Primary Defect List.
When the value is 1, the returned data includes the Primary Defect List. The defects are returned
in ascending order.
When the value is 0, the returned data does not include the Grown Defect List.
When the value is 1, the returned data includes the Grown Defect List. The defects are returned in
order of occurrence.
When both PList and GList are set to 1, the Primary Defect List and the Grown Defect List are
returned. The Plist is returned followed by the Glist (the lists are not merged). When both are set
to 0, only the Defect List Header (Table 5-140) is reported to the initiator.
This field specifies the format in which the defect descriptors are to be returned. The supported
formats are:
000b
Block Format (Table 5-138).
100b
Bytes from the Index (Table 5-139). The data returned from this mode
does not include defects outside normal user space.
101b
Physical Sector Format (Table 5-139). Default format. The defects re-
turned from this mode do not include defects outside normal user space.
If the number of defect descriptors the SCSI device has assigned does not exceed the capability of
the ALLOCATION LENGTH field size but contains a value that is insufficient to transfer all of
the defect descriptors, the defect list length shall not be adjusted to reflect the truncation and the
device server shall not create a CHECK CONDITION status. The initiator is responsible for
comparing the defect list length and the allocation length to determine that a partial list was
received. If the number of defect descriptors the SCSI device has assigned exceeds the capability
of the ALLOCATION LENGTH field size, the drive shall transfer no data and return a CHECK
CONDITION status and the sense key shall be set to ILLEGAL REQUEST and the additional
sense code set to INVALID FIELD IN CDB.
5
4
3
Operation Code (B7h)
Plist
Glist
Reserved
Allocation Length
Reserved
Control
Description
1
Maxtor Atlas 10K IV
SCSI Description
2
1
0
Defect List Format
(LSB)
5-97

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents