public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* btrfs raid1 filesystem on sdcard corrupted
@ 2016-02-25 17:34 Hegner Robert
  2016-02-25 17:44 ` Hegner Robert
  0 siblings, 1 reply; 8+ messages in thread
From: Hegner Robert @ 2016-02-25 17:34 UTC (permalink / raw)
  To: linux-btrfs

Hi all!

I'm working on a embedded system (ARM) running from a SDcard. Recently I 
switched to a btrfs-raid1 configuration, hoping to make my system more 
resistant against power failures and flash-memory specific problems.

However today one of my devices wouldn't mount my root filesystem as rw 
anymore.

The main reason I'm asking in this mailing list is not that I want to 
restory data. But I'd like to understand what happened and, even more 
importantly, find out what I have to do so that something like this will 
never happen again.

Here is some info about my system:

root@ObserverOne:~# uname -a
Linux ObserverOne 3.16.0-4-armmp #1 SMP Debian 3.16.7-ckt11-1+deb8u6 
(2015-11-09) armv7l GNU/Linux

root@ObserverOne:~# btrfs --version
Btrfs v3.17

root@ObserverOne:~# btrfs fi show
Label: none  uuid: eef07fbf-77cb-427a-b118-bf5295f25b66
         Total devices 2 FS bytes used 816.80MiB
         devid    1 size 3.45GiB used 3.02GiB path /dev/mmcblk0p2
         devid    2 size 3.45GiB used 3.02GiB path /dev/mmcblk0p3

parent transid verify failed on 4173889536 wanted 804 found 218
parent transid verify failed on 4173889536 wanted 804 found 218
parent transid verify failed on 4173889536 wanted 804 found 218
parent transid verify failed on 4173889536 wanted 804 found 218
Ignoring transid failure
Couldn't setup extent tree
Couldn't setup device tree
Btrfs v3.17

root@ObserverOne:~# btrfs fi df /
Data, RAID1: total=2.48GiB, used=788.41MiB
System, RAID1: total=32.00MiB, used=16.00KiB
Metadata, RAID1: total=512.00MiB, used=28.38MiB
GlobalReserve, single: total=16.00MiB, used=0.00B

You can also find the output of dmesg in the attachment.

How would you proceed in investigating this problem? Or do you already 
see a problem in the dmesg output? (I'm not a very experienced linux user).

Best regards
Robert


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

end of thread, other threads:[~2016-02-26  7:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-25 17:34 btrfs raid1 filesystem on sdcard corrupted Hegner Robert
2016-02-25 17:44 ` Hegner Robert
2016-02-25 18:08   ` Lionel Bouton
2016-02-25 19:18     ` Hegner Robert
2016-02-25 19:53       ` Chris Murphy
2016-02-25 21:35       ` Goffredo Baroncelli
2016-02-26  7:53       ` Hegner Robert
2016-02-25 19:32   ` Chris Murphy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox