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 1KHKoA-0003af-15 for garchives@archives.gentoo.org; Fri, 11 Jul 2008 15:45:18 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E8C79E03F5; Fri, 11 Jul 2008 15:45:14 +0000 (UTC) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.239]) by pigeon.gentoo.org (Postfix) with ESMTP id BD13EE03F5 for ; Fri, 11 Jul 2008 15:45:14 +0000 (UTC) Received: by wx-out-0506.google.com with SMTP id i28so1751902wxd.10 for ; Fri, 11 Jul 2008 08:45:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=Git4tr+14ocWXdzc3CUlTgfynLMsnKSaGz25tQSOPf4=; b=aDjKyd4r//zEAB2PCJuDEg1kB/+dW6sI2iAo+kkgnJNru2HPW2SIYcizSRFFDq9Rcm yWpsLc1bCTgEYnbJhX2LyjJUa7GlsYE1wOUMuthySTjyHUMFA1xCbrrYLPUFGnARhK2z SyFxToUWXnWmZ7Hh5njxLD649s+5cVu6nePow= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :message-id; b=NJUOncgTTI6d8f886QPKtdX5YRFaXSXoJDm6+jJy3xrQo7kAKqf+lgd4rBbhQli5if Fwylpwzs4RwcWz6S4m/85VFHIQ6E4/F5zKXo1b54UbRp4adpcf5mTKntVZUoUz5AAHQG sHwzF+PYxTa1+BIc/VC8x+/KR9DwxhkZBueOM= Received: by 10.70.13.6 with SMTP id 6mr13979476wxm.17.1215791113518; Fri, 11 Jul 2008 08:45:13 -0700 (PDT) Received: from ?10.0.0.3? ( [41.243.208.33]) by mx.google.com with ESMTPS id h16sm1141479wxd.15.2008.07.11.08.45.10 (version=SSLv3 cipher=RC4-MD5); Fri, 11 Jul 2008 08:45:12 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] how does Gentoo's mke2fs determine how many inodes to create? Date: Fri, 11 Jul 2008 17:45:58 +0200 User-Agent: KMail/1.9.9 References: <20080711111653.455A.0.NOFFLE@debian107.local> In-Reply-To: <20080711111653.455A.0.NOFFLE@debian107.local> 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="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200807111745.59115.alan.mckinnon@gmail.com> X-Archives-Salt: 3d94ddee-2e7f-4b7f-942d-eae3d994eb20 X-Archives-Hash: 65b4f676b8e58c96068ee84f24acb202 On Friday 11 July 2008, 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 ~ # Actually it's really silly of you to have done that for a gentoo root partition. You have 16k per inode on average, much more than enough for normal purposes so it's a sane default for ext2/ext3. I'll bet your problem is this: alan@develop ~ $ find /var/portage/ | wc 143970 143970 7612245 That 65% of your inodes consumed right there in a required directory structure. If so, easiest way out is to boot off a LiveCD, get access to the pendrive and reduce it by about 350M or so. Create a new filesystem in that space, mount it to $PORTDIR and move your portage tree to it. Someone else will need to confirm how big PORTDIR is on ext2/ext3, as mine isn't. Also make sure distfiles is also a separate filesystem. -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list