Outils pour utilisateurs

Outils du site


linux:raid

Vérifier l'état d'un RAID

cat /proc/mdstat

Et [UU] doit apparaître.

Complete Handbook_Software RAID - Gentoo Wiki Archive du 09/01/2019 le 13/12/2019

Motif d'une demande de resync :

[    4.354617] md/raid1:md0: not clean -- starting background reconstruction
[    4.354689] md/raid1:md0: active with 2 out of 2 mirrors
[    4.354829] md0: bitmap file is out of date (26019 < 26020) -- forcing full recovery
[    4.354922] md0: bitmap file is out of date, doing full recovery
[    4.460356] md0: detected capacity change from 0 to 2988307382272
[    4.460529] md: resync of RAID array md0

En cas de resynchronisation :

Personalities : [raid1] 
md0 : active raid1 sdd1[1] sdb1[0]
      2918268928 blocks super 1.2 [2/2] [UU]
      [==>..................]  resync = 10.1% (296512384/2918268928) finish=425.7min speed=102632K/sec
      bitmap: 20/22 pages [80KB], 65536KB chunk

La vitesse se personnalise avec /proc/sys/dev/raid/speed_limit_min et /proc/sys/dev/raid/speed_limit_max, en Ko.

linux/raid.txt · Dernière modification : 2019/12/13 15:31 de root