All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bernd Schubert <bernd-schubert@web.de>
To: Corey McGuire <coreyfro@coreyfro.com>, linux-raid@vger.kernel.org
Subject: Re: Checking consistency of Linux software RAID
Date: Tue, 8 Jul 2003 18:51:31 +0200	[thread overview]
Message-ID: <200307081851.31385.bernd-schubert@web.de> (raw)
In-Reply-To: <200307071142330484.8AF6968B@shargaas.coreyfro.com>

Hello Corey!

> This question has been on the tip of my tongue... Thanks for your answer...
>
> Out of curiousity, why do you use /dev/zero? Would dd to /dev/null cause
> problems or is /dev/zero required for proper results?
>

D'oh it seems I was a bit sleepy yesterday, of course, you are right - it has 
to be /dev/null! 
And of course, one can only read from /dev/zero. 

Sorry for posting improper commands.


Best regards,	
	Bernd


> >Hi,
> >
> >/proc/mdstat is to monitor the status of your raid, so when one drive
> >fails it
> >becomes dropped out of the raid-array. Using mdadm you can monitor
> >/proc/mdstat and it even can send you a mail when one of your disks fails.
> >So
> >if you really want to scan your disk once a week, why not running 'dd
> >if=/dev/mdX of=/dev/zero' ? So every block of every raid-disk should
> >become
> >read and the md-driver should automatically drop a failing disk  out of
> >the
> >raid.
> >I guess you could even try to repair a disk when it became dropped out of
> >the
> >raid by running some scripts, but since I never trusted any disk that had
> >failed ones, I never worried about it.
> >
> >Bernd
> >-
> >To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> >the body of a message to majordomo@vger.kernel.org
> >More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
> /\/\/\/\/\/\ Nothing is foolproof to a talented fool. /\/\/\/\/\/\
>
> coreyfro@coreyfro.com
> http://www.coreyfro.com/
> http://stats.distributed.net/rc5-64/psummary.php3?id=196879
> ICQ : 3168059
>
> -----BEGIN GEEK CODE BLOCK-----
> GCS d--(+) s: a-- C++++$ UBL++>++++ P+ L+ E W+++$ N+ o? K? w++++$>+++++$
> O---- !M--- V- PS+++ PE++(--) Y+ PGP- t--- 5(+) !X- R(+) !tv b-(+)
> Dl++(++++) D++ G+ e>+++ h++(---) r++>+$ y++*>$ H++++ n---(----) p? !au w+
> v- 3+>++ j- G'''' B--- u+++*** f* Quake++++>+++++$
> ------END GEEK CODE BLOCK------
>
> Home of Geek Code - http://www.geekcode.com/
> The Geek Code Decoder Page - http://www.ebb.org/ungeek//
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Bernd Schubert
Physikalisch Chemisches Institut / Theoretische Chemie
Universität Heidelberg
INF 229
69120 Heidelberg
e-mail: bernd.schubert@pci.uni-heidelberg.de
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2003-07-08 16:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-30 12:58 Checking consistency of Linux software RAID Martin Bene
2003-06-30 13:13 ` Gordon Henderson
2003-06-30 13:16   ` Lars Marowsky-Bree
2003-06-30 13:28     ` Gordon Henderson
2003-06-30 13:36       ` Lars Marowsky-Bree
2003-06-30 13:16 ` Lars Marowsky-Bree
2003-07-07 18:29 ` Bernd Schubert
2003-07-07 18:42   ` Corey McGuire
2003-07-08 16:51     ` Bernd Schubert [this message]
2003-07-08 21:23       ` software raid hangs Donghui Wen
2003-07-08 21:38         ` Matt Simonsen
2003-07-08 21:41           ` Donghui Wen
2003-07-08 21:47       ` Checking consistency of Linux software RAID Corey McGuire
  -- strict thread matches above, loose matches on Subject: below --
2003-07-09  8:06 Martin Bene

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200307081851.31385.bernd-schubert@web.de \
    --to=bernd-schubert@web.de \
    --cc=coreyfro@coreyfro.com \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.