public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Daniel Troeder <daniel@admin-box.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] ext4 inode limit reached
Date: Tue, 13 Dec 2011 11:07:15 +0100	[thread overview]
Message-ID: <4EE723D3.2060801@admin-box.com> (raw)
In-Reply-To: <20111213004419.GA16317@eisen.lan>

[-- Attachment #1: Type: text/plain, Size: 1878 bytes --]

On 13.12.2011 01:44, Frank Steinmetzger wrote:
> 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).
I had portage in a squashfs before too - that was nice :)
That's also the reason I had /usr/portage /var/cache/edb and /var/db/pkg
on one filesystem - all together in the squashfs :)
Because one day my / became full I moved /usr/src onto that partition
too (it was now on a reiser3fs). All fine, and other partitions less
fragmented... until I moved to ext4.

Now I have a SSD, and it's simpler than squashfs'ing and still fast.
distfiles is on a HDD (Thinkpad notebook with ultrabay - love it) and
compilation on tmpfs (8GB RAM, so no problems). I always have like 8
kernel trees lying around, so there are already like 400k files... For
various reasons I like to keep my stuff on separate partitions -> my
system is distributed over 6 partitions and my personal data over 3
partitions :)

That inode-trouble was actually quiet interesting ;)

Daniel

-- 
PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887&op=get
# gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

  reply	other threads:[~2011-12-13 10:08 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
2011-12-13 10:07   ` Daniel Troeder [this message]
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=4EE723D3.2060801@admin-box.com \
    --to=daniel@admin-box.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