Soft Raid 1 Replace bad Disk 1. buy a hard disk of the same size. install the new hard disk on the machine. partition the hard disk and set the t type to "fd" (the new drive letter I added is/dev/sdb # fdisk/dev/sdb 4. run "partprobe" to allow the kernel to reload the partition table. stop RAID1 mounting # umount/dev/md0 6. remove the damaged device # mdadm/dev/md0-r/dev/sdxx 7. view the status of the current array: # more/proc/mdstat 8. for actual operations, pay attention to two points: first, correct partition of the new disk before adding; second, replace/dev/sdb1 with the device name of the added device. # Mdadm/dev/md0-a/dev/sdb1 9. view the status of the current array: # more/proc/mdstat unused devices: <none> [root @ server13/] # more/proc/mdstat Personalities: [raid1] md0: active raid1 sdb1 [2] sdc1 [1] 976759936 blocks [2/1] [_ U] [> ................... .] recovery = 0.1% (1366208/976759936) finish = 107.0 min speed = 151800 K/sec 10. you can see that the data is being synchronized.