How to integrate HDD into raid array after replacement?

  • Thread starter Thread starter postcd
  • Start date Start date
P

postcd

Quote:
Integration of the new drive
Once the defective drive has been removed and the new one installed, it needs to be intagrated into the RAID array. This needs to be done for each partition.
# mdadm /dev/md0 -a /dev/sdb1
# mdadm /dev/md1 -a /dev/sdb2
# mdadm /dev/md2 -a /dev/sdb3
# mdadm /dev/md3 -a /dev/sdb4
The new drive is now part of the array and will be synchronized. Depending on the size of the partitions this procedure can take some time. The status of the synchronization can be observed using cat /proc/mdstat.
I have only 2 drives, what exact commands to do after one was replaced as faulty please?

Continue reading...
 
Back
Top