linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chris Murphy <lists@colorremedies.com>
To: "Austin S. Hemmelgarn" <ahferroin7@gmail.com>
Cc: Matt <langelino@gmx.net>, Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: Data recovery from a linear multi-disk btrfs file system
Date: Wed, 20 Jul 2016 14:20:25 -0600	[thread overview]
Message-ID: <CAJCQCtTQepjAtcmtC6mdrU4xmxbV4jbK2UPWr_ikaOzwjv1ntw@mail.gmail.com> (raw)
In-Reply-To: <6acece40-1457-e4f3-646b-083780d8a251@gmail.com>

On Fri, Jul 15, 2016 at 12:52 PM, Austin S. Hemmelgarn
<ahferroin7@gmail.com> wrote:

> Your own 'btrfs fi df' output clearly says that more than 99% of your data
> chunks are in a RAID0 profile, hence my statement.

Somewhen in ancient Btrfs list history, there was a call to change the
mkfs default for multiple device from data raid0 profile to single.
But I just tried it and it's still raid0. That's pretty risky for a
default as any file more than 64KiB is going to end up with an
unrecoverable hole in the data, and it might be that the OP was
expecting single profile when creating this file system and just
overlooked that it's raid0, not linear.

Even single profile is risky. Some users might be prepared to lose
some data on one failed device. But the safest option would be to use
raid1 (two copies only, should we one day get n-copies) profile for
data and metadata when the profile isn't otherwise specified. By
default.


-- 
Chris Murphy

  reply	other threads:[~2016-07-20 20:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-15  9:51 Data recovery from a linear multi-disk btrfs file system Matt
2016-07-15 12:10 ` Austin S. Hemmelgarn
2016-07-15 18:45   ` Matt
2016-07-15 18:52     ` Austin S. Hemmelgarn
2016-07-20 20:20       ` Chris Murphy [this message]
2016-07-20 22:19     ` Kai Krakow
2016-07-20 22:30       ` Kai Krakow

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=CAJCQCtTQepjAtcmtC6mdrU4xmxbV4jbK2UPWr_ikaOzwjv1ntw@mail.gmail.com \
    --to=lists@colorremedies.com \
    --cc=ahferroin7@gmail.com \
    --cc=langelino@gmx.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).