= Ein Beispielausgabe für `cat /proc/mdstat` = {{{ Personalities : [raid1] [raid5] read_ahead 1024 sectors md2 : active raid5 hdc3[0] hde3[1] hdg3[2] 112639744 blocks level 5, 64k chunk, algorithm 0 [3/3] [UUU] md1 : active raid1 hdc2[0] hde2[1] hdg2[2] 512000 blocks [2/2] [UU] md0 : active raid1 hdc1[0] hde1[1] hdg1[2] 511936 blocks [3/3] [UUU] unused devices: <none> }}} md2: RAID5 mit 3 Platten, alle aktiv md1: RAID1 mit 3 Platten, 1 Spare md0: RAID1 mit 3 Platten, kein Spare, d.h. zweifach gespiegelt = Beispielverlauf für `cat /proc/mdstat` beim Recovery = mit `raidtools` {{{ Personalities : [raid1] read_ahead 1024 sectors md3 : active raid1 sdb1[1] sda1[0] 104320 blocks [2/2] [UU] md2 : active raid1 sdb2[1] sda2[0] 1020032 blocks [2/2] [UU] md1 : active raid1 sdb3[1] sda3[0] 3068288 blocks [2/2] [UU] md4 : active raid1 sdb4[1] sda4[0] 4096448 blocks [2/2] [UU] unused devices: <none> }}} `md1 .. md4`: RAID1 mit 2 Platten, kein Spare, d.h. einfach gespiegelt action: Platte `/dev/sdb` entfernen (Ausfall simulieren) {{{ Personalities : [raid1] read_ahead 1024 sectors md3 : active raid1 sdb1[1](F) sda1[0] 104320 blocks [2/2] [U_] md2 : active raid1 sdb2[1](F) sda2[0] 1020032 blocks [2/2] [U_] md1 : active raid1 sdb3[1](F) sda3[0] 3068288 blocks [2/1] [U_] md4 : active raid1 sdb4[1](F) sda4[0] 4096448 blocks [2/1] [U_] unused devices: <none> }}} beschädigte Partitionen sind mit `(F)` gekennzeichnet action: recovery mit `# raidhotremove /dev/md1 /dev/sdb3` `# raidhotadd /dev/md1 /dev/sdb3` anstoßen {{{ Personalities : [raid1] read_ahead 1024 sectors md3 : active raid1 sdb1[1](F) sda1[0] 104320 blocks [2/1] [U_] md2 : active raid1 sdb2[1](F) sda2[0] 1020032 blocks [2/2] [U_] md1 : active raid1 sdb3[2] sda3[0] 3068288 blocks [2/1] [U_] [=>...................] recovery = 8.1% (251596/3068288) finish=6.7min speed=6963K/sec md4 : active raid1 sdb4[1](F) sda4[0] 4096448 blocks [2/1] [U_] unused devices: <none> }}} nach dem recovery der ersten Partition: {{{ Personalities : [raid1] read_ahead 1024 sectors md3 : active raid1 sdb1[1](F) sda1[0] 104320 blocks [2/1] [U_] md2 : active raid1 sdb2[1](F) sda2[0] 1020032 blocks [2/2] [U_] md1 : active raid1 sdb3[1] sda3[0] 3068288 blocks [2/2] [UU] md4 : active raid1 sdb4[1](F) sda4[0] 4096448 blocks [2/1] [U_] unused devices: <none }}} usw. mit allen Partitionen wiederholen... nach dem kompletten Recovery {{{ Personalities : [raid1] read_ahead 1024 sectors md3 : active raid1 sdb1[1] sda1[0] 104320 blocks [2/2] [UU] md2 : active raid1 sdb2[1] sda2[0] 1020032 blocks [2/2] [UU] md1 : active raid1 sdb3[1] sda3[0] 3068288 blocks [2/2] [UU] md4 : active raid1 sdb4[1] sda4[0] 4096448 blocks [2/2] [UU] unused devices: <none> }}}