From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-95967-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1MA5x1-0002Hi-3K
	for garchives@archives.gentoo.org; Fri, 29 May 2009 17:33:03 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8E72FE037B;
	Fri, 29 May 2009 17:33:01 +0000 (UTC)
Received: from mail-pz0-f114.google.com (mail-pz0-f114.google.com [209.85.222.114])
	by pigeon.gentoo.org (Postfix) with ESMTP id 4B184E037B
	for <gentoo-user@lists.gentoo.org>; Fri, 29 May 2009 17:33:01 +0000 (UTC)
Received: by pzk12 with SMTP id 12so1208349pzk.32
        for <gentoo-user@lists.gentoo.org>; Fri, 29 May 2009 10:33:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:in-reply-to:references
         :date:message-id:subject:from:to:content-type
         :content-transfer-encoding;
        bh=F+gbTwWdlOXxlGp+LeBWXyss7SYT86dcULHSWui+hr0=;
        b=PEY1wCqVaMyg/KU+1k753/Nh120VXSmMt8phJhC9QFIAZxiM/BtkjjPZCGXKarjrao
         Nx9WJj8lAxFXsXzGJvs616dteALqwStTpwo3KpLlS0WoWwziuK+JrHGIb1/bUoyQ6q55
         L0htODcCB5pYZcrjSc6w0jcCx9Gp8xfezFpo0=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        b=DUbCNWpL/UeAT2Zpj3hlAhhqBau67GvB2lM1uBY4++ChpLS7ayXrpGO9N/wCQFIvNY
         AOse3/nAXbM7mKQ6wsm86iBdV2lYGUNFeXuehwS0CwvOC6l4WdLnlz3WHclzVDt0fFv+
         wdPsT7SJF7ZXx/R2/4qjkZicUMj9/gD+GOSpU=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.114.235.16 with SMTP id i16mr4486157wah.164.1243618378466; 
	Fri, 29 May 2009 10:32:58 -0700 (PDT)
In-Reply-To: <200905290412.13311.volkerarmin@googlemail.com>
References: <a0811460905280846md3cd361u40a0b659287ad37c@mail.gmail.com>
	 <4A1EB8F9.3080905@f_philipp.fastmail.net>
	 <200905290412.13311.volkerarmin@googlemail.com>
Date: Fri, 29 May 2009 11:32:58 -0600
Message-ID: <a0811460905291032ma2cac6cw4d68d705b18a93d0@mail.gmail.com>
Subject: Re: [gentoo-user] [ot] no more inodes
From: Maxim Wexler <maxim.wexler@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Archives-Salt: b6b97731-efb8-43e0-baf3-38dee2b118af
X-Archives-Hash: 89082def3891c8f95c7e75a984a006cd

Ok, thanks everybody, getting ready to dive in and fix this thing. Two
more questions please:

I modified the bottom of /etc/fstab to look like this according to a
post in the eee forum:
...
#shm    /dev/shm    tmpfs    nodev,sosuid,noexec                 0 0
tmpfs    /tmp            tmpfs   defaults,noatime,mode=1777     0 0

Does this have anything to do with the inode issue?

What's the best fs for a 4G SSD? I picked ext3 because of another eee
forum post.

Maxim

On 5/28/09, Volker Armin Hemmann <volkerarmin@googlemail.com> wrote:
> On Donnerstag 28 Mai 2009, Florian Philipp wrote:
>> Maxim Wexler schrieb:
>> > Hi group,
>> >
>> > For a netbook 4G SSD. Attempting to install mozilla-firefox. jdk
>> > fails: No space left on device.
>> >
>> > df -i reveals no more inodes. I reboot thinking this will help. Wrong.
>> > Lots of 'No space left on device messages'  with reference to
>> > /var/lib/iinit.d/* in the boot console. And this gem: '*ERROR: local
>> > is already starting'. And: '*ERROR: netmount is already starting'.
>> >
>> > df -i
>> >
>> > Filesytem    Inodes       Iused         IFree      IUse%      Mounted on
>> > /dev/sda2   244320      244301          19       100%       /
>> > udev           128448           612   127836            1%       /dev
>> > /dev/sda1       8032             39       7993            1%       /boot
>> > tmpfs           128448              3  1 28445            1%       /tmp
>> >
>> > FYI sda2 is formatted ext3.
>> >
>> > I know 4G is pretty small by today's standards but apart from xorg and
>> > firefox everything else on this unit is command-line type utilities
>> > and such. That can't account for 4G already.
>> >
>> > Maxim
>>
>> That you run out of inodes doesn't mean that you run out of physical (or
>> logical) space on your disk. It just means that you run out of what you
>> could call file descriptors.
>>
>> There is exactly one inode per file which stores meta information about
>> this file. Ext2-4 have a fixed amount of inodes set when you format the
>> partition. Reiserfs and JFS create them on the fly and therefore don't
>> have problems with running out of inodes or wasting space on unused ones.
>>
>> Most likely you have a bunch of very small files on our disk, for
>> example the portage tree. These don't consume much space but a lot of
>> inodes.
>>
>> My advice: Save everything to another disk and then reformat the
>> partition with a higher amount of inodes. If you use ext2, format it with
>>
>> mke2fs -N 732960 /dev/sda2
>>
>> This will create a file system with three times as many indoes as you
>> had before.
>>
>> Hope this helps.
>
> or don't use extX.
>
>