This SCB command is used to format a storage device. Formatting the storage device destroys all data. The device performs defect management as specified in the command. Bits within the command specify the source of the defect list and the use and disposition of any defect list on the device. Because all device data is considered erased, any cache data for the device is cleared.
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Remarks 0 0 0 1 1 1 0 0 ND NS 0 1 0 1 1 0 Format Unit 0 ES RE 0 0 0 1 0 0 0 0 0 0 0 0 CH Enable Word <------ Reserved ----> 0 0 0 FD CL 0 0 0 Modifier Bits <---------- Interleave Factor ----------------> Interleave <---------- Least Significant Word -----------> System Buffer <---------- Most Significant Word ------------> Address <---------- Least Significant Word -----------> Defect List <---------- Most Significant Word ------------> Byte Count <---------- Least Significant Word -----------> Termination Status <---------- Most Significant Word ------------> Block Address <---------- Least Significant Word -----------> Optional SCB Chain <---------- Most Significant Word ------------> Address <---------- Number of Blocks -----------------> Block Count <---------- Block Size -----------------------> Block Length
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
The interleave factor used during the format operation is specified in the control block. An interleave factor of 0 selects the device default. A factor of 1 selects sequential numbering of logical blocks. All other factor values are device dependent.
Modifier bits select options to be used during formatting and are defined as follows:
FD
Note: Not all SCSI devices support the transfer of a defect list.
Note: Only a defect list in the following block format is supported by the adapter. See the ANSI SCSI Standard or specific device specification for more information.
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
Defect List Header Byte 7 6 5 4 3 2 1 0 Remarks 0 <----- Reserved -----> 1 <----- Reserved -BF--> 2 <----- High Byte ----> 3 <----- Low Byte -----> Defect Descriptors 4 <----- High Byte ----> First 5 <--------------------> Defective Block 6 <--------------------> Address 7 <----- Low Byte -----> . . . <----- High Byte ----> Last <--------------------> Defective Block <--------------------> Address N <----- Low Byte ----->
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
BF
Commands received before completing the background format are returned with a command status block indicating a check condition. The Request Sense command returns a sense key indicating that the device is not ready and returns an additional sense code indicating that a Format operation is in progress. The Request Sense data block also shows the percentage of the format completed.