From: Hugo Mills <hugo@carfax.org.uk>
To: Kai Krakow <hurikhan77+btrfs@gmail.com>, Michael Andreen <harv@ruin.nu>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Filesystem not mountable after reset, bad tree block
Date: Sat, 7 Jan 2012 16:01:40 +0000 [thread overview]
Message-ID: <20120107160140.GD12629@carfax.org.uk> (raw)
In-Reply-To: <k0plt8-ljc.ln1@hurikhan.ath.cx>
[-- Attachment #1: Type: text/plain, Size: 1486 bytes --]
On Sat, Jan 07, 2012 at 01:05:08PM +0100, Kai Krakow wrote:
> Hi!
>
> Michael Andreen <harv@ruin.nu> schrieb:
> > The find-root program seems to think there is a root (and poentially some
> > older roots?), but not sure how to use that information.
> [...]
> > Anything else I can do to debug this or potentially recover a few bits
> > before reformatting?
>
> You could try the recovery programs from Josefs btrfs-progs tree[1].
You'll find what little documentation we have on the restore
program here:
http://btrfs.ipv5.de/index.php?title=Restore
With luck, you'll just need to run restore, but there's also a
little bit on how to read and use the output of find-root.
Hugo.
> You
> could also try using kernel 3.2 which allows mounting in recovery mode. This
> mode tries to find an older tree root. But I think your kernel did not keep
> tree root backups for this purpose as it is AFAIR a feature of later
> kernels.
>
> Better use a newer kernel - best use 3.2. There are bunch of fixes which
> improve the situation with lost file systems after unexpected reboots or
> power outages.
>
> HTH
> Kai
>
> [1] https://github.com/josefbacik/btrfs-progs
>
--
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
--- Computer Science is not about computers, any more than ---
astronomy is about telescopes.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 190 bytes --]
next prev parent reply other threads:[~2012-01-07 16:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-05 22:59 Filesystem not mountable after reset, bad tree block Michael Andreen
2012-01-07 12:05 ` Kai Krakow
2012-01-07 16:01 ` Hugo Mills [this message]
2012-01-08 22:34 ` Michael Andreen
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=20120107160140.GD12629@carfax.org.uk \
--to=hugo@carfax.org.uk \
--cc=harv@ruin.nu \
--cc=hurikhan77+btrfs@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).