From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0AA3A1381F3 for ; Mon, 30 Sep 2013 17:26:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1168BE0B84; Mon, 30 Sep 2013 17:25:57 +0000 (UTC) Received: from mail-bk0-f52.google.com (mail-bk0-f52.google.com [209.85.214.52]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EDF87E0B6D for ; Mon, 30 Sep 2013 17:25:55 +0000 (UTC) Received: by mail-bk0-f52.google.com with SMTP id e11so2142049bkh.39 for ; Mon, 30 Sep 2013 10:25:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=8haPCCti3a6E2gpdKbn449n/Yi4NTMno1eJWxeMWtTM=; b=tZ8uysqGmBxqLT7ZevnU5CNALUruK7RPELdVuLJem2eOsy+cQ5sBCADloCVs1yCt7X e8yfs/Xrh5eel7wVnOjykHQib5Nm81O8L3JQb7kRUh+jJA+zMJStAeWqqtd2tD0MhsBd Jn+kCriTp2DSYwZWK1J7QaYY341alloQQAv0kVmt2ZlM8kQBYtQM7CbL+UdSlPRy5MmD qhV/6VWQf7FVEio84WJPqvoOheWETV862xkHo1iNPAm/4kBvoA4792zjv8zl7FFXLf7e sqbKG4ci9aaBgA76jKKd0C3GjeRF5uUPFWUT8/5PjZTHz4lWeZo3Zgk8PJqqxjJIlpfU js1g== X-Received: by 10.205.14.197 with SMTP id pr5mr20206331bkb.6.1380561954462; Mon, 30 Sep 2013 10:25:54 -0700 (PDT) Received: from [192.168.178.21] (p3E9E6E2C.dip0.t-ipconnect.de. [62.158.110.44]) by mx.google.com with ESMTPSA id a4sm955756bko.11.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Sep 2013 10:25:54 -0700 (PDT) Message-ID: <5249B421.8070909@googlemail.com> Date: Mon, 30 Sep 2013 19:25:53 +0200 From: Volker Armin Hemmann User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01 References: <20130927222109.GD23408@server> <5246079E.7090406@gmail.com> <524759FB.2090304@gmail.com> <524869A5.4070306@libertytrek.org> <20130929185504.GA16543@linux1> <524892E3.5080402@libertytrek.org> <52489883.3090408@gmail.com> <5248AF6F.4040405@libertytrek.org> <52493D9F.3080504@gmail.com> In-Reply-To: <52493D9F.3080504@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: b1588ebe-5c3d-43b0-92d0-0e131f4c6042 X-Archives-Hash: 6d444ec439775625d0cec3025058f23a Am 30.09.2013 11:00, schrieb Alan McKinnon: > On 30/09/2013 00:53, Tanstaafl wrote: >> On 2013-09-29 5:15 PM, Alan McKinnon wrote: >>> Those numbers are not likely to change much with time, with one >>> exception: >>> >>> /usr/src >>> >>> That can get real big real quick if you don't clean up kernel sources >>> often. Ideally, you'd make that a suitably sized LV and mount it >>> seperately. >> Yeah, I always keep 2 or 3 known good kernels, and clean out the old >> stuff, so no worries there. >> >>> The other space consumer is /usr/share with it's many documentation >>> files. But those too tend to be stable once you have everything >>> installed. 5G free out of 19G is ~75% space in use which is perfectly >>> acceptable for this case. >>> >>> Regular monitoring of the state of your machines will tell you if space >>> usage increases so you can investigate and deal with it timeously. >>> >>> I assume you long since moved portage and it's storage directories out >>> of /usr into /var? >> Hmmm... No, I never did that myself... >> >> Wow... >> >> moria : Sun Sep 29, 18:19:01 : ~ >> # du -sh /usr/* >> 85M /usr/bin >> 131M /usr/include >> 0 /usr/lib >> 11M /usr/lib32 >> 530M /usr/lib64 >> 51M /usr/libexec >> 15M /usr/local >> 7.8G /usr/portage >> 21M /usr/sbin >> 509M /usr/share >> 3.9G /usr/src >> 0 /usr/tmp >> 7.0M /usr/x86_64-pc-linux-gnu >> moria : Sun Sep 29, 18:26:30 : ~ >> # > Apart from portage and src that all looks totally normal and unlikely to > vary much over time. > > > >> Is this the official gentoo way now? Will a new/fresh virgin install >> have /var/portage instead of /usr/portage? > The new instaled default is to put all of portage on /var, whilst still > supporting old installs on /usr. This is no big deal in code, as it's > really just a string containing a base path > > >> I can eliminate almost 8GB by moving portage and its storage directories... > Or move them onto a dedictaed LV. This is a case where a different mount > point makes a lot of sense - we're all aware just how unique the tree is > in terms of fs performance - thousands of small files mostly smaller > than 2k in hundreds of directories. It's quite different to everything > else on /usr or even /var. > > Same with distfiles, that too can move anywhere you want it to be, just > adjust one setting in make.conf > >> I don't recall seeing a news item about that... > IIRC it wasn't a news item as such. Perhaps it was an elog from portage > itself. > > >> But... is /usr/portage the default/recommended location? If so, then I >> don't think I want to move it - I generally never change defaults unless >> there is a very good reason to do so. > It's /var/portage for new installs. If you want it to be somewhere else, > just move it and adjust make.conf > > really? so when I moved PORTDIR to /var/portage I was ahead of the rest? Wow...