linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hendrik Friedel <hendrik@friedels.name>
To: Donald Pearson <donaldwhpearson@gmail.com>
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: Wed, 08 Jul 2015 23:29:48 +0200	[thread overview]
Message-ID: <559D964C.8060502@friedels.name> (raw)
In-Reply-To: <CAC=t97CWsK1HLY9WMOQb7WxN9n2dS=FBE1PE+8bQ-Fa1VzNCQA@mail.gmail.com>

Hello Donald,

thanks for your reply. I appreciate your help.

 > 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.

Ok, you assume that btrfs recover is the most likely way of recovering 
data. But if mounting degraded, scrubbing, btrfsck, ... are more 
successful, your proposal is more risky, isn't it? With a dd-image I can 
always go back to todays status.

> 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.

Ok, I was not aware of the difference between raid4&5.

So, I did try a btrs-recover:
warning devid 3 not found already
Check tree block failed, want=8300102483968, have=65536
Check tree block failed, want=8300102483968, have=65536
Check tree block failed, want=8300102483968, have=65536
read block failed check_tree_block
Couldn't setup extent tree
[it is still running]

btrfs-find-root gives me:
http://paste.ubuntu.com/11844005/
http://paste.ubuntu.com/11844009/
(on the two disks)


btrfs-show-super:
http://paste.ubuntu.com/11844016/

Greetings,
Hendrik




---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


  reply	other threads:[~2015-07-08 21:30 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 [this message]
2015-07-08 22:16             ` Donald Pearson
2015-07-09 12:02               ` Austin S Hemmelgarn
2015-07-09 11:59           ` Austin S Hemmelgarn
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=559D964C.8060502@friedels.name \
    --to=hendrik@friedels.name \
    --cc=donaldwhpearson@gmail.com \
    --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).