Rebuilding data on a replacement disk drive or solid-state drive in a system or logical partition that is running the Linux operating system
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 SAS RAID controller information, see SAS RAID controllers for Linux.
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:
- Re-create the disk array.
- Re-create the file systems on the disk array.
- 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 by using the iprconfig command.
For a disk drive in a RAID Level 5 or RAID Level 10 disk array