public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  how does Gentoo's mke2fs determine how many inodes to create?
@ 2008-07-11 11:16 Miernik
  2008-07-11 12:15 ` Daniel Iliev
  2008-07-11 15:45 ` Alan McKinnon
  0 siblings, 2 replies; 9+ messages in thread
From: Miernik @ 2008-07-11 11:16 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-07-11 17:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-11 11:16 [gentoo-user] how does Gentoo's mke2fs determine how many inodes to create? Miernik
2008-07-11 12:15 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox