Replacing an Internal Disk Drive CRU
Checking For and Sparing Bad Sectors on a
Mirrored Disk Drive Using SCF
Follow these instructions to check for and spare bad sectors on a mirrored disk drive
CRU when preparing to replace the other half of its mirrored volume. In this example,
the mirror half of the volume $DATA17 is to be replaced.
1
TACL> SCF INFO $DATA17, BAD
STORAGE - Bad Sector Information Magnetic DISK \TOYS.$DATA17
Bad Sectors Information $DATA17 Primary:
Logical Sector Address Date Detected
%H0000795C SEPTEMBER 22, 1996 15:25:12
File Name File Address Logical Sector Address
DLSYS42X.OSIMAGE 573440-573951 %H0000795C
Bad Sectors Information $DATA17 Mirror:
No bad sectors found.
Bad sectors are listed under Logical Sector Address. If no bad sectors are
found, skip the remaining steps on this page.
2 If the other half of the volume has bad sectors, you must spare them using
the CONTROL DISK, SPARE command before you begin the disk drive
revive operation:
->CONTROL $DATA17-P, SPARE %H795C
Caution: The CONTROL DISK, SPARE command can cause
inconsistent data if the volume is being used when you issue this command.
Stop all processing on the volume before issuing the CONTROL DISK,
SPARE command, especially when sparing bad sectors on a system volume
while one half of the volume is down.
3 If any files are associated with the bad sectors, you must restore them from
your most recent backup of the disk volume, using the RESTORE utility.
4 Use the INFO DISK, BAD command again (that is, repeat Step 1) to verify
that no new bad sectors have been introduced.