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 70C441381F3 for ; Tue, 3 Sep 2013 05:13:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20C3FE0DB9; Tue, 3 Sep 2013 05:13:44 +0000 (UTC) Received: from svr-us4.tirtonadi.com (svr-us4.tirtonadi.com [69.65.43.212]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 10D9DE0D5A for ; Tue, 3 Sep 2013 05:13:42 +0000 (UTC) Received: from mail-ve0-f170.google.com ([209.85.128.170]:55532) by svr-us4.tirtonadi.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.80.1) (envelope-from ) id 1VGivv-000mB0-Bd for gentoo-user@lists.gentoo.org; Tue, 03 Sep 2013 12:13:43 +0700 Received: by mail-ve0-f170.google.com with SMTP id 15so3825135vea.1 for ; Mon, 02 Sep 2013 22:13:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=+x3r06BFxYImvHMa3dYLJxxgfvAUPo8QJXPZK7CLZ18=; b=GY7LYzuIxhuRuVQ3pGNUM+RUPWt3NItdFlALahK7SZZhE5tizGbnFnwyDQQMMRF9B+ hF/0DbXpXJrjPH41C3jMqINdJtCASqbbMMfBrHFE5/lyPq1W7aHE7Vij2C78xQhoU6Qo euVQMb4Ql/69VBBUVAqwBqmGFATeoiolHwlKSwt8A4exuXoten2eE+mc4aGW7cNZqhXF XF6xji1MFd55KXvImqxHbzQkMZRy7+oBasMEoAIMIYIpziqTRIbuWlEcjkMAv+k2f8Y4 V/lijPpqKTGrxa/M2RwRZGuOzz+B2VCwsYLgrhG0cXIYkqTY+7xe5MNSFQqNwIkKff+j oiXw== 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 X-Received: by 10.52.101.166 with SMTP id fh6mr227292vdb.30.1378185221241; Mon, 02 Sep 2013 22:13:41 -0700 (PDT) Received: by 10.220.163.69 with HTTP; Mon, 2 Sep 2013 22:13:41 -0700 (PDT) Received: by 10.220.163.69 with HTTP; Mon, 2 Sep 2013 22:13:41 -0700 (PDT) In-Reply-To: <52255BEF.2080000@iinet.net.au> References: <20130902161515.GA3446@solfire> <52250FF3.6050305@gmail.com> <20130903024504.GB3409@solfire> <5225525C.7070403@iinet.net.au> <20130903032621.GC3409@solfire> <52255BEF.2080000@iinet.net.au> Date: Tue, 3 Sep 2013 12:13:41 +0700 Message-ID: Subject: Re: [gentoo-user] Re: Need help: Filesystem (ext4) corrupted! From: Pandu Poluan To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=bcaec548a8658c02c404e573c09f X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - svr-us4.tirtonadi.com X-AntiAbuse: Original Domain - lists.gentoo.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - poluan.info X-Get-Message-Sender-Via: svr-us4.tirtonadi.com: authenticated_id: rileyer+pandu.poluan.info/only user confirmed/virtual account not confirmed X-Archives-Salt: 09b31500-559a-4159-b58e-28577fbaace4 X-Archives-Hash: 4c4277ed5fd642d4fe892af172c92a6d --bcaec548a8658c02c404e573c09f Content-Type: text/plain; charset=UTF-8 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, -- --bcaec548a8658c02c404e573c09f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Sep 3, 2013 10:51 AM, "William Kenworthy" <billk@iinet.net.au> wrote:
>
> On 03/09/13 11:26, meino.cramer= @gmx.de wrote:
> > William Kenworthy <billk= @iinet.net.au> [13-09-03 05:08]:

--snip--

> >> Have you run out of inodes? - ext 4 has had ve= ry mixed success for me on
> >> solid state. =C2=A0Running out of inodes is a real problem fo= r 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 ... ;)
> >
> >
> >>> =C2=A0 =C2=A0 solfire:/root>fsck.ext4 -f -p /dev/sdb2<= br> > >>> =C2=A0 =C2=A0 rootfs: Inodes that were part of a corrupte= d orphan linked list found.
> >>>
> >>> =C2=A0 =C2=A0 rootfs: UNEXPECTED INCONSISTENCY; RUN fsck = MANUALLY.
> >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 (i.e., without -a or -p optio= ns)
> >>> =C2=A0 =C2=A0 [1] =C2=A0 =C2=A018644 exit 4 =C2=A0 =C2=A0= 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 *withou= t*
> > 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<= br> > > 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 ha= ve
> seen that error message you give as a result of running out of inodes<= br> > corrupting the FS.
>
> No, your only way out is to copy (I use rync) the files off, recreate<= br> > the fs with max inodes ("man mke2fs") and rsync the files ba= ck. =C2=A0Once an
> ext* fs has been created with a certain number of inodes its fixed unt= il
> 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. =C2=A0On 1= 6G
> cards, its compiling something like glibc or gcc that uses huge number= s
> of inodes at times. =C2=A0On a single 32G card I have, the standard se= ttings
> have been fine ... so far :)
>
> Billk
>
>

While you're considering of formatting the flash disk, c= onsider also whether ext3/4 is suitable.

When I first use Gentoo, I got bitten by inode exhaustion se= veral times, so I used an inode-less fs (reiserfs, to be precise).

I have no idea if reiserfs is suitable for a flash disk, tho= ugh.

Rgds,
--

--bcaec548a8658c02c404e573c09f--