Gentoo Archives: gentoo-user

From: Alex Schuster <wonko@×××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ext4 inode limit reached
Date: Mon, 12 Dec 2011 12:02:10
Message-Id: 20111212130055.0c1c057a@weird.wonkology.org
In Reply to: [gentoo-user] ext4 inode limit reached by Daniel Troeder
1 Daniel Troeder writes:
2
3 > I have an ext4-filesystem that contains /usr/src, the /usr/portage and
4 > /var/cache/edb. It previously also contained /var/db/pkg, but I had to
5 > move that some weeks ago, because the fs was "full". Now it's "full"
6 > again, though it has free blocks. But no inodes are left:
7 >
8 > $ fsck -vf /dev/sda5
9 > [..]
10 > 655360 inodes used (100.00%)
11 > [..]
12 >
13 > $ find /gentoo -xdev | wc -l
14 > 655338
15 >
16 > That's really disappointing. I was using reiser3fs and XFS before, and
17 > they didn't have that kind of limitation... Uhm... not meant as a rant -
18 > I like ext4 - that's why I'm moving (almost?) everything to it...
19 >
20 > Is there any way to raise the number of inodes without using
21 > $ mkfs.ext4 -N BIGNUM
22
23 Not really I think. You can enlarge the file system with resize2fs, this
24 will also increase the number of inodes, but that's probably hard when not
25 using LVM, and it's not really what you want, as the file system will be
26 larger than it needs to be.
27
28 Wonko