From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KHGvW-0001BM-LZ for garchives@archives.gentoo.org; Fri, 11 Jul 2008 11:36:38 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7B577E05B9; Fri, 11 Jul 2008 11:36:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 4DE32E05B9 for ; Fri, 11 Jul 2008 11:36:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id D4A2367D85 for ; Fri, 11 Jul 2008 11:36:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.599 X-Spam-Level: X-Spam-Status: No, score=-3.599 required=5.5 tests=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id edTKCWSMCXmc for ; Fri, 11 Jul 2008 11:36:29 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 2AAE0B400E for ; Fri, 11 Jul 2008 11:36:28 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KHGvJ-00086K-3G for gentoo-user@gentoo.org; Fri, 11 Jul 2008 11:36:25 +0000 Received: from apn-77-113-90-108.gprs.plus.pl ([77.113.90.108]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Jul 2008 11:36:25 +0000 Received: from public by apn-77-113-90-108.gprs.plus.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Jul 2008 11:36:25 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Miernik Subject: [gentoo-user] how does Gentoo's mke2fs determine how many inodes to create? Date: Fri, 11 Jul 2008 13:16:53 +0200 Message-ID: <20080711111653.455A.0.NOFFLE@debian107.local> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: apn-77-113-90-108.gprs.plus.pl X-Archive: encrypt=none User-Agent: tin/1.9.3-20080506 ("Dalintober") (UNIX) (Linux/2.6.25-2-686 (i686)) Sender: news 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 X-Archives-Salt: bdda9c7e-4daf-4380-8e45-5e201934d2a1 X-Archives-Hash: f1aab10524b463c0915cc83a90f87813 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