Re: btrfs raid1 filesystem on sdcard corrupted

2016-02-25 Thread Hegner Robert
Thank you all for your responses! The second device that failed yesterday booted normally today when I wanted to investigate it. Not sure if it really had the same problem. Is it likely that such r/w problems come and go again? Both of these devices were equipped with with Kingston SDC4/8GB

Re: btrfs raid1 filesystem on sdcard corrupted

2016-02-25 Thread Goffredo Baroncelli
Hi Robert, On 2016-02-25 20:18, Hegner Robert wrote: [...] > So, in your experience 1) Which are the SDcards we can trust in? > (brand? model?) For this kind of use you should look to an "industrial grade" SD cards. But these are quite expensive (we are talking about 50€ for 4GB). Our

Re: btrfs raid1 filesystem on sdcard corrupted

2016-02-25 Thread Chris Murphy
On Thu, Feb 25, 2016 at 12:18 PM, Hegner Robert wrote: >The idea with the btrfs-raid1 came from > (http://unix.stackexchange.com/a/186954) and it made perfect sense to me to > use a filesystem which is designed with flash-memory in mind and to use > raid1 to achieve some

Re: btrfs raid1 filesystem on sdcard corrupted

2016-02-25 Thread Chris Murphy
On Thu, Feb 25, 2016 at 10:44 AM, Hegner Robert wrote: This doesn't appear to be a Btrfs problem, but rather a device problem. The first indication of a problem I see: > [6.697772] EXT4-fs (mmcblk0p1): recovery complete > [6.697804] EXT4-fs (mmcblk0p1): mounted

Re: btrfs raid1 filesystem on sdcard corrupted

2016-02-25 Thread Hegner Robert
Thanks Lionel for your explanations! I just noticed that a second device with the same setup (which has been working only some hours ago) failed as well. So two systems which were running with a non-raid1 and non-btrfs setup for weeks or months before, and which were updated to the

Re: btrfs raid1 filesystem on sdcard corrupted

2016-02-25 Thread Lionel Bouton
Hi, Le 25/02/2016 18:44, Hegner Robert a écrit : > Am 25.02.2016 um 18:34 schrieb Hegner Robert: >> Hi all! >> >> I'm working on a embedded system (ARM) running from a SDcard. >From experience, most SD cards are not to be trusted. They are not designed for storing an operating system and

Re: btrfs raid1 filesystem on sdcard corrupted

2016-02-25 Thread Hegner Robert
Am 25.02.2016 um 18:34 schrieb Hegner Robert: 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

btrfs raid1 filesystem on sdcard corrupted

2016-02-25 Thread Hegner Robert
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