From: John Robinson <john.robinson@anonymous.org.uk>
To: Jonathan Tripathy <jonnyt@abpni.co.uk>
Cc: NeilBrown <neilb@suse.de>, linux-raid@vger.kernel.org
Subject: Re: Raid Checks
Date: Sun, 03 Apr 2011 13:18:52 +0100 [thread overview]
Message-ID: <4D9865AC.6060607@anonymous.org.uk> (raw)
In-Reply-To: <4D985A3B.8030801@abpni.co.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.
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.
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.
Cheers,
John.
next prev parent reply other threads:[~2011-04-03 12:18 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 [this message]
2011-04-03 19:02 ` Jonathan Tripathy
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=4D9865AC.6060607@anonymous.org.uk \
--to=john.robinson@anonymous.org.uk \
--cc=jonnyt@abpni.co.uk \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.de \
/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 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).