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 1KHHWw-0005Ue-SR for garchives@archives.gentoo.org; Fri, 11 Jul 2008 12:15:19 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D44ACE060D; Fri, 11 Jul 2008 12:15:16 +0000 (UTC) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by pigeon.gentoo.org (Postfix) with ESMTP id 3E54FE0605 for ; Fri, 11 Jul 2008 12:15:13 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id d23so2519539fga.14 for ; Fri, 11 Jul 2008 05:15:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=f5NO1WHvkoKVpWFfrDUeZUJaexU4lJanrTQlzpjfeOQ=; b=HdBNVZundRl3VrO2U/UGJQDdEXqkOFLn6e2JXJP4CGtuMrWz5097WjEMWGE/xavD+d B8Pfb3pEUw/Xe04pZwZV1XJ/YPWP6zFTWxCzBoHv/9wroAegjXvHJKD8B061ExKBMfbT tMCiXXpHqJOK5sOz6ZFX76vgNNykULL1PLyvQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=OcdLxYNY2hTajlhvoLA255ZHH64cC3K2KTadCTwGN+ltftKPexGaan4GRl7LxBclPe anYytFWN71EDdchGW+x1typqzu4NF2GTS5xBbH+hn/6RUL3GSuMLYA88ZdbCJcGwrdZt FBPSUJkisgOgYS9xaFVmUPAr+xepKoAkzo+yc= Received: by 10.86.60.15 with SMTP id i15mr9766389fga.15.1215778510700; Fri, 11 Jul 2008 05:15:10 -0700 (PDT) Received: from ilievnet.com ( [84.21.204.200]) by mx.google.com with ESMTPS id e11sm937518fga.4.2008.07.11.05.15.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 11 Jul 2008 05:15:10 -0700 (PDT) Date: Fri, 11 Jul 2008 15:15:00 +0300 From: Daniel Iliev To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] how does Gentoo's mke2fs determine how many inodes to create? Message-ID: <20080711151500.3ae97b4f@ilievnet.com> In-Reply-To: <20080711111653.455A.0.NOFFLE@debian107.local> References: <20080711111653.455A.0.NOFFLE@debian107.local> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.9; 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: f66f8318-9882-4d50-b550-277ee029b65c X-Archives-Hash: 163b28d5889032dd76aab7039ec7f60e On Fri, 11 Jul 2008 13:16:53 +0200 Miernik wrote: > 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? > /etc/mke2fs.conf - this file contains the default options plus several presets. The number of inodes can be specified at creation time with the "-N" parameter. AFAIK it cannot be changed afterwards. -- Best regards, Daniel -- gentoo-user@lists.gentoo.org mailing list