Нахожусь на хостинге Hetzner, возникла проблема:
root@rescue ~ # cat /proc/mdstat
Personalities : [raid1]
md3 : active raid1 sdb4[3](S) sda4[2]
1843414335 blocks super 1.2 [2/1] [U_]
md2 : active raid1 sdb3[3] sda3[2]
1073740664 blocks super 1.2 [2/2] [UU]
md1 : active raid1 sdb2[3] sda2[2]
524276 blocks super 1.2 [2/2] [UU]
md0 : active raid1 sdb1[3] sda1[2]
12581816 blocks super 1.2 [2/2] [UU]
unused devices: <none>
Удалил его из массива:
root@rescue ~ # mdadm --manage /dev/md3 --remove /dev/sdb4
mdadm: hot removed /dev/sdb4 from /dev/md3
Добавил:
root@rescue ~ # mdadm /dev/md3 --add /dev/sdb4
mdadm: added /dev/sdb4
Началась синхронизация:
root@rescue ~ # cat /proc/mdstat
Personalities : [raid1]
md3 : active raid1 sdb4[3] sda4[2]
1843414335 blocks super 1.2 [2/1] [U_]
[>....................] recovery = 0.1% (2208832/1843414335) finish=208.3min speed=147255K/sec
md2 : active raid1 sdb3[3] sda3[2]
1073740664 blocks super 1.2 [2/2] [UU]
md1 : active raid1 sdb2[3] sda2[2]
524276 blocks super 1.2 [2/2] [UU]
md0 : active raid1 sdb1[3] sda1[2]
12581816 blocks super 1.2 [2/2] [UU]
unused devices: <none>
Далее она просто прекращается, и дист стоит в spare:
root@rescue ~ # cat /proc/mdstat
Personalities : [raid1]
md3 : active raid1 sdb4[3](S) sda4[2]
1843414335 blocks super 1.2 [2/1] [U_]
md2 : active raid1 sdb3[3] sda3[2]
1073740664 blocks super 1.2 [2/2] [UU]
md1 : active raid1 sdb2[3] sda2[2]
524276 blocks super 1.2 [2/2] [UU]
md0 : active raid1 sdb1[3] sda1[2]
12581816 blocks super 1.2 [2/2] [UU]
unused devices: <none>
root@rescue ~ # mdadm --detail /dev/md3
/dev/md3:
Version : 1.2
Creation Time : Fri Oct 26 07:17:09 2012
Raid Level : raid1
Array Size : 1843414335 (1758.02 GiB 1887.66 GB)
Used Dev Size : 1843414335 (1758.02 GiB 1887.66 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent
Update Time : Sat Jul 19 11:12:22 2014
State : clean, degraded
Active Devices : 1
Working Devices : 2
Failed Devices : 0
Spare Devices : 1
Name : rescue:3 (local to host rescue)
UUID : 4dbdb653:27ef38ff:37df58ba:e605ed89
Events : 11070947
Number Major Minor RaidDevice State
2 8 4 0 active sync /dev/sda4
1 0 0 1 removed
3 8 20 - spare /dev/sdb4