From: Florian Lindner <mailinglists@xgm.de>
To: linux-btrfs@vger.kernel.org
Subject: Re: Can't mount: open_ctree failed!
Date: Mon, 03 Nov 2014 20:48:24 +0100 [thread overview]
Message-ID: <m38m68$m5j$1@ger.gmane.org> (raw)
In-Reply-To: 55F19B93-4AF2-4A43-82D5-425433DF006B@colorremedies.com
Chris Murphy wrote:
>
> On Nov 2, 2014, at 8:18 AM, Florian Lindner <mailinglists@xgm.de> wrote:
>
>> Hello,
>>
>> all after sudden I can't mount my btrfs home partition anymore. System is
>> Arch with kernel 3.17.2, but I use snapper which does snapshopts
>> regularly and I had 3.17.1 before, which afaik had some problems with
>> snapshops.
>
> It was with creating read-only snapshots. I forget if snapper's snapshots
> are ro. If they are then you need to use 3.17 btrfs-progs to fix it.
>
>
>> # btrfsck --init-extent-tree /dev/sdb1
>> root 3377 has a root item with a more recent gen (8589934592) compared to
>> the found root node (49443)
>>
>> # btrfsck --init-csum-tree /dev/sdb1
>> Creating a new CRC tree
>> root 3377 has a root item with a more recent gen (8589934592) compared to
>> the found root node (49443)
>
> Did you use btrfs-image before using --repair?
>
> Once you've done an init-extent-tree and it still won't mount, you're
> almost certainly in btrfs restore territory. Get the data out while you
> still can. And then you can check the recent patches from Josef for fsck
> that aren't yet in btrfs-progs 3.17. I'm not sure if they're in David's
> master branch, worth checking. There's a good chance it won't make things
> worse, might even fix the file system, but there's a fair chance it'll
> totally toast it. So definitely btrfs restore important stuff first.
Ok, problem is that I need to organise another hard disk for that. ;-)
I tried restore for a test run, it gave a lot of messages about wrong
compression length. I found some discussion about that, but I don't know if
its indicates an actual error or not? I did use compression on the drive.
Is there some guarantee that the data restore restores are correct or is it
just a I try what I can do...
Thanks,
Florian
next prev parent reply other threads:[~2014-11-03 19:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-02 15:18 Can't mount: open_ctree failed! Florian Lindner
2014-11-02 22:31 ` Robert White
2014-11-03 8:24 ` Duncan
2014-11-03 16:35 ` Florian Lindner
2014-11-03 18:38 ` Chris Murphy
2014-11-03 19:48 ` Florian Lindner [this message]
2014-11-03 21:11 ` Chris Murphy
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='m38m68$m5j$1@ger.gmane.org' \
--to=mailinglists@xgm.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.