From: Martin Steigerwald <Martin@lichtvoll.de>
To: linux-btrfs@vger.kernel.org
Cc: Evan LeCompte <evanlec@gmail.com>
Subject: Re: FS won't mount, open_ctree failed, Assertion !(path->slots[0] == 0) failed
Date: Tue, 27 Dec 2011 12:14:45 +0100 [thread overview]
Message-ID: <201112271214.45498.Martin@lichtvoll.de> (raw)
In-Reply-To: <4EF8C5C4.7090301@gmail.com>
Am Montag, 26. Dezember 2011 schrieb Evan LeCompte:
> On 12/23/2011 06:15 PM, Chris Mason wrote:
> > 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.
> >>=20
> >> All to no avail. only err output is always
> >>=20
> >> "" btrfs_find_last_root: Assertion `!(path->slots[0] =3D=3D 0)' fa=
iled.
> >> ""
> >>=20
> >> 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.
> >>=20
> >> 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.
> >>=20
> >> 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 :(
> >>=20
> >> Please help us, anyone!
> >=20
> > Which kernel are you running? If you're on a 3.2 kernel or you hav=
e
> > a recent pull of my git tree, you can try mount -o recovery.
> >=20
> > 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.
> >=20
> > Otherwise we can work through the copy out recovery tools.
[=E2=80=A6]
> Chris,
> Can you help me work through the copy out recovery tools that you
> mentioned?
>=20
> I can't seem to get anything else to work, if I could just recover th=
e
> files so I don't lose a month's work I'd be so happy...
=46or starters I think it would be good when you explain exactly, what =
tools=20
you tried and what errors you have gotten (copy&paste the relevant part=
s!)=20
by doing so. It also makes sense to do this with a recent copy of btrfs=
-
tools.
I am no expert in BTRFS recovery but I think its easier to work from=20
there.
Aside from that, backup or not, I wouldn=C2=B4t put important data on a=
RAID 0=20
across several devices and when it usually just is for saving on backup=
=20
restauration time in case one of the devices fails. Better have some=20
redundant RAID *and* a backup. Or if "RAID 0" at least BTRFS on *one*=20
device, instead of mutiple. Or otherwise said: I would use RAID-0 acros=
s=20
mutiple disks just for scratch data that I can easily afford to loose.
--=20
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-12-27 11:14 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
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 [this message]
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=201112271214.45498.Martin@lichtvoll.de \
--to=martin@lichtvoll.de \
--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.