All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ansgar Hockmann-Stolle <Ansgar.Hockmann-Stolle@uni-osnabrueck.de>
To: linux-btrfs@vger.kernel.org
Subject: Re: [PATCH 03/11] Btrfs-progs: allow fsck to take the tree bytenr
Date: Tue, 4 Nov 2014 21:58:56 +0000 (UTC)	[thread overview]
Message-ID: <loom.20141104T122529-705@post.gmane.org> (raw)
In-Reply-To: 1414778489-4049-4-git-send-email-jbacik@fb.com

Josef Bacik <jbacik <at> fb.com> writes:
> Sometimes we have a pretty corrupted fs but have an old tree bytenr that we
> could use, add the ability to specify the tree root bytenr.  Thanks,
> 
> Signed-off-by: Josef Bacik <jbacik <at> fb.com>
Tested-by: Ansgar Hockmann-Stolle <ansgar.hockmann-stolle <at>
uni-osnabrueck.de>

This patch fixed my case:
http://www.spinics.net/lists/linux-btrfs/msg38714.html
Thank you! And thank you, Qu Wenruo for the help!!

I tested all blocks that find-root gave - but only the one with generation =
want + 1 gave some possible root items. The btrfsck with --tree-root <that
block> finally fixed my file system. Hooray!

Ciao
    Ansgar


  reply	other threads:[~2014-11-04 21:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-31 18:01 [GIT PULL] Various btrfsck updates Josef Bacik
2014-10-31 18:01 ` [PATCH 01/11] Btrfs-progs: add the ability to delete items Josef Bacik
2014-10-31 18:01 ` [PATCH 03/11] Btrfs-progs: allow fsck to take the tree bytenr Josef Bacik
2014-11-04 21:58   ` Ansgar Hockmann-Stolle [this message]
2014-10-31 18:01 ` [PATCH 04/11] Btrfs-progs: don't fail on log tree opening with PARTIAL Josef Bacik
2014-10-31 18:01 ` [PATCH 05/11] Btrfs-progs: spit out the broken file when ignoring errors Josef Bacik
2014-10-31 18:01 ` [PATCH 06/11] Btrfs-progs: make zero-log use partial open Josef Bacik
2014-10-31 18:01 ` [PATCH 07/11] Btrfs-progs: add a message to know zero log ran successfully Josef Bacik
2014-10-31 18:01 ` [PATCH 08/11] Btrfs-progs: add ability to replace missing dir item/dir indexes Josef Bacik
2014-10-31 18:01 ` [PATCH 09/11] Btrfs-progs: fix missing inode items Josef Bacik
2014-10-31 18:01 ` [PATCH 10/11] Btrfs-progs: create missing root dirid Josef Bacik

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=loom.20141104T122529-705@post.gmane.org \
    --to=ansgar.hockmann-stolle@uni-osnabrueck.de \
    --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 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.