From: Jim Salter <jim@jrs-s.net>
To: Chris Murphy <lists@colorremedies.com>
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: btrfs raid1 and btrfs raid10 arrays NOT REDUNDANT
Date: Fri, 03 Jan 2014 21:59:15 -0500 [thread overview]
Message-ID: <52C77903.9060408@jrs-s.net> (raw)
In-Reply-To: <03E88FCB-C473-4978-B682-076B90039E0E@colorremedies.com>
On 01/03/2014 07:27 PM, Chris Murphy wrote:
> This is the wrong way to solve this. /etc/grub.d/10_linux is subject
> to being replaced on updates. It is not recommended it be edited, same
> as for grub.cfg. The correct way is as I already stated, which is to
> edit the GRUB_CMDLINE_LINUX= line in /etc/default/grub.
Fair enough - though since I already have to monkey-patch 00_header, I
kind of already have an eye on grub.d so it doesn't seem as onerous as
it otherwise would. There is definitely a lot of work that needs to be
done on the boot sequence for btrfs IMO.
> I think it's bad advice to recommend always persistently mounting a
> good volume with this option. There's a reason why degraded is not the
> default mount option, and why there isn't yet automatic degraded mount
> functionality. That fstab contains other errors.
What other errors does it contain? Aside from adding the "degraded"
option, that's a bone-stock fstab entry from an Ubuntu Server installation.
> The correct way to automate this before Btrfs developers get around to
> it is to create a systemd unit that checks for the mount failure,
> determines that there's a missing device, and generates a modified
> sysroot.mount job that includes degraded.
Systemd is not the boot system in use for my distribution, and using it
would require me to build a custom kernel, among other things. We're
going to have to agree to disagree that that's an appropriate
workaround, I think.
> You're simply dissatisfied with the state of Btrfs development and are
> suggesting bad hacks as a work around. That's my argument. Again, if
> your use case requires automatic degraded mounts, use a technology
> that's mature and well tested for that use case. Don't expect a lot of
> sympathy if these bad hacks cause you problems later.
You're suggesting the wrong alternatives here (mdraid, LVM, etc) - they
don't provide the features that I need or are accustomed to (true
snapshots, copy on write, self-correcting redundant arrays, and on down
the line). If you're going to shoo me off, the correct way to do it is
to wave me in the direction of ZFS, in which case I can tell you I've
been a happy user of ZFS for 5+ years now on hundreds of systems. ZFS
and btrfs are literally the *only* options available that do what I want
to do, and have been doing for years now. (At least aside from
six-figure-and-up proprietary systems, which I have neither the budget
nor the inclination for.)
I'm testing btrfs heavily in throwaway virtual environments and in a few
small, heavily-monitored "test production" instances because ZFS on
Linux has its own set of problems, both technical and licensing, and I
think it's clear btrfs is going to take the lead in the very near future
- in many ways, it does already.
>> I'll set up a Nagios module to check for degraded arrays using btrfs fi list instead, thanks…
> That's a good idea, except that it's show rather than list.
Yup, that's what I meant all right. I frequently still get the syntax
backwards between btrfs fi show and btrfs subv list.
next prev parent reply other threads:[~2014-01-04 2:59 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
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 [this message]
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=52C77903.9060408@jrs-s.net \
--to=jim@jrs-s.net \
--cc=linux-btrfs@vger.kernel.org \
--cc=lists@colorremedies.com \
/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.