public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Volker Armin Hemmann <volkerarmin@googlemail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] [ot] no more inodes
Date: Fri, 29 May 2009 04:12:13 +0200	[thread overview]
Message-ID: <200905290412.13311.volkerarmin@googlemail.com> (raw)
In-Reply-To: <4A1EB8F9.3080905@f_philipp.fastmail.net>

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.



  parent reply	other threads:[~2009-05-29  2:12 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-28 15:46 [gentoo-user] [ot] no more inodes Maxim Wexler
2009-05-28 16:09 ` Neil Bothwick
2009-05-28 16:16 ` Florian Philipp
2009-05-28 21:43   ` Maxim Wexler
2009-05-28 22:20     ` Alan McKinnon
2009-05-29  2:12   ` Volker Armin Hemmann [this message]
2009-05-29 17:32     ` Maxim Wexler
2009-05-29 19:02       ` Dale
2009-05-29 19:56       ` Neil Bothwick
2009-05-30  1:39         ` Maxim Wexler
2009-05-30  4:22           ` Mike Kazantsev
2009-05-30 13:37           ` Neil Bothwick
2009-05-30 10:06       ` Tweaks for SSDs [Was: [gentoo-user] [ot] no more inodes] Florian Philipp
2009-05-30 13:40         ` Neil Bothwick
2009-05-30 19:25           ` Eray Aslan
2009-05-30 21:56             ` Neil Bothwick
2009-06-03 13:50               ` Wyatt Epp
2009-06-03 21:36         ` Maxim Wexler
2009-05-28 19:15 ` [gentoo-user] [ot] no more inodes Alan McKinnon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200905290412.13311.volkerarmin@googlemail.com \
    --to=volkerarmin@googlemail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox