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 688C61381F3 for ; Tue, 3 Sep 2013 16:07:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0BDB6E0FD4; Tue, 3 Sep 2013 16:06:57 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CECB5E0F82 for ; Tue, 3 Sep 2013 16:06:55 +0000 (UTC) Received: from gmx.net ([84.133.132.149]) by mail.gmx.com (mrgmx102) with ESMTPA (Nemesis) id 0MQMBU-1VQt2Q1H92-00Tpis for ; Tue, 03 Sep 2013 18:06:54 +0200 Received: by gmx.net (nbSMTP-1.00) for uid 1001 meino.cramer@gmx.de; Tue, 3 Sep 2013 18:06:54 +0200 (CEST) Date: Tue, 3 Sep 2013 18:06:53 +0200 From: meino.cramer@gmx.de To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Need help: Filesystem (ext4) corrupted! Message-ID: <20130903160653.GB3916@solfire> References: <20130902161515.GA3446@solfire> <52250FF3.6050305@gmail.com> <20130903024504.GB3409@solfire> <5225525C.7070403@iinet.net.au> <20130903032621.GC3409@solfire> <52255BEF.2080000@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: User-Agent: mutt-ng/devel-r804 (Linux) X-Provags-ID: V03:K0:AeYyRst+UJm7lVMPh6cOuKfRNW2j34oI++tYQNwpCV0CSytcfut Vd9NUyJGNCB1Lu0w6DIHZaBkwYZd6KuenlAUjWSCeuI3nQfyocdlS2G8sLbhrN6ehBRJYs8 yMqEKAebPgy+EdNtgoNXEz40B4qWb1b7H81IA0aZExGR9E7XBJTg/bm+0VMTr5FYVDSLBC7 kxbe1LLN58hkEC9fcDHNw== X-Archives-Salt: 432253d1-133e-49a2-bb52-23abafd95a25 X-Archives-Hash: 7f345796b2d92a76c31bf0c48b55be77 Pandu Poluan [13-09-03 17:16]: > On Sep 3, 2013 10:51 AM, "William Kenworthy" wrote: > > > > On 03/09/13 11:26, meino.cramer@gmx.de wrote: > > > William Kenworthy [13-09-03 05:08]: > > --snip-- > > > >> 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 > > > > > > > > > > > > > > > > > df -i - if you get 100% iUSE or near to it thats your problem ... I have > > seen that error message you give as a result of running out of inodes > > corrupting the FS. > > > > No, your only way out is to copy (I use rync) the files off, recreate > > the fs with max inodes ("man mke2fs") and rsync the files back. Once an > > ext* fs has been created with a certain number of inodes its fixed until > > you re-format. > > > > I get it happening regularly on 4G cards when I forget and just emerge a > > couple of packages without cleaning up in between packages. On 16G > > cards, its compiling something like glibc or gcc that uses huge numbers > > of inodes at times. On a single 32G card I have, the standard settings > > have been fine ... so far :) > > > > Billk > > > > > > While you're considering of formatting the flash disk, consider also > whether ext3/4 is suitable. > > When I first use Gentoo, I got bitten by inode exhaustion several times, so > I used an inode-less fs (reiserfs, to be precise). > > I have no idea if reiserfs is suitable for a flash disk, though. > > Rgds, > -- Hi Pandu, ext3/4 is what is recommended by www.beagleboard.org/Robert Nelson/Angstrom Linux...but I have to confess that took this as simply "given". The other thing is: With sdcards one have to keep an eye on what part of the sdcard is written how often repeatedly, since sdcards tends to wear out. I read somewhere on the internet (dont remember where...sorry) that Samsung has offered code to the Linux kernel, which implements a special FS especially suitable and made for sdcards. But I dont know its name and whether it is already available in the kernel sources... Best regards, mcc