From: "Florian Gamböck" <mail@floga.de>
To: linux-btrfs@vger.kernel.org
Subject: superblock checksum mismatch after crash, cannot mount
Date: Sat, 23 Aug 2014 00:00:46 +0200 [thread overview]
Message-ID: <53F7BD8E.10308@floga.de> (raw)
Hi there,
I think i just crashed my btrfs partition, is someone willing to guide
me through the recovery steps?
The "crash" went like so: I was testing the watchdog ability of my
Raspberry Pi, whose root filesystem is btrfs. To test if the watchdog
works I started a fork bomb. Normally, the watchdog device would not be
reset and the Pi restarts. My Pi actually shut down, but didn't start
again. When inspecting the SD card in another computer, i could not
mount the btrfs partition. The dmesg keeps saying:
BTRFS: device label RASPIROOT devid 1 transid 18320 /dev/sdf3
BTRFS: superblock checksum mismatch
BTRFS: open_ctree failed
When trying to mount in recovery mode, it says:
$ LANG=en_US sudo mount -t btrfs -o recovery,ro /dev/sdf3 /mnt/
mount: wrong fs type, bad option, bad superblock on /dev/sdf3,
missing codepage or helper program, or other error
I also wanted to create a btrfs-image, but it went like:
checksum verify failed on 65536 found DFE4B1C4 wanted 712D0238
checksum verify failed on 65536 found DFE4B1C4 wanted 712D0238
Csum didn't match
Error reading metadata block
Error adding block -5
checksum verify failed on 65536 found DFE4B1C4 wanted 712D0238
checksum verify failed on 65536 found DFE4B1C4 wanted 712D0238
Csum didn't match
Error reading metadata block
Error flushing pending -5
create failed (Success)
Do you have any advice, how I can get the partition up running? Of
course I do have backups and it would be a matter of minutes to reset
the whole card, but I want to know the "btrfs like" way to repair the
partition.
--
Best wishes
FloGa
next reply other threads:[~2014-08-22 22:00 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-22 22:00 Florian Gamböck [this message]
2014-08-22 22:17 ` superblock checksum mismatch after crash, cannot mount Florian Gamböck
2014-08-23 5:27 ` Duncan
2014-08-23 8:38 ` Florian Gamböck
2014-08-23 9:34 ` Duncan
2014-08-23 14:14 ` Florian Gamböck
2014-08-24 20:29 ` Chris Murphy
2014-08-23 16:38 ` Zygo Blaxell
2014-08-24 0:56 ` Duncan
2014-08-24 2:57 ` Chris Murphy
2014-08-24 11:08 ` Leen Besselink
2014-08-24 12:49 ` Chris Samuel
2014-08-24 12:59 ` Duncan
2014-08-24 14:09 ` Florian Gamböck
-- strict thread matches above, loose matches on Subject: below --
2014-08-24 16:59 Flash ROM
2014-08-24 18:41 ` Florian Gamböck
2014-08-24 19:48 ` Chris Murphy
2014-08-25 11:42 ` Austin S Hemmelgarn
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=53F7BD8E.10308@floga.de \
--to=mail@floga.de \
--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.