public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Hegner Robert <rhegner@hsr.ch>
To: linux-btrfs@vger.kernel.org
Subject: btrfs raid1 filesystem on sdcard corrupted
Date: Thu, 25 Feb 2016 18:34:51 +0100	[thread overview]
Message-ID: <nandur$4li$1@ger.gmane.org> (raw)

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


             reply	other threads:[~2016-02-25 17:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-25 17:34 Hegner Robert [this message]
2016-02-25 17:44 ` btrfs raid1 filesystem on sdcard corrupted 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

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='nandur$4li$1@ger.gmane.org' \
    --to=rhegner@hsr.ch \
    --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