From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ra7IG-0004Qf-JC for garchives@archives.gentoo.org; Mon, 12 Dec 2011 14:55:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6325E21C38B; Mon, 12 Dec 2011 14:55:43 +0000 (UTC) Received: from mx.virtyou.com (mx.virtyou.com [178.33.32.244]) by pigeon.gentoo.org (Postfix) with ESMTP id 2762921C36D for ; Mon, 12 Dec 2011 14:54:50 +0000 (UTC) Received: from weird.wonkology.org (p5B277BF8.dip.t-dialin.net [91.39.123.248]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx.virtyou.com (Postfix) with ESMTPSA id 5A11EDC058 for ; Mon, 12 Dec 2011 15:54:49 +0100 (CET) Date: Mon, 12 Dec 2011 15:54:39 +0100 From: Alex Schuster To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] ext4 inode limit reached Message-ID: <20111212155439.67504aef@weird.wonkology.org> In-Reply-To: <20111212143128.GO3810@syscon4.inet> References: <4EE5E268.9090404@admin-box.com> <20111212143128.GO3810@syscon4.inet> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.8; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 76fff27a-7932-4b67-815c-02570b29d1ed X-Archives-Hash: 3637471efd27e12573dd7951d0cba864 Joseph writes: > On 12/12/11 12:15, Daniel Troeder wrote: > >Hello :) > > > >I have an ext4-filesystem that contains /usr/src, the /usr/portage and > >/var/cache/edb. It previously also contained /var/db/pkg, but I had to > >move that some weeks ago, because the fs was "full". Now it's "full" > >again, though it has free blocks. But no inodes are left: > > > >$ fsck -vf /dev/sda5 > >[..] > > 655360 inodes used (100.00%) > >[..] > > > >$ find /gentoo -xdev | wc -l > >655338 > > > >That's really disappointing. I was using reiser3fs and XFS before, and > >they didn't have that kind of limitation... Uhm... not meant as a rant > >- I like ext4 - that's why I'm moving (almost?) everything to it... > > > >Is there any way to raise the number of inodes without using > >$ mkfs.ext4 -N BIGNUM > > > >Thank you, > >Daniel > > That is scary. I just install new HD with 2TB capacity and ext4 that is > 2% full and: > $ find /home/joseph/ -xdev | wc -l > shows: 169977 that is 26% full. No, that is 26% of the number of total inodes _Daniel_ has on his small partition. Yours is bigger, so you have more inodes. My largest partition has 724G, and 46 million inodes. Use df -i to see how many you have. > So will run out of inodes before I run out of hard disk space :-/ that > is not good. If other filesystems don't have these kind of limitation > I'll be switching. Having too few inodes has been a problem for me in the past. But that was either a tiny partition for the portage tree, which has so many small files. Or the partition where I back up my /var partition with rdiff-backup, so it also has lots of files, and with each backup the same amount gets added. If you intend to place unusually many files on a partition, check how many inodes mkfs has created, and re-create the file system using the -N option, giving it a somewhat larger number. Wonko