18.104.22.168. Rebuilding a RAID array with raidhotadd Should /proc/mdstat show that a problem exists with one of the RAID arrays, the raidhotadd utility program should be used to rebuild the array. Here are the steps that would need to be performed: 1. Determine which disk drive contains the failed partition 2. Correct the problem that caused the failure (most likely by replacing the drive) 3. Partition the new drive so that the partitions on it are identical to those on the other drive(s) in the array 4. Issue the following command: raidhotadd <raid-device> <disk-partition> 5. Monitor /proc/mdstat to watch the rebuild take place. Here is a command that can be used to watch the rebuild as it takes place: watch -n1 cat /proc/mdstat
From novice to tech pro — start learning today.