linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dario Santamaria <dario.santamaria@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: Balance interrupted twice, not mountable fs
Date: Sat, 19 Apr 2014 13:26:42 +0200	[thread overview]
Message-ID: <CAOTaaruU9MWeSmeYkhmhutjL5LE5aj9SDyb4G9XuqgLD647z0A@mail.gmail.com> (raw)

Hi there,
after 2 power down during "btrfs balance" (I'm a very lucky man), now
my fs is not mountable.
It's an SSD with btrfs as the main root partition. Have Debian
testing, kernel 3.13.10 with btrfs-progs from git (cloned yesterday).
I know data is there, but I can't use it.

matrix64:~/tmpgit/btrfs-progs# ./btrfs version
Btrfs v3.14.1
matrix64:~/tmpgit/btrfs-progs# ./btrfs fi show /dev/sdb1
Label: 'debianssd'  uuid: c6a9e831-1c83-459c-a2e3-d2e192f9dd17
        Total devices 1 FS bytes used 100.15GiB
        devid    1 size 108.03GiB used 108.02GiB path /dev/sdb1

Btrfs v3.14.1
matrix64:~/tmpgit/btrfs-progs# mount -v -t btrfs /dev/sdb1 ~/pendrive/
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

matrix64:~/tmpgit/btrfs-progs# dmesg|tail -50
[...]
[ 3424.805108] btrfs: device label debianssd devid 1 transid 2032022 /dev/sdb1
[ 3565.122729] btrfs: device label debianssd devid 1 transid 2032022 /dev/sdb1
[ 3565.124126] btrfs: disk space caching is enabled
[ 3565.127616] parent transid verify failed on 126732546048 wanted
2032022 found 2032019
[ 3565.128113] parent transid verify failed on 126732546048 wanted
2032022 found 2032019
[ 3565.128116] btrfs: failed to read tree root on sdb1
[ 3565.134066] btrfs: open_ctree failed
matrix64:~/tmpgit/btrfs-progs#

I tried all the option to mount: "recovery", "recovery,ro",
"recovery,noatime,clear_cache", "recovery,noatime,nospace_cache" with
no luck.
Then I tried a "./btrfs rescue chunk-recover -vy /dev/sdb1" but it failed with:

[...]
Orphan Device Extents:
parent transid verify failed on 126732546048 wanted 2032022 found 2032019
parent transid verify failed on 126732546048 wanted 2032022 found 2032019
parent transid verify failed on 126732546048 wanted 2032022 found 2032019
parent transid verify failed on 126732546048 wanted 2032022 found 2032019
Ignoring transid failure
parent transid verify failed on 126733086720 wanted 2032019 found 2032022
parent transid verify failed on 126733086720 wanted 2032019 found 2032022
parent transid verify failed on 126736531456 wanted 2032019 found 2032022
parent transid verify failed on 126736531456 wanted 2032019 found 2032022
parent transid verify failed on 126736531456 wanted 2032019 found 2032022
parent transid verify failed on 126736531456 wanted 2032019 found 2032022
Ignoring transid failure
leaf parent key incorrect 126736531456
Couldn't setup extent tree
open with broken chunk error
Fail to recover the chunk tree.

Full log here: http://www.freezonestudio.com/btrfs-recover.txt

Finally the btrfs check exit with Segmentation Fault...

matrix64:~/tmpgit/btrfs-progs# ./btrfs check --repair /dev/sdb1
enabling repair mode
parent transid verify failed on 126732546048 wanted 2032022 found 2032019
parent transid verify failed on 126732546048 wanted 2032022 found 2032019
parent transid verify failed on 126732546048 wanted 2032022 found 2032019
parent transid verify failed on 126732546048 wanted 2032022 found 2032019
Ignoring transid failure
parent transid verify failed on 126733086720 wanted 2032019 found 2032022
parent transid verify failed on 126733086720 wanted 2032019 found 2032022
parent transid verify failed on 126736531456 wanted 2032019 found 2032022
parent transid verify failed on 126736531456 wanted 2032019 found 2032022
parent transid verify failed on 126736531456 wanted 2032019 found 2032022
parent transid verify failed on 126736531456 wanted 2032019 found 2032022
Ignoring transid failure
leaf parent key incorrect 126736531456
Couldn't setup extent tree
parent transid verify failed on 126733086720 wanted 2032019 found 2032022
parent transid verify failed on 126733086720 wanted 2032019 found 2032022
parent transid verify failed on 126736531456 wanted 2032019 found 2032022
Ignoring transid failure
leaf parent key incorrect 126736531456
Couldn't setup device tree
Checking filesystem on /dev/sdb1
UUID: c6a9e831-1c83-459c-a2e3-d2e192f9dd17
Critical roots corrupted, unable to fsck the FS
Errore di segmentazione
matrix64:~/tmpgit/btrfs-progs#

Any test? Any hint? Any suggestion?

Thank you all,
Dario Santamaria
google.com/+DarioSantamaria
www.santasoft.it
www.jugpadova.it

             reply	other threads:[~2014-04-19 11:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-19 11:26 Dario Santamaria [this message]
2014-04-19 23:29 ` Balance interrupted twice, not mountable fs Duncan

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=CAOTaaruU9MWeSmeYkhmhutjL5LE5aj9SDyb4G9XuqgLD647z0A@mail.gmail.com \
    --to=dario.santamaria@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).