System Administration Guide: Devices and File Systems

ProcedureHow to Repair a Defective Sector

  1. Become superuser or assume an equivalent role.

  2. Invoke the format utility.

    # format
  3. Select the disk that contains the defective sector.

    Specify disk (enter its number): 1
    selecting c0t3d0
    [disk formatted]
  4. Select the repair command.

    format> repair
  5. Type the defective block number.

    Enter absolute block number of defect: 12354
       Ready to repair defect, continue? y
       Repairing block 12354 (18/4/18)...ok.

    If you are unsure of the format that is used to identify the defective sector, see How to Identify a Defective Sector by Using Surface Analysis for more information.