linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* checking md device parity (forced resync) - is it necessary?
@ 2006-09-05  8:59 Tomasz Chmielewski
  2006-09-05 10:13 ` Neil Brown
  2006-09-06 13:55 ` John Stoffel
  0 siblings, 2 replies; 8+ messages in thread
From: Tomasz Chmielewski @ 2006-09-05  8:59 UTC (permalink / raw)
  To: linux-raid

Lately I installed Debian on a Thecus n4100 machine.
It's a 600 MHz ARM storage device, and has 4 x 400 GB drives.

I made Linux software RAID on these drives:
- RAID-1  - ~1 GB for system (/)
- RAID-1  - ~1 GB for swap
- RAID-10 - ~798 GB for iSCSI storage


I noticed that each day the device slows down; a quick investigation 
discovered that Debian runs a "checkarray" script each night at 1 am 
(via cron). The essence of "checkarray" script is basically this:

echo check > /sys/block/$dev/md/sync_action

Which starts a resync of drives. As one can imagine, resync of 800 GB on 
a rather slow device (600 MHz ARM) can take 12 hours or so...


So my question is: is this "daily forced resync" necessary?

Perhaps in some cases, yes, because someone wrote that tool which does 
it daily.

On the other hand, if we consider Linux software RAID stable, such a 
resync would be only needed in some rare situations.

When can one need to run a "daily forced resync", and in which 
circumstances?


-- 
Tomasz Chmielewski

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-09-06 14:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-05  8:59 checking md device parity (forced resync) - is it necessary? Tomasz Chmielewski
2006-09-05 10:13 ` Neil Brown
2006-09-05 12:00   ` Tomasz Chmielewski
2006-09-05 16:59     ` Luca Berra
2006-09-06  7:19     ` Mario 'BitKoenig' Holbe
2006-09-06  8:12       ` Tomasz Chmielewski
2006-09-06 13:55 ` John Stoffel
2006-09-06 14:11   ` Tomasz Chmielewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).