Read Defect Data
Read Defect Data Defect List Header Format
Bit
Byte
7
I
6
I
5
I
"
I
3
I
2
I
1
I
0
00
Reserved
01
Reserved
I
PLIST
I
GLIST
I
Defect List
Format
02-03
(MSB=02) Defect List
Length
(LSB=03)
..
Defect List Descriptor Format
Bit
Byte
7
I
6
I
5
I
4
I
3
I
2
I
1
1
0
00-02
(MSB=OO)
Cylinder
Number
Of Defect
(LSB=02)
03
Head Number of Defect
04-07
(MSB=04)
Sector
Number
Of
Defect (Physical Sector Format) (LSB=07)
.
Byte
Index of Defect (Bytes from Index Format)
The
data
returned by the READ
DEFECT
DATA
command contains a four-byte Header,
followed by zero or more Defect Descriptors
Defed
List Length. This Header field specifies the total length of
the
following Defect
Descriptors in bytes.
If
the Allocation Length field of
the
CDB is less
than
the
length of the
available defect list
data,
the Defect List Length is NOT adjusted
to
reflect
the
truncation.
The defect descriptors are in ascending address order. Ascending address order for physical
sector format is defined as cylinder most-significant and sector least-significant. A sector
number of
all ones
(FFFFFFFFH)
indicates
that
the
entire track has been spared.
The defect
data
is supplied in such a manner
that
the list can be issued in a FORMAT
command
to
restore the current media reassignment mapping without re-ordering. If the list
cannot be read from the media,
the
Target will return:
DRAFT
1/18/93 09:58
Status:
CHECK CONDITION
Sense
Key: MEDIUM
ERROR
Additional Sense Code:
DEFECT
LIST
ERROR
SCSI Command Descriptions A-35