From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: RAID1 storage server won't boot with one disk missing
Date: Tue, 22 Sep 2015 05:12:01 +0000 (UTC) [thread overview]
Message-ID: <pan$24a4a$564d0ff7$8aab1bdc$6a9e65ab@cox.net> (raw)
In-Reply-To: m49fv27cxyc.fsf@coffee.modeemi.fi
Erkki Seppala posted on Mon, 21 Sep 2015 23:35:39 +0300 as excerpted:
> Gareth Pye <gareth@cerberos.id.au> writes:
>
>> People tend to be looking at BTRFS for a guarantee that data doesn't
>> die when hardware does. Defaults that defeat that shouldn't be used.
>
> However, data is no more in danger at startup than it is at the moment
> when btrfs notices a drive dropping, yet it permits IO to proceed. Is
> there not a contradiction?
The problem at runtime is that btrfs _doesn't_ really notice a device
dropping. It simply continues writing to the existing devices, and
buffering the data for the now missing device. The block device
management parts of the kernel know it's missing (the device node will
disappear from devtmpfs, etc), but the btrfs part carries on, oblivious.
At mount, however, btrfs notices (since it must as it's trying to
assemble the filesystem at that point), and refuses to mount without the
degraded option if there's too many devices missing.
I'd argue that noticing the problem and requiring admin intervention to
avoid risk to the data is a feature, not a misfeature, and that the
runtime behavior is therefore ultimately a lacking feature, ultimately a
bug which should be fixed, while you seem to be arguing that carrying on
oblivious is the feature, and requiring admin intervention when there's a
risk to data is a misfeature, ultimately a bug that should be fixed.
=:^\
--
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:[~2015-09-22 5:12 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-16 23:56 RAID1 storage server won't boot with one disk missing erpo41
2015-09-17 15:18 ` Anand Jain
2015-09-17 15:42 ` Chris Murphy
2015-09-17 17:00 ` Goffredo Baroncelli
2015-09-17 19:02 ` Roman Mamedov
2015-09-17 20:18 ` Chris Murphy
2015-09-18 13:29 ` Austin S Hemmelgarn
2015-09-21 20:00 ` Erkki Seppala
2015-09-18 1:36 ` Duncan
2015-09-18 3:02 ` Gareth Pye
2015-09-21 20:35 ` Erkki Seppala
2015-09-22 5:12 ` Duncan [this message]
2015-09-22 11:32 ` Austin S Hemmelgarn
2015-09-22 12:51 ` Qu Wenruo
2015-09-22 13:21 ` Austin S Hemmelgarn
2015-09-22 18:35 ` Chris Murphy
2015-09-22 19:45 ` Austin S Hemmelgarn
2015-09-17 15:26 ` Chris Murphy
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$24a4a$564d0ff7$8aab1bdc$6a9e65ab@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;
as well as URLs for NNTP newsgroup(s).