IBM 6.00E+04 Server User Manual


 
5. When the drive is no longer needed and is to be erased, run the same version of
the Erase Disk selection that was used in step 2.
Note: Using the same version of the service aid is only critical if any bad blocks
were found in step 3.
6. Compare the bad blocks that 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.
Chapter 6. Introducing Tasks and Service Aids 131