From: Chris Mason <chris.mason@oracle.com>
To: Evan LeCompte <evanlec@gmail.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: FS won't mount, open_ctree failed, Assertion !(path->slots[0] == 0) failed
Date: Fri, 23 Dec 2011 13:15:42 -0500 [thread overview]
Message-ID: <20111223181542.GU19266@shiny> (raw)
In-Reply-To: <loom.20111223T103108-120@post.gmane.org>
On Fri, Dec 23, 2011 at 09:37:28AM +0000, Evan LeCompte wrote:
> I'm having the very same issue as you. I've tried all the latest btrfs tools,
> btrfsck, btrfs-zero-log, restore, find-root etc etc.
>
> All to no avail. only err output is always
>
> "" btrfs_find_last_root: Assertion `!(path->slots[0] == 0)' failed. ""
>
> This is a very cryptic error that doesn't tell me anything. and it seems to be
> the only error that is ever thrown when transaction id's get out of sync.
>
> Is there ANY way to even recover ANY files at all from these btrfs filesystems
> that lose transid sync? mine occurred simply from a loose sata cable falling out
> of one of my drives while the system was running.
>
> This is extremely frustrating, but I guess I have no one to blame but myself. I
> do have a backup but its about a month old (my cron backup script died for some
> reason and I didn't notice). So I'm faced with losing a months worth of work :(
>
> Please help us, anyone!
Which kernel are you running? If you're on a 3.2 kernel or you have a
recent pull of my git tree, you can try mount -o recovery.
My guess is that your machine went down pretty quickly after the loose
sata cable fell out? In that case mount -o recovery should work.
Otherwise we can work through the copy out recovery tools.
-chris
next prev parent reply other threads:[~2011-12-23 18:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-07 2:39 FS won't mount, open_ctree failed, Assertion !(path->slots[0] == 0) failed dsmith
2011-12-23 9:37 ` Evan LeCompte
2011-12-23 18:15 ` Chris Mason [this message]
2011-12-25 18:56 ` Evan LeCompte
2011-12-25 19:00 ` Evan LeCompte
2011-12-26 19:06 ` Evan LeCompte
2011-12-27 11:14 ` Martin Steigerwald
2011-12-27 11:18 ` Martin Steigerwald
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=20111223181542.GU19266@shiny \
--to=chris.mason@oracle.com \
--cc=evanlec@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 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.