From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 062031381F3 for ; Tue, 3 Sep 2013 03:26:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 01E55E0E06; Tue, 3 Sep 2013 03:26:25 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C5D1DE0DCC for ; Tue, 3 Sep 2013 03:26:23 +0000 (UTC) Received: from gmx.net ([84.133.147.18]) by mail.gmx.com (mrgmx102) with ESMTPA (Nemesis) id 0MJFBe-1VJS8y17KU-002mK6 for ; Tue, 03 Sep 2013 05:26:22 +0200 Received: by gmx.net (nbSMTP-1.00) for uid 1001 meino.cramer@gmx.de; Tue, 3 Sep 2013 05:26:22 +0200 (CEST) Date: Tue, 3 Sep 2013 05:26:21 +0200 From: meino.cramer@gmx.de To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Need help: Filesystem (ext4) corrupted! Message-ID: <20130903032621.GC3409@solfire> References: <20130902161515.GA3446@solfire> <52250FF3.6050305@gmail.com> <20130903024504.GB3409@solfire> <5225525C.7070403@iinet.net.au> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5225525C.7070403@iinet.net.au> User-Agent: mutt-ng/devel-r804 (Linux) X-Provags-ID: V03:K0:Nd3Y+c8s6nMGjv2fyBRq6Llwvur7+zT1FZglF2x2coFUqfTSkWF DanTW8J7EsQhLDZmvX9H0ITtrgI9GY+s2D0d8TFTSMDi6A69c9gggAXiVLJ/L0NDsfcuxfs RqDNqEO7okXzI+B2wE2LQl0FGPbRulnc8ZAgrZx5k06jJGuOQ3F3XR0roMzQI6Lg7NqrhXQ hsOqaTUlYL21mD8de0s6A== X-Archives-Salt: 4e94bd13-eb98-4741-ae01-2c365f9cd242 X-Archives-Hash: 0c7642eafdeceaa7a801411abb7de920 William Kenworthy [13-09-03 05:08]: > On 03/09/13 10:45, meino.cramer@gmx.de wrote: > > walt [13-09-03 04:15]: > >> On 09/02/2013 09:15 AM, meino.cramer@gmx.de wrote: > >>> The rootfs and $HOME of my embedded system is stored > >>> on a 16GB SD-card (about 5GB used, rest free). The FS > >>> is ext4. > >>> > >>> Since the system hangs for unknown reasons several times > >> Does it hang at a predictable point, like during boot, or poweroff? > >> > >> I know almost nothing about SD cards (yet). Do they develop bad > >> blocks like other storage media? I notice fsck.ext4 has a -c flag > >> to check for bad blocks. > >> > > No, it hangs while compiling or while updateing (eix-sync; emerge ...). > > > > > > I did the following now: > > I did a binary image backup with dd of the sdcard. > > I made a backup of the all files from the bad fs with tar. > > I say "YES" to fsck to fix what it found. > > I made another backup of the all files from the bad fs with tar. > > I md5summed both tar archives and found them identical. > > > > Now...is the conclusion correct, that the identical md5sum > > indicate, that the fixed error of the fs only had impact to > > already invalidated data? > > Or whatelse could this indicate? > > > > Best regards, > > mcc > > > > PS: What come mind just in this moment: > > Can I ran fsck on an binary image of the fs which I made with dd somehow? > > > > > > > > > > > > Have you run out of inodes? - ext 4 has had very mixed success for me on > solid state. Running out of inodes is a real problem for gentoo on > smaller SD cards with standard settings. > > BillK > > > Does this error message from fsck indicate that? I am really bad in guessing what fsck tries to cry at me ... ;) > > solfire:/root>fsck.ext4 -f -p /dev/sdb2 > > rootfs: Inodes that were part of a corrupted orphan linked list found. > > > > rootfs: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. > > (i.e., without -a or -p options) > > [1] 18644 exit 4 fsck.ext4 -f -p /dev/sdb2 > > > > Is there any way to correct the settings from the default values to more advances ones, which respect the sdcard size of 16GB *without* blanking it...a "correction on the fly" so to say??? And if not: Is there a way to backup the sdcard and playback the files after reformatting it by preserving all three time stamps of the files (atime is deactivated via fstab though) ? Best regards, mcc