linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tyler Bletsch <tyler.bletsch@gmail.com>
To: Austin S Hemmelgarn <ahferroin7@gmail.com>, linux-btrfs@vger.kernel.org
Subject: Re: Btrfs is amazing! (a lack-of-bug report)
Date: Wed, 19 Aug 2015 13:24:11 -0400	[thread overview]
Message-ID: <55D4BBBB.9000008@gmail.com> (raw)
In-Reply-To: <55D31A3C.3080208@gmail.com>

Thanks.  I'd consider raid6, but since I'll be backing up to a second 
btrfs raid5 array, I think I have sufficient redundancy, since 
equivalent to raid 5+1 on paper. I'm doing that rather than something 
like raid10 in a single box because I want the redundancy of a second 
physical server so I can failover in the event of a system-level 
component failure.

(And of course, "failover" means "continue being able to watch TV shows 
and stuff")

A question about what you said -- when you say people have hit bugs in 
the raid56 code, which flavor do these bugs tend to be? Are they 
"minding my own business and suddenly it falls over" bugs or "I tried to 
do something weird with btrfs and it screwed up" bugs?

Thanks,
Tyler

On 8/18/2015 7:42 AM, Austin S Hemmelgarn wrote:
> On 2015-08-17 15:18, Tyler Bletsch wrote:
>> Thanks. I will be trying raid5 in production, but "production" in this
>> case just means my home file server, with btrfs snapshot+sync for all
>> data and appropriate offsite non-btrfs backups for critical data. If it
>> hoses up, I'll post a bug report.
> So far, that's been my use case for btrfs raid6, and (barring one bug 
> I found involving an interaction between btrfs and thinly provisioned 
> storage that shouldn't be an issue for you if you're not using LVM 
> thin pools) I have yet to hit any bugs, although based on the lists, 
> I've probably been _very_ lucky in that respect.  If you're willing to 
> take a marginal performance hit (about 1-3% in my experience, which is 
> notably less than the performance difference between MD-RAID5 and 
> MD-RAID6), and have at least four disks, I'd suggest using btrfs's 
> raid6 profile instead of raid5, they use exactly the same code, it's 
> just that raid6 has one more calculation involved and provides better 
> protection against data corruption due to the double parity.
>>
>> Going to try to avoid LVM, since half the appeal of btrfs for me is
>> getting away from the multiple duct-taped layers of indirection that I
>> you get currently with ext4/MD/LVM setups.
> Understandable, my main reasons for having LVM are storing virtual 
> machine disk images and the fact that MD/DM raid is still ridiculously 
> fast compared to btrfs raid (many of my btrfs raid volumes are 
> themselves on top of LVM managed software raid0 or raid1 volumes).
>
>


  reply	other threads:[~2015-08-19 17:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-17  3:35 Btrfs is amazing! (a lack-of-bug report) Tyler Bletsch
2015-08-17 11:48 ` Austin S Hemmelgarn
2015-08-17 19:18   ` Tyler Bletsch
2015-08-18 11:42     ` Austin S Hemmelgarn
2015-08-19 17:24       ` Tyler Bletsch [this message]
2015-08-20 11:52         ` Austin S Hemmelgarn
2015-08-20 12:02           ` Austin S Hemmelgarn
     [not found]             ` <CAC=t97CFWn-mVzyhL4vj6SEMZBgLwFYfszfu55neG=_+NQta=w@mail.gmail.com>
2015-08-20 18:07               ` Tyler Bletsch

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=55D4BBBB.9000008@gmail.com \
    --to=tyler.bletsch@gmail.com \
    --cc=ahferroin7@gmail.com \
    --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).