linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* help: btrfs bad tree block start
@ 2013-06-23  3:33 Andrea Gelmini
  2013-06-23  3:47 ` Andrea Gelmini
  2013-06-24 16:28 ` Josef Bacik
  0 siblings, 2 replies; 5+ messages in thread
From: Andrea Gelmini @ 2013-06-23  3:33 UTC (permalink / raw)
  To: Linux BTRFS

Hi everybody,
   and thanks a lot for your work.

   I have this problem.
   With latest 3.9 kernel and btrfs-next I was close to full my home.
   The system went read only mode while I was copying in some files.

   Everything was good. I can't write, but I can read and copy last files.

   Then I rebooted, but since that moment I cannot mount.

   The kernel complain is:

[ 1026.226883] device label 16K devid 1 transid 66906 /dev/mapper/glen-home
[ 1026.227452] btrfs: disk space caching is enabled
[ 1026.311650] Btrfs detected SSD devices, enabling SSD mode
[ 1026.311825] btrfs bad tree block start 4262492213953725727 591596257280
[ 1026.312000] btrfs bad tree block start 4262492213953725727 591596257280
[ 1026.312010] btrfs: failed to read log tree
[ 1026.332708] btrfs: open_ctree failed

   If I use btrfsck (Joseph one) I got this:

root@glen:/home/gelma/dev/prg/btrfs_josef# ./btrfsck --repair
/dev/mapper/glen-home enabling repair mode
Check tree block failed, want=591596257280, have=4262492213953725727
Check tree block failed, want=591596257280, have=4262492213953725727
Check tree block failed, want=591596257280, have=4262492213953725727
Check tree block failed, want=591596257280, have=4262492213953725727
Check tree block failed, want=591596257280, have=4262492213953725727
read block failed check_tree_block
Checking filesystem on /dev/mapper/glen-home
UUID: 920ae0b9-55da-4606-af40-b58493c7882b
checking extents
checking free space cache
cache and super generation don't match, space cache will be invalidated
checking fs roots
checking csums
checking root refs
found 127643191167 bytes used err is 0
total csum bytes: 355191196
total tree bytes: 2457419776
total fs tree bytes: 1832763392
total extent tree bytes: 195133440
btree space waste bytes: 472140292
file data blocks allocated: 1525241155584
 referenced 396208013312
Btrfs v0.20-rc1

   The home partition is 352,70 GiB.

   I've got backup, but I would like to recover it.

Thanks a lot,
Gelma

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-06-24 17:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-23  3:33 help: btrfs bad tree block start Andrea Gelmini
2013-06-23  3:47 ` Andrea Gelmini
2013-06-24 16:28 ` Josef Bacik
2013-06-24 16:45   ` Andrea Gelmini
2013-06-24 17:53     ` Duncan

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).