subscribe iconSubscribe to this information

Rebuild data on a disk drive using Linux kernel 2.6

Learn the steps to rebuild your data on a disk drive.

If a hot-spare disk drive was available and protected the disk array throughout the disk drive failure, you can configure the newly installed disk 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 at http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.pseries.doc/hardware_docs/scsipciadapters.htm.

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

  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 option 1 (Rebuild) next to the disk drive you want to rebuild and press Enter.
    Note: Performing a rebuild on a disk drive overwrites the data currently on the disk 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 disk 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: Fri, Oct 30, 2009