All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Tripathy <jonnyt@abpni.co.uk>
Cc: linux-raid@vger.kernel.org
Subject: Re: Raid Checks
Date: Sun, 03 Apr 2011 20:02:49 +0100	[thread overview]
Message-ID: <4D98C459.40806@abpni.co.uk> (raw)
In-Reply-To: <4D9865AC.6060607@anonymous.org.uk>

> On 03/04/2011 12:30, Jonathan Tripathy wrote:
>>>> This is what state my server is currently in:
>>>>
>>>> State : clean, resyncing
>>> With mdadm 3.2.1, this will show "checking" when it is checking,
>>> rather than "resyncing".
>> Interesting. So during a normal "resync", I'm guessing redundancy will
>> be lost?
>
> You only need a resync when you've already lost redundancy. The only 
> normal resync is at array creation time, when mdadm will instantly 
> create the array with no redundancy and then proceed to generate the 
> mirror/parity information. Any other resync is only required after 
> something else caused a loss of redundancy e.g. a disc dying or a 
> system crash, or perhaps a drive threw up a bad sector. The check 
> process will attempt to discover any such problems.
Understood. If a problem is detected, would I have to involk a re-sync 
manually (assuming that CHECK is enabled in the script)
>
> As Doug Ledford noted in the Red Hat Bugzilla there are times when a 
> md RAID 1 can harmlessly end up out of sync.
>
>> Also, if the "checking" process finds an error, where will I
>> find it? /var/log/messages?
>
> In the email the raid-check process sends you. Any errors found are 
> not reported in detail on RHEL/CentOS 5 - I think more recent 
> kernel/mdadm can be asked to be more verbose about the location of 
> errors. Requesting a repair rather than a check would get the check 
> process to automatically resync any stripes which had bad mirrors/parity.
How do I set up emails? Is it just the monitor deamon?
>
> In short, it is safe to ignore a modest mismatch_cnt on RAID 1 as long 
> as you aren't seeing disc errors, and that is what Doug Ledford's 
> patch to raid-check does.
>


      reply	other threads:[~2011-04-03 19:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-03  8:31 Raid Checks Jonathan Tripathy
2011-04-03  8:48 ` Jonathan Tripathy
2011-04-03 11:01   ` NeilBrown
2011-04-03 11:04     ` Jonathan Tripathy
2011-04-03 11:19       ` NeilBrown
2011-04-03 11:30         ` Jonathan Tripathy
2011-04-03 12:18           ` John Robinson
2011-04-03 19:02             ` Jonathan Tripathy [this message]

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=4D98C459.40806@abpni.co.uk \
    --to=jonnyt@abpni.co.uk \
    --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.