From: Frank Steinmetzger <Warp_7@gmx.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] ext4 inode limit reached
Date: Tue, 13 Dec 2011 01:44:19 +0100 [thread overview]
Message-ID: <20111213004419.GA16317@eisen.lan> (raw)
In-Reply-To: <4EE5E268.9090404@admin-box.com>
[-- Attachment #1: Type: text/plain, Size: 1735 bytes --]
On Mon, Dec 12, 2011 at 12:15:52PM +0100, Daniel Troeder wrote:
> I have an ext4-filesystem that contains /usr/src, the /usr/portage and
> /var/cache/edb. It previously also contained /var/db/pkg, but I had to
> move that some weeks ago, because the fs was "full". Now it's "full"
> again, though it has free blocks. But no inodes are left:
>
> $ fsck -vf /dev/sda5
> [..]
> 655360 inodes used (100.00%)
> [..]
>
> $ find /gentoo -xdev | wc -l
> 655338
>
> Is there any way to raise the number of inodes without using
> $ mkfs.ext4 -N BIGNUM
You can’t increase the number in an existing FS, you’ll have to reformat it.
If you have a backup, as you should anyway ;-) , you could boot a live system
and reformat.
On my system, /usr/portage currently contains 127000 files. But for reason of
increased performance I put it into a squashfs file. (There was a nice howto
on this ML some months ago). You could try that, which will free those inodes
up and ideally leaves you with one used inode for the squashfs image. Plus, if
you have enough RAM, you could put /var/tmp/portage into tmpfs. I have 3GB,
and this is fairly enough. For other hogs like firefox, LO and java, I use
binary packages though.
For comparision, I too have one (seldom two) kernel source trees and everything
else on / except /home. And while of the 17GB capacity barely 1GB is left free,
I still have 480k inodes free of the 1M in total. (I figured that I may have
more space for content if I reserved less for inodes).
--
Gruß | Greetings | Qapla'
I forbid any use of my email addresses with Facebook services.
A hammer is a wonderful tool,
but it is plain unsuitable for cleaning windows. (SelfHTML forum)
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2011-12-13 0:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-12 11:15 [gentoo-user] ext4 inode limit reached Daniel Troeder
2011-12-12 12:00 ` Alex Schuster
2011-12-12 14:31 ` Joseph
2011-12-12 14:54 ` Alex Schuster
2011-12-12 15:44 ` Daniel Troeder
2011-12-12 14:39 ` Joseph
2011-12-12 14:48 ` Pandu Poluan
2011-12-13 0:44 ` Frank Steinmetzger [this message]
2011-12-13 10:07 ` Daniel Troeder
2011-12-13 5:24 ` Michael Orlitzky
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=20111213004419.GA16317@eisen.lan \
--to=warp_7@gmx.de \
--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