Gentoo Archives: gentoo-user

From: Miernik <public@××××××××××××××.name>
To: gentoo-user@l.g.o
Subject: [gentoo-user] how does Gentoo's mke2fs determine how many inodes to create?
Date: Fri, 11 Jul 2008 11:36:38
Message-Id: 20080711111653.455A.0.NOFFLE@debian107.local
1 I installed Gentoo using the handbook, and the root partition has
2 4094951424 bytes (a 4 GB USB pendrive), and "mke2fs -j /dev/sda2" as on
3 http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=4#doc_chap4
4 created me a partition with only 249984 inodes. That was REALLY SILLY of
5 him, because:
6
7 przehyba ~ # df -i /dev/sda2
8 Filesystem Inodes IUsed IFree IUse% Mounted on
9 /dev/sda2 249984 249739 245 100% /
10 przehyba ~ #
11
12 I ran out of inodes! Now it cries that the disk ran out of space when I
13 try to compile anything. I did already get rid of /usr/share/doc/ as
14 there are many small files there, and purged /var/tmp/ too, but again
15 emerge quickly fills all possible inodes, and fails.
16
17 Why did he did so little inodes? On another machine, which is Debian and
18 about 5 GB disk, I have 752192 inodes and even on a 3.2 GB one 376096
19 inodes, so here why did I get so little by default?
20
21 What can I do now, besides starting the installation over again from the
22 beggining, which would be 2 days of work lost!
23
24 Any other places besides /usr/share/doc and /var/tmp/ I can look to
25 recover a lot of inodes? Can someone fix mke2fs so it doesn't do that to
26 anyone again in the future?
27
28 --
29 Miernik
30 http://miernik.name/
31
32 --
33 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] how does Gentoo's mke2fs determine how many inodes to create? Daniel Iliev <daniel.iliev@×××××.com>
Re: [gentoo-user] how does Gentoo's mke2fs determine how many inodes to create? Alan McKinnon <alan.mckinnon@×××××.com>