linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Austin S Hemmelgarn <ahferroin7@gmail.com>
To: Donald Pearson <donaldwhpearson@gmail.com>,
	Hendrik Friedel <hendrik@friedels.name>
Cc: Omar Sandoval <osandov@fb.com>, Hugo Mills <hugo@carfax.org.uk>,
	Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: size 2.73TiB used 240.97GiB after balance
Date: Thu, 09 Jul 2015 07:59:12 -0400	[thread overview]
Message-ID: <559E6210.2020707@gmail.com> (raw)
In-Reply-To: <CAC=t97CWsK1HLY9WMOQb7WxN9n2dS=FBE1PE+8bQ-Fa1VzNCQA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1015 bytes --]

On 2015-07-08 15:06, Donald Pearson wrote:
> I wouldn't use dd.
>
> I would use recover to get the data if at all possible, then you can
> experiment with try to fix the degraded condition live.  If you have
> any chance of getting data from the pool, you reduce that chance every
> time you make a change.
>
> If btrfs did the balance like you said, it wouldn't be raid5.  What
> you just described is raid4 where only one drive holds parity data.  I
> can't say that I actually know for a fact that btrfs doesn't do this,
> but I'd be shocked and some dev would need to eat their underware if
> the balance job didn't distribute the parity also.
>
That is correct, it does distribute the parity among all the member 
drives.  That said, it would still have to modify the existing drives 
even if it did put the parity on just the new drive, because raid{4,5,6} 
are defined as _striped_ data with parity, not mirrored (ie, if you just 
removed the parity, you'd have a raid0, not a raid1).



[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 2967 bytes --]

  parent reply	other threads:[~2015-07-09 11:59 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <000f4242.05e425492a977c7b@friedels.name>
2015-07-06 22:59 ` size 2.73TiB used 240.97GiB after balance Donald Pearson
2015-07-07  5:42   ` Hendrik Friedel
2015-07-07 13:14     ` Donald Pearson
2015-07-08 18:56       ` Hendrik Friedel
2015-07-08 19:06         ` Donald Pearson
2015-07-08 21:29           ` Hendrik Friedel
2015-07-08 22:16             ` Donald Pearson
2015-07-09 12:02               ` Austin S Hemmelgarn
2015-07-09 11:59           ` Austin S Hemmelgarn [this message]
2015-07-06 19:20 Hendrik Friedel
2015-07-06 19:44 ` Hendrik Friedel
2015-07-06 19:49   ` Hugo Mills
2015-07-06 20:01     ` Donald Pearson
2015-07-06 20:52       ` Omar Sandoval
2015-07-06 21:12         ` Hendrik Friedel
2015-07-06 21:49           ` Donald Pearson

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=559E6210.2020707@gmail.com \
    --to=ahferroin7@gmail.com \
    --cc=donaldwhpearson@gmail.com \
    --cc=hendrik@friedels.name \
    --cc=hugo@carfax.org.uk \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=osandov@fb.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 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).