Format Unit
Defect List
The defect list consists of a 4-byte header followed by zero or more 8-byte defect descriptors.
Each descriptor consists of an 8-byte physical address or bytes from index address. Each
address
is
bounds-checked by the Target.
If
any address
is
out of bounds, an ILLEGAL
REQUEST Sense Key
is
generated, and the format operation is discontinued.
FORMAT
UNIT Defect List Header Format .
Bit
Byte
7
I
6
I
1)
I
4
I
3
I
2
I
1
I
0
00
Reserved
01 FOV
I
DPRY
I
DCRT
I
STPF
I
IP=O
I
DSP
I IMED=O I
VU=o
02-03
(MSB=02) Defect List Length
(LSB=03)
FOV (Format Options Valid).
If
the FOV bit is set to one (1), the drive will accept a DPRY
(Disable Primary), DCRT (Disable Certification),
STPF
(Stop Format)
and/or
DSP (Disable
Saving Parameter) bites) set to one (1). All other options must be set to zero (0).
DPRY (Disable Primary). A DPRY
bit
of zero (0) indicates
that
Target will
not
use portions
of
the
media identified
as
defective in
the
Plist for Initiator addressable logic blocks.
If
the
Target cannot locate the Plist or
it
cannot determine
if
a Plist exists,
it
will perform the
action specified by
the
STPF
bit. A DPRY bit of one (1) indicates
that
the
target will not use
the
Plist
to
identify defective areas of
the
media. The Plist is not deleted.
nCRT
(Disable Certification). A DCRT
bit
of zero (0) indicates
that
the
Target will perform
a media certification operation to generate a
Clist. A DCRT
bit
of one (1), indicates
that
the
target will not perform any media certification process or format verification operation while
executing
the
FORMAT UNIT command.
STPF
(Stop Format). The
STPF
bit
controls
the
behavior of
the
Target when one
of
the
following events occurs:
1.
The Target has requested the use of
the
Plist (DPRY
is
set
to
zero), or the Glist (CMPLST
is
set
to
zero) and the Target cannot locate
the
list or determine whether
the
list exists.
2.
The target has been requested
to
use
the
Plist (DPRY
is
set
to
zero)
or
the
Glist
(CMPLST is set
to
zero), and
the
Target encounters an error while accessing
the
Dlist.
A
STPF
bit
of zero (0) indicates
that,
if one or
both
of the above conditions occurs, the
Target will continue to execute the
FORMAT UNIT command. The Target will
return
CHECK CONDITION status
at
the
completion of
the
FORMAT UNIT command.
The
Sense
Key will be set to RECOVERED ERROR and
the
Additional Sense Code will be set
to
either
DEFECT
LIST NOT FOUND if condition 1 described above occurs, or
DEFECT
LIST
ERROR
if
condition 2 occurs.
A
STPF
bit
of
one (1) indicates
that,
if one or
both
of the above conditions occurs,
the
Target
will terminate
the
FORMAT UNIT command with a status of CHECK CONDITION, a
Sense Key of MEDIA ERROR, and an Additional Sense Code
of
either
DEFECT
LIST NOT
FOUND
if condition 1 occurred,
or
DEFECT
LIST ERROR
if
condition 2 occurred.
IP
(Initialization
Pattern).
The IP bit must be set
to
zero (0), indicating
that
no
Initialization
Pattern
will be sent. The Target will use its default initialization
pattern
when
it
formats
the
media.
DRAFT
SCSI
Command Descriptions A-9
1/18/93 09:58