• This forum has a zero tolerance policy regarding spam. If you register here to publish advertising, your user account will be deleted without further questions.

Raid1: Schreibvorgänge zwischendurch

tobi4

Member
Hallo,

habe gerade zufällig gesehen, dass Maschine geringfügig fleißiger ist als normal. Sprich ~90% idle.

Grund dafür sind md1_raid1 und md1_resync.

Laut mdstat wird da alles neu geschrieben:

Personalities : [raid1]
md0 : active raid1 sda1[2] sdb1[1]
524224 blocks super 1.0 [2/2] [UU]

md1 : active raid1 sdb3[1] sda3[2]
1463433024 blocks super 1.1 [2/2] [UU]
[=>...................] check = 9.7% (143237440/1463433024) finish=268.1min speed=82046K/sec
bitmap: 4/11 pages [16KB], 65536KB chunk

unused devices: <none>

Ist das normal? Oder ist das wieder der Beginn eines Plattendefekts?
Oder macht die nur nen Selbsttest der Daten auf beiden Platten, weil es sonst grad nix zu tun gibt (Nacht)? :D
Sonst ist alles normal, hab nix umgestellt oder rumgefummelt.

Hat jemand eine Info oder einen Link?

Vielen Dank
Gruß
 
Das ist ein periodischer Re-Check des Arrays, siehe /etc/cron.d/mdadm:
Code:
#
# cron.d/mdadm -- schedules periodic redundancy checks of MD devices
#
# Copyright © martin f. krafft <madduck@madduck.net>
# distributed under the terms of the Artistic Licence 2.0
#

# By default, run at 00:57 on every Sunday, but do nothing unless the day of
# the month is less than or equal to 7. Thus, only run on the first Sunday of
# each month. crontab(5) sucks, unfortunately, in this regard; therefore this
# hack (see #380425).
57 0 * * 0 root if [ -x /usr/share/mdadm/checkarray ] && [ $(date +\%d) -le 7 ]; then /usr/share/mdadm/checkarray --cron --all --idle --quiet; fi
 
Okay, das heißt, da wird nur verglichen und nicht neu geschrieben?

Dann bin ich beruhigt und weiß Bescheid, was jeden 1. Sonntag im Monat nachts abgeht... :D

Danke.
 
Nein, nur im Fehlerfall werden einzelne Sektoren neu geschrieben. Stichwort mismatch_cnt.

Wenn sich dein RAID im Rebuild befindet, betitelt mdadm diesen Vorgang als "Recovery", nicht als "Check" oder "Resync".


Viele Grüße
Tim
 
Back
Top