linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: NeilBrown <neilb@suse.de>
To: "Mathias Burén" <mathias.buren@gmail.com>
Cc: Linux-RAID <linux-raid@vger.kernel.org>
Subject: Re: RAID6 check found different events, how should I proceed?
Date: Tue, 9 Aug 2011 08:57:04 +1000	[thread overview]
Message-ID: <20110809085704.24060e8d@notabene.brown> (raw)
In-Reply-To: <CADNH=7FBkx5HgWKiEzL_sNZvbjjTMbS23wOYXyrmPETCRbVwOw@mail.gmail.com>

On Sat, 6 Aug 2011 17:02:48 +0100 Mathias Burén <mathias.buren@gmail.com>
wrote:

> On 6 August 2011 14:23, Mathias Burén <mathias.buren@gmail.com> wrote:
> > My RAID6 is currently degraded with one HDD (panic mail on the list),
> > and my weekly cron job kicked in doing the RAID6 check action. This is
> > the result:
> >
> > DEV     EVENTS  REALL   PEND    UNCORR  CRC     RAW     ZONE    END
> > sdb1    6239487 0               0               0               2       0               0
> > sdc1    6239487 0               0               0               0       0               0
> > sdd1    6239487 0               0               0               0       0               0
> > sde1    6239487 0               0               0               0       0               0
> > sdf1    6239490 0               0               0               0       49              6
> > sdg1    6239491 0               0               0               0       0               0
> > sdh1    (missing, on RMA trip)
> >
> (snip)
> > * Should I run a repair?
> > * Chould I run a check again, to see if the event count changes?
> > * Is it likely I've 2 more bad harddrives that will die soon?
> > * Is it wise to run another smartctl -t long on all devices?
> >
> > Thanks,
> > Mathias
> >
> 
> A followup;
> 
> I ran smartctl -t long on all devices, and they all passed, SMART is
> fine. The number of events is also the same for all HDDs now:
> 
> DEV	EVENTS	REALL	PEND	UNCORR	CRC	RAW	ZONE	END
> sdb1	6244415	0	0	0	2	0	0	
> sdc1	6244415	0	0	0	0	0	0	
> sdd1	6244415	0	0	0	0	0	0	
> sde1	6244415	0	0	0	0	0	0	
> sdf1	6244415	0	0	0	0	49	6	
> sdg1	6244415	0	0	0	0	0	0	
> sdh1								
> 
> This is without me running repair or anything like that.

The thing that you did which produced the change was that you let time pass.

Presumably there was a time delay (maybe small) between extracting the
'events' number from sde1 and sdf1, then sdf1 and sdg1.  During these times
the events on all devices in the array was updated.  This implies some thread
was writing, but possibly not writing very heavily.

When you sampled them all the second time and got the same number there were
presumably no writes happening, so the event numbers didn't change.

When there are occasional writes the array oscillates between  'clean' and
'active' and each change updates the 'events' number.

NeilBrown

--
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

  parent reply	other threads:[~2011-08-08 22:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-06 13:23 RAID6 check found different events, how should I proceed? Mathias Burén
2011-08-06 16:02 ` Mathias Burén
     [not found]   ` <CALvtuFTKBRtco1VFw9xv6x3qsLx+rdJg2wL8E9+1g3LQf=Xkuw@mail.gmail.com>
2011-08-06 17:09     ` Cal Leeming [Simplicity Media Ltd]
2011-08-08 22:57   ` NeilBrown [this message]
2011-08-06 17:54 ` Alexander Kühn

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=20110809085704.24060e8d@notabene.brown \
    --to=neilb@suse.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=mathias.buren@gmail.com \
    /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).