linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Neil Brown <neilb@suse.de>
To: "spren.gm@gmail.com" <spren.gm@gmail.com>
Cc: "linux-raid@vger.kernel.org" <linux-raid@vger.kernel.org>
Subject: Re: about faulty spare-disk interrupts synchronization
Date: Thu, 24 Dec 2009 10:31:17 +1100	[thread overview]
Message-ID: <20091224103117.26ec3f04@notabene> (raw)
In-Reply-To: <200912231951301400282@gmail.com>

On Wed, 23 Dec 2009 19:51:33 +0800
"spren.gm@gmail.com" <spren.gm@gmail.com> wrote:

> Hi,
> Is it intended that when a spare disk status gets faulty (detached from raid or really faulty) 
> synchronization is interrupted ? We found that case several days ago with kernel version of 2.6.24, 
> after we unplugged a spare disk of a raid5 which had bitmap and was recovering, the spare disk 
> status became faulty  and synchronization restarted from 0%. 
> 
> Looking into the md code, i find that in md/md.c/md_error(), it doesn't make a difference between 
> spare disks and normal disks. Should we make a faulty spare disk not interrupt raid synchronization ?
> Disks nowadays have become much larger, and recovering one disk may cost several hours or even longer.
>

Yes, it is intended that any synchronisation is interrupted when any device
fails.
However if the device was just an inactive spare, then the synchronisation
should start again from the same place that it was up to, it at least it
should repeat the already-done part very very quickly.

Can you test on a more recent kernel?

Can you give precise details of steps and kernel log messages and mdstat
output?

NeilBrown

      reply	other threads:[~2009-12-23 23:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-23 11:51 about faulty spare-disk interrupts synchronization spren.gm
2009-12-23 23:31 ` Neil Brown [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=20091224103117.26ec3f04@notabene \
    --to=neilb@suse.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=spren.gm@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).