|
|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Thu, May 03, 2012 at 03:18:01PM +0000, Yo'av Moshe wrote:
> Hey,
>
> When I try to mount my Btrfs filesystem it fails and this shows up on dmesg:
>
> device fsid 97727502-a678-4ed1-a96c-409b852d76bf devid 1 transid
> 135714 /dev/sda4
> btrfs: enabling auto recoveryparent transid verify failed on
> 216925220864 wanted 135714 found 135713
> parent transid verify failed on 216925220864 wanted 135714 found 135713
> parent transid verify failed on 216925220864 wanted 135714 found 135713
> btrfs: open_ctree failed
>
> Using the latest btrfs-progs, btrfsck and btrfs-debug-tree gives this:
>
> parent transid verify failed on 216925220864 wanted 135714 found 135713
> parent transid verify failed on 216925220864 wanted 135714 found 135713
> parent transid verify failed on 216925220864 wanted 135714 found 135713
> parent transid verify failed on 216925220864 wanted 135714 found 135713
> Ignoring transid failure
> btrfsck: root-tree.c:46: btrfs_find_last_root: Assertion
> `!(path->slots[0] == 0)' failed.
>
> I also couldn't find anything valid using btrfs-select-super.
>
> This is find-root's output:
> http://pastebin.com/KycgzhaP
>
> Is there anything else I can try?
>
> I'm using kernel 3.2 on Ubuntu 12.04.
In approximate order:
* Try a 3.3 or 3.4-rc5 kernel. I don't think those will do anything
to fix this particular issue, but it's worth a try.
* You have the last-but-one generation listed by find-root:
Well block 216926195712 seems great, but generation doesn't match, have=135713, want=135714
so you can use the restore tool[1] with that block number (and -t)
to copy off any data that you need that isn't backed up.
* There's btrfsck --repair, which may do something to fix it
in-place, but may not (or may damage your filesystem more)
* And, of course, there's your backups that you can restore from.
Hugo.
[1] http://btrfs.ipv5.de/index.php?title=Restore
--
=== 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
--- emacs: Eats Memory and Crashes. ---
Attachment:
signature.asc
Description: Digital signature
![]() |
![]() |