linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Evans <mjevans1983@gmail.com>
To: Mikael Abrahamsson <swmike@swm.pp.se>
Cc: linux-raid <linux-raid@vger.kernel.org>
Subject: Re: Idea for new RAID type - background extended recovery information
Date: Wed, 9 Dec 2009 16:45:47 -0800	[thread overview]
Message-ID: <4877c76c0912091645w449cb652k73b2958e9159d77b@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.1.10.0912091143350.23464@uplift.swm.pp.se>

On Wed, Dec 9, 2009 at 2:53 AM, Mikael Abrahamsson <swmike@swm.pp.se> wrote:
> Generally, my experience has been that total disk failures are fairly rare,
> instead with the much larger disks today, I get single block/sector
> failures, meaning 512 bytes (or 4 k, I don't remember) can't be read. Is
> there any data to support this?
>

I agree with this failure mode.  I've seen occasional disk failures;
usually on single drive systems, far more often are either single
failures; or in the case of laptops (and possibly also hard drives
running in more seismically active areas) occasional runs of
head-crashes.  In the case of a head-crash it would be a _VERY_ good
idea to copy the data off first then recover it, but one would expect
only a moderate volume of poison data.  Having a layer to identify
which data is suspect, and potentially provide recovery information
would be a great idea.  In my use cases I'd probably dedicate an
entire stripe for every 64 that are backed by it.  Changing any
information within that 64 stripe section would result in a change to
the parity data, but that layer needn't be updated constantly, during
idle periods would be a sufficient safety net, so long as it was
automated; the list of checksums would of course be updated with the
same operation.

So there would be three basic functions:

1) Determine if chunks are the expected checksum.
2) Determine if chunks are the correct version (to provide upper
layers with atomic storage).
3) Provide low-density recovery data.  Not enough to protect against a
disk loss, but whatever scale of safety net between 0 and 100% of a
drive is desired.

  reply	other threads:[~2009-12-10  0:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-09  9:06 Idea for new RAID type - background extended recovery information Michael Evans
2009-12-09 10:53 ` Mikael Abrahamsson
2009-12-10  0:45   ` Michael Evans [this message]
2009-12-12  7:22   ` Kasper Sandberg
2009-12-13  3:47     ` Michael Evans
2009-12-16 13:13       ` Goswin von Brederlow
2009-12-17  1:11         ` Michael Evans

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=4877c76c0912091645w449cb652k73b2958e9159d77b@mail.gmail.com \
    --to=mjevans1983@gmail.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=swmike@swm.pp.se \
    /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).