public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Miernik <public@public.miernik.name>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  how does Gentoo's mke2fs determine how many inodes to create?
Date: Fri, 11 Jul 2008 13:16:53 +0200	[thread overview]
Message-ID: <20080711111653.455A.0.NOFFLE@debian107.local> (raw)

I installed Gentoo using the handbook, and the root partition has
4094951424 bytes (a 4 GB USB pendrive), and "mke2fs -j /dev/sda2" as on
http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=4#doc_chap4
created me a partition with only 249984 inodes. That was REALLY SILLY of
him, because:

przehyba ~ # df -i /dev/sda2
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sda2             249984  249739     245  100% /
przehyba ~ #

I ran out of inodes! Now it cries that the disk ran out of space when I
try to compile anything. I did already get rid of /usr/share/doc/ as
there are many small files there, and purged /var/tmp/ too, but again
emerge quickly fills all possible inodes, and fails.

Why did he did so little inodes? On another machine, which is Debian and
about 5 GB disk, I have 752192 inodes and even on a 3.2 GB one 376096
inodes, so here why did I get so little by default?

What can I do now, besides starting the installation over again from the
beggining, which would be 2 days of work lost!

Any other places besides /usr/share/doc and /var/tmp/ I can look to
recover a lot of inodes? Can someone fix mke2fs so it doesn't do that to
anyone again in the future?

-- 
Miernik
http://miernik.name/

-- 
gentoo-user@lists.gentoo.org mailing list



             reply	other threads:[~2008-07-11 11:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-11 11:16 Miernik [this message]
2008-07-11 12:15 ` [gentoo-user] how does Gentoo's mke2fs determine how many inodes to create? Daniel Iliev
2008-07-11 12:35   ` Anthony Metcalf
2008-07-11 12:39     ` Dirk Heinrichs
2008-07-11 13:03     ` Daniel Iliev
2008-07-11 13:10       ` Dirk Heinrichs
2008-07-11 13:34         ` Anthony Metcalf
2008-07-11 15:45 ` Alan McKinnon
2008-07-11 17:51   ` Robert Bridge

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=20080711111653.455A.0.NOFFLE@debian107.local \
    --to=public@public.miernik.name \
    --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