Replacing a disk in a SAS RAID adapter
The data from the failing disk can be reconstructed to a replacement hot-spare disk if the hot-spare disk is available during the failure. If the hot-spare is active and is available during the failure, the state of the affected disk array is either Rebuilding or Optimal because of the use of a hot-spare disk.
To complete a disk replacement on a SAS RAID adapter, complete
the following steps:
- If you want the new disk to be designated as a hot-spare
disk, you must first prepare the disk to be used in the array. Complete
the following steps to prepare the disk for use in a disk array. Otherwise,
go to step 2. Note: Hot-spare disks are useful only if their capacity is greater than or equal to that of the smallest capacity disk in a disk array that becomes Degraded.
- Run the iprconfig utility by typing iprconfig.
- Select Work with disk arrays > Format device for RAID function.
- Select the adapter to be formatted and press Enter.
- Select the disks that must be prepared for use in disk arrays and formatted to 528 Byte Sectors from the list.
- Return to the main menu.
- Select Work with disk arrays > Create a hot spare.
- Select the adapter for which you want to create the hot-spare disks and press Enter.
- Select the disks that you want to designate as hot spares and press Enter.
- Press Enter to configure the disks as hot-spare disks. If you do not want to configure the disks as hot-spare disks, type q to cancel.
- Return to the system service procedure that sent you here.
- If the state of the array is Failed or Missing,
go to step 3.
If the state of the array is Degraded, complete the following
steps to change the state of the array to Optimal:
- Run the iprconfig utility by typing iprconfig.
- Select Work with disk unit recovery > Rebuild disk unit data.
- Select the failed disks to rebuild.
- Return to the system service procedure that sent you here.
- If the state of the array is Failed or Missing,
delete and recreate the array, and then restore the data from the
backup disk by completing the following steps: Attention: All data on the disk array will be lost.
- To delete a disk array, run the iprconfig utility by typing iprconfig.
- Select Work with disk arrays > Delete a disk array.
- From the listed disk arrays, select the array you want to delete, and then press Enter.
- To create a disk array, run the iprconfig utility by typing iprconfig.
- Select Work with disk arrays > Create a disk array.
- Select the controller under which you want to create a disk array, and then press Enter.
- Select the disk units to be included in the disk array,
and then press Enter.
Information similar to the following example is displayed:
+--------------------------------------------------------------------------------+ | | | Select Protection Level and Stripe Size | | | | Default array configurations are shown. To change | | setting hit "c" for options menu. Highlight desired | | option then hit Enter | | | | c=Change Setting | | | |Protection Level . . . . . . . . . . . . : RAID 5 | |Stripe Size . . . . . . . . . . . . . . : 256 k | |Queue Depth (default = 12). . . . . . . : 12 | | | | | | | | | | | | | | | |Press Enter to Continue | | | |e=Exit q=Cancel | +--------------------------------------------------------------------------------+ - Select the protection level for the array. For more information about selecting the appropriate RAID level, see Supported RAID levels.
- Select the stripe size, in kilobytes, for the array. For more information about selecting the appropriate stripe size, see Stripe-unit size.
- Press Enter to continue.
Data can be restored from a backup disk. The disk array can be added to a volume group. Logical volumes and file systems can also be created.
- Return to the system service procedure that sent you here.
Parent topic: IBM SAS RAID controller maintenance