Check your current /etc/raidtab
Code:
cat /etc/raidtab
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
persistent-superblock 0
chunk-size 8
device /dev/hda1
raid-disk 0
device /dev/hdb1
raid-disk 1
You should be able to see your current raid configuration and the device. If the replaced hard drive has been detected as the same device, just the 'raidhostadd'
Code:
raidhotadd /dev/md0 /dev/hdb1
I assumed that /dev/hdb1 is your newly added disk partition.
Then use 'watch cat /proc/mdstat' to view the re-mirroring process.
Before this make sure that you have re-partioned your new hard disk same as earlier.