From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: btrfs raid1 and btrfs raid10 arrays NOT REDUNDANT
Date: Sun, 5 Jan 2014 11:01:23 +0000 (UTC) [thread overview]
Message-ID: <pan$99ffc$18730648$ff1a175a$a2dfd435@cox.net> (raw)
In-Reply-To: 52C87BAD.4060606@jrs-s.net
Jim Salter posted on Sat, 04 Jan 2014 16:22:53 -0500 as excerpted:
> On 01/04/2014 01:10 AM, Duncan wrote:
>> The example given in the OP was of a 4-device raid10, already the
>> minimum number to work undegraded, with one device dropped out, to
>> below the minimum required number to mount undegraded, so of /course/
>> it wouldn't mount without that option.
>
> The issue was not realizing that a degraded fault-tolerant array would
> refuse to mount without being passed an -o degraded option. Yes, it's on
> the wiki - but it's on the wiki under *replacing* a device, not in the
> FAQ, not in the head of the "multiple devices" section, etc; and no
> coherent message is thrown either on the console or in the kernel log
> when you do attempt to mount a degraded array without the correct
> argument.
>
> IMO that's a bug. =)
I'd agree, usability bug, one of many smoothing out the rough "it works,
but it's not easy to work with it" bugs.
FWIW I'm seeing progress in that area, now. The rush of functional bugs
and fixes for them has finally slowed down to the point where there's
beginning to be time to focus on the usability and rough edges bugs. I
believe I saw a post in October or November from Chris Mason, where he
said yes, the maturing of btrfs has been predicted before, but it really
does seem like the functional bugs are slowing down to the point where
the usability bugs can finally be addressed, and 2014 really does look
like the year that btrfs will finally start shaping up into a mature
looking and acting filesystem, including in usability, etc.
And Chris mentioned the GSoS project that worked on one angle of this
specific issue, too. Getting that code integrated and having btrfs
finally be able to recognize a dropped and re-added device and
automatically trigger a resync... that'd be a pretty sweet improvement to
get. =:^) While they're working on that they may well take a look at at
least giving the admin more information on a degraded-needed mount
failure, too, tweaking the kernel log messages, etc, and possibly taking
a second look as to whether full refusing to mount is the best situation
then, or not.
Actually, I wonder... what about mounting in such a situation, but read-
only and refusing to go writable unless degraded is added too? That
would preserve the "first, do no harm, don't make the problem worse"
ideal, while mounting but read-only unless degraded is added with the rw,
wouldn't be /quite/ as drastic as refusing to mount entirely, unless
degraded is added. I actually think that, plus some better logging
saying hey, we don't have enough devices to write with the requested raid
level, so remount rw,degraded, and either add another device or
reconfigure the raid mode to something suitable for the number of devices.
--
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-01-05 11:01 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-03 22:28 btrfs raid1 and btrfs raid10 arrays NOT REDUNDANT Jim Salter
2014-01-03 22:42 ` Emil Karlson
2014-01-03 22:43 ` Joshua Schüler
2014-01-03 22:56 ` Jim Salter
2014-01-03 23:04 ` Hugo Mills
2014-01-03 23:04 ` Joshua Schüler
2014-01-03 23:13 ` Jim Salter
2014-01-03 23:18 ` Hugo Mills
2014-01-03 23:25 ` Jim Salter
2014-01-03 23:32 ` Chris Murphy
2014-01-03 23:22 ` Chris Murphy
2014-01-04 6:10 ` Duncan
2014-01-04 11:20 ` Chris Samuel
2014-01-04 13:03 ` Duncan
2014-01-04 14:51 ` Chris Mason
2014-01-04 15:23 ` Goffredo Baroncelli
2014-01-04 20:08 ` Duncan
2014-01-04 21:22 ` Jim Salter
2014-01-05 11:01 ` Duncan [this message]
2014-01-03 23:19 ` Chris Murphy
[not found] ` <CAOjFWZ7zC3=4oH6=SBZA+PhZMrSK1KjxoRN6L2vqd=GTBKKTQA@mail.gmail.com>
2014-01-03 23:42 ` Jim Salter
2014-01-03 23:45 ` Jim Salter
2014-01-04 0:27 ` Chris Murphy
2014-01-04 2:59 ` Jim Salter
2014-01-04 5:57 ` Dave
2014-01-04 11:28 ` Chris Samuel
2014-01-04 14:56 ` Chris Mason
2014-01-05 9:20 ` Chris Samuel
2014-01-05 11:16 ` Duncan
2014-01-04 19:18 ` Chris Murphy
2014-01-04 21:16 ` Jim Salter
2014-01-05 20:25 ` Chris Murphy
2014-01-06 10:20 ` Chris Samuel
2014-01-06 18:30 ` Chris Murphy
2014-01-06 19:25 ` Jim Salter
2014-01-06 22:05 ` Chris Murphy
2014-01-06 22:24 ` Jim Salter
2014-01-07 5:43 ` Chris Samuel
2014-01-06 19:31 ` correct way to rollback a root filesystem? Jim Salter
2014-01-07 11:55 ` Sander
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$99ffc$18730648$ff1a175a$a2dfd435@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.