IBM pSeries690 Personal Computer User Manual


 
6. Compare the bad blocks which were recorded for the drive in step 3 with those
that now appear in the grown defect MAP.
Note: If there are differences between the saved data and the newly obtained
data, then all sectors on this drive cannot be overwritten. The new bad
blocks are not overwritten.
7. If the bad block list is the same, continue running the service aid to overwrite the
disk with the chosen pattern(s).
This task can be run directly from the AIX command line. See the command syntax:
diag -c -d
deviceName
-T "format [-s* fmtcert | erase -a {read | write}] [-F]"
Flag Description
fmtcert Formats and certifies the disk.
* Available in no-console mode only.
-F Force the disk erasure even if all blocks cannot be erased due to errors
accessing grown defect map.
Note: The Erase Disk option in command line mode uses default values. To selectively
read or write, use the diag command in console mode.
Hardfile Attached to PCI SCSI RAID Adapter
This function formats the physical disks attached to a PCI SCSI RAID adapter. This
task can be run directly from the AIX command line. See the following command
syntax: diag -c -d
RAIDadapterName
-T "format {-l
chId
|-A}"
Flag Description
-l Physical disk channel/ID (An example of a physical disk channel/ID is 27,
where the channel is 2 and the ID is 7.)
-A All disks
Optical Media
Use the following functions to check and verify optical media:
v Optical Media Initialize
Formats the media without certifying. This function does not reassign the defective
blocks or erase the data on the media. This option provides a quick way of formatting
the media and cleaning the disk.
Note: It takes approximately one minute to format the media.
v Optical Media Format and Certify
Formats and certifies the media. This function reassigns the defective blocks and
erases all data on the media.
This task can be run directly from the AIX command line. See the following command
syntax: diag -c -d
deviceName
-T "format [-s {initialize | fmtcert} ]"
Option Description
Chapter 6. Introduction to Tasks and Service Aids 121