From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: How to handle a RAID5 arrawy with a failing drive?
Date: Tue, 18 Mar 2014 09:02:07 +0000 (UTC) [thread overview]
Message-ID: <pan$2239d$446ec5c7$d67506b7$f25a7c65@cox.net> (raw)
In-Reply-To: 20140316222026.GU16946@merlins.org
Marc MERLIN posted on Sun, 16 Mar 2014 15:20:26 -0700 as excerpted:
> Do I have other options?
> (data is not important at all, I just want to learn how to deal with
> such a case with the current code)
First just a note that you hijacked Mr Manana's patch thread. Replying
to a post and changing the topic (the usual cause of such hijacks) does
NOT change the thread, as the References and In-Reply-To headers still
includes the Message-IDs from the original thread, and that's what good
clients thread by since the subject line isn't a reliable means of
threading. To start a NEW thread, don't reply to an existing thread,
compose a NEW message, starting a NEW thread. =:^)
Back on topic...
Since you don't have to worry about the data I'd suggest blowing it away
and starting over. Btrfs raid5/6 code is known to be incomplete at this
point, to work in normal mode and write everything out, but with
incomplete recovery code. So I'd treat it like the raid-0 mode it
effectively is, and consider it lost if a device drops.
There *IS* a post from an earlier thread where someone mentioned a
recovery under some specific circumstance that worked for him, but I'd
consider that the exception not the norm since the code is known to be
incomplete and I think he just got lucky and didn't hit the particular
missing code in his specific case. Certainly you could try to go back
and see what he did and under what conditions, and that might actually be
worth doing if you had valuable data you'd be losing otherwise, but since
you don't, while of course it's up to you, I'd not bother were it me.
Which I haven't. My use-case wouldn't be looking at raid5/6 (or raid0)
anyway, but even if it were, I'd not touch the current code unless it
/was/ just for something I'd consider risking on a raid0. Other than
pure testing, the /only/ case I'd consider btrfs raid5/6 for right now,
would be something that I'd consider raid0 riskable currently, but with
the bonus of it upgrading "for free" to raid5/6 when the code is complete
without any further effort on my part, since it's actually being written
as raid5/6 ATM, the recovery simply can't be relied upon as raid5/6, so
in recovery terms you're effectively running raid0 until it can be.
Other than that and for /pure/ testing, I just don't see the point of
even thinking about raid5/6 at this point.
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
next prev parent reply other threads:[~2014-03-18 9:02 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-16 15:23 [PATCH] Btrfs: fix incremental send's decision to delay a dir move/rename Filipe David Borba Manana
2014-03-16 17:09 ` [PATCH v2] " Filipe David Borba Manana
2014-03-16 20:37 ` [PATCH v3] " Filipe David Borba Manana
2014-03-16 22:20 ` How to handle a RAID5 arrawy with a failing drive? Marc MERLIN
2014-03-16 22:55 ` Chris Murphy
2014-03-16 23:12 ` Chris Murphy
2014-03-16 23:17 ` Marc MERLIN
2014-03-16 23:23 ` Chris Murphy
2014-03-17 0:51 ` Marc MERLIN
2014-03-17 1:06 ` Chris Murphy
2014-03-17 1:17 ` Marc MERLIN
2014-03-17 2:56 ` Chris Murphy
2014-03-17 3:44 ` Marc MERLIN
2014-03-17 5:12 ` Chris Murphy
2014-03-17 16:13 ` Marc MERLIN
2014-03-17 17:38 ` Chris Murphy
2014-03-16 23:40 ` ronnie sahlberg
2014-03-16 23:20 ` Chris Murphy
2014-03-18 9:02 ` Duncan [this message]
2014-03-19 6:09 ` How to handle a RAID5 arrawy with a failing drive? -> raid5 mostly works, just no rebuilds Marc MERLIN
2014-03-19 6:32 ` Chris Murphy
2014-03-19 15:40 ` Marc MERLIN
2014-03-19 16:53 ` Chris Murphy
2014-03-19 22:40 ` Marc MERLIN
[not found] ` <CAGwxe4jL+L571MtEmeHnTnHQSD7h+2ApfWqycgV-ymXhfMR-JA@mail.gmail.com>
2014-03-20 0:46 ` Marc MERLIN
2014-03-20 7:37 ` Tobias Holst
2014-03-23 19:22 ` Marc MERLIN
2014-03-20 7:37 ` Duncan
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='pan$2239d$446ec5c7$d67506b7$f25a7c65@cox.net' \
--to=1i5t5.duncan@cox.net \
--cc=linux-btrfs@vger.kernel.org \
/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