Read Defect Data
The
READ
DEFECT
DATA command requests
that
the
Target transfer
the
media
defect
data
to
the
Initiator.
Read
Defect
Data
Command
Descriptor
Block
(COB)
Bit
Byte
7
I
6
J
5
4
1
-3
1
2
I
1
I
0
00
Opcode = 37H
01
Logical Unit
Number
Reserved
02
Reserved
PLIST
I
GLIST
I
Defect
List
Fonnat
03-06
Reserved
07-08
(MSB=07)
Allocation
Length
(LSB=08)
09
Control
Byte
PLIST (Primary
Defed
List), GLIST (Grown Defect List). A PLIST bit of one (1) indicates
the
Initiator
requests a primary list of defects be returned. A GLIST
bit
of one (1) indicates
that
the
Initiator
requests
the
grown list
of
defects.
If
both
bits are one (1),
the
combination
of
both
lists is requested.
If
both
bits are zero (0), only
the
header will be returned.
Defect List
Format.
This field indicates
the
preferred format for
the
returned
defect list.
The
bit
states
are as defined by
the
FORMAT UNIT command.
The
Target will
return
the
list
in
the
physical sector
format
(5)
or
bytes from index (4) format.
If
any
other
format
is
requested,
the
list will be
returned
in
the
bytes from index format
and
the
target
will
return:
Status:
CHECK
CONDITION
Sense Key
RECOVERED
ERROR
Additional Sense Code
DEFECT
LIST
NOT
FOUND
Allocation Length.
This
field specifies
the
number
of
bytes
that
the
Initiator
has allocated
for
returned
data.
An
Allocation Length of zero indicates
that
no
data
should
be
transferred
and should
not
be considered an error. Any
other
value indicates
the
maximum
number
of
bytes
that
shall
be
transferred.
The
Target shall
terminate
the
data
phase when
either
the
allocation length
or
all available READ
DEFECT
DATA has been sent, whichever is less.
A-34
SCSI
Command
Descriptions
DRAFT
1/18/93 09:58