From: Dan Williams <dan.j.williams@intel.com>
To: Pierre Ossman <pierre-list@ossman.eu>
Cc: neilb@suse.de, LKML <linux-kernel@vger.kernel.org>
Subject: Re: Raid not shutting down when disks are lost?
Date: Sat, 21 Nov 2009 12:21:58 -0700 [thread overview]
Message-ID: <e9c3a7c20911211121l517837f9s17283dd37e0dd865@mail.gmail.com> (raw)
In-Reply-To: <20091121170355.7540d169@mjolnir.ossman.eu>
On Sat, Nov 21, 2009 at 9:03 AM, Pierre Ossman <pierre-list@ossman.eu> wrote:
> Neil?
>
> On Thu, 8 Oct 2009 16:39:52 +0200
> Pierre Ossman <pierre-list@ossman.eu> wrote:
>
>> Today one RAID6 array I manage decided to lose four out of eight disks.
>> Oddly enough, the array did not shut down but instead I got
>> intermittent read and writer errors from the filesystem.
This is expected.
The array can't shutdown when there is a mounted filesystem. Reads
may still be serviced from the survivors, all writes should be aborted
with an error.
>>
>> It's been some time since I had a failure of this magnitude, but I seem
>> to recall that once the array lost too many disks, it would shut down
>> and refuse to write a single byte. The nice effect of this was that if
>> it was a temporary error, you could just reboot and the array would
>> start nicely (albeit in degraded mode).
>>
>> Has something changed? Is this perhaps an effect of using RAID6 (I used
>> to run RAID5 arrays)? Or was I simply lucky the previous instances I've
>> had?
It should not come back up nicely in this scenario. You need
"--force" to attempt to reassemble a failed array.
>>
>> Related, it would be nice if you could control how it handles lost
>> disks. E.g. I'd like it to go read-only when it goes in to fully
>> degraded mode. In case the last disk lost was only a temporary glitch,
>> the array could be made to recover without a lengthy resync.
>>
When you say "fully-degraded" do you mean "failed"? In general the
bitmap mechanism provides fast resync after temporary disk outages.
--
Dan
next prev parent reply other threads:[~2009-11-21 19:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-08 14:39 Pierre Ossman
2009-11-21 16:03 ` Pierre Ossman
2009-11-21 19:21 ` Dan Williams [this message]
2009-11-21 19:36 ` Pierre Ossman
2009-11-21 20:58 ` Dan Williams
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=e9c3a7c20911211121l517837f9s17283dd37e0dd865@mail.gmail.com \
--to=dan.j.williams@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=neilb@suse.de \
--cc=pierre-list@ossman.eu \
/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
all inboxes | Powered by JetHome®