subscribe iconSubscribe to this information
POWER7 information

Rebuilding data on a replacement disk drive or solid-state drive in a system or logical partition running Linux

You can rebuild data on the replacement drive that was replaced because of a failed disk drive or solid-state drive or as a new installation.

If a hot-spare drive was available and protected the disk array throughout the drive failure, you can configure the newly installed drive as a hot spare. For instructions, see the PCI-X SCSI RAID Controller Reference Guide for Linux.

This guide is available from the SCSI PCI Adapters web page.

If a hot-spare rebuild was not initiated by the controller, you need to initiate a rebuild on the newly installed drive. To initiate the rebuild, follow these steps:

For an unprotected disk drive

If the drive you are replacing is in a RAID Level 0 disk array or in a failed RAID Level 5 or RAID Level 10 disk array, complete these tasks:

  1. Re-create the disk array.
  2. Re-create the file systems on the disk array.
  3. Copy the data back to the restored disk array from your backup media.

Rebuilding data by using the iprconfig command

If a hot-spare rebuild was not initiated by the controller, you must initiate a rebuild on the newly installed drive. To initiate the rebuild, complete the following procedure using the iprconfig command.

For a disk drive in a RAID Level 5 or RAID Level 10 disk array

  1. Log in as root user.
  2. Type iprconfig on the command line of the Linux session and press Enter. The IBM® Power® RAID Configuration Utility display is shown.
  3. Select Work with disk unit recovery from the IBM Power RAID Configuration Utility display. Press Enter. The Work with Disk Unit Recovery display is shown.
  4. From the Work with Disk Unit Recovery display, select Rebuild disk unit data.
    A Rebuild Disk Unit Data display similar to the following is shown.
    Figure 1. Example Rebuild Disk Unit Data display
                                 Rebuild Disk Unit Data
    
    
    
    Select the disks to be rebuilt
    
    
    
    Type choice, press Enter.
    
      1=Rebuild
    
    
    
    OPT Name   PCI/SCSI Location          Description               Status
    
    --- ------ -------------------------- ------------------------- -------------
    
     1         0000:58:01.0.0/0:4:0       RAID  Array Member        Failed
    
    
    
    
    
    
    
    
    
    
    
    e=Exit   q=Cancel   t=Toggle
  5. Type 1 (Rebuild) next to the disk drive you want to rebuild and press Enter.
    Note: Completing a rebuild on a drive overwrites the data currently on the drive.
    A Confirm Rebuild Disk Unit Data display similar to the following is shown.
    Figure 2. Example Confirm Rebuild Disk Unit Data display
                             Confirm Rebuild Disk Unit Data
    
    
    
    Rebuilding the disk unit data might take several minutes for each disk
    
    selected.
    
    
    
    Press Enter to confirm having the data rebuilt.
    
      q=Cancel to return and change your choice.
    
    
    
    OPT Name   PCI/SCSI Location          Description               Status
    
    --- ------ -------------------------- ------------------------- ---------------
    
     1         0000:58:01.0.0/0:4:0       RAID  Array Member        Failed
    
    
    
    
    
    
    
    
    
    q=Cancel   t=Toggle
  6. To confirm that you want to rebuild the data on the drive, press Enter.

    The message that the rebuild has begun is shown at the bottom of the Work with Disk Unit Recovery display. The rebuild process might take several minutes to complete.



Send feedback Rate this page

Last updated: Thu, November 20, 2014