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 1E3A11381F3 for ; Sun, 29 Sep 2013 23:10:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DA7F0E0FC1; Sun, 29 Sep 2013 23:09:51 +0000 (UTC) Received: from mail-bk0-f49.google.com (mail-bk0-f49.google.com [209.85.214.49]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C956BE0B5F for ; Sun, 29 Sep 2013 23:09:50 +0000 (UTC) Received: by mail-bk0-f49.google.com with SMTP id r7so1717181bkg.22 for ; Sun, 29 Sep 2013 16:09:49 -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=b9JWieeAr81LHyL/ULEHVmBGTE/bMy41Q+gH9Euo2GA=; b=AKQKneOX3BxvEoy3K9LoWHEaS5wqlp0wB+0oWWzhU+mj1H/KXCBP49cfqBlSMf3dWe TzjIbEKarZkTJzbiUa+wNcSigxYJNENNyOHd6aAu3Shz+sfe6IceEa6kmK6aacQ9npsr qhPUBA7UXV5nzYrPVuJSK2yCO6MWdms3NKlQRz2EygjdpU12icKu/i4pCt0DhzrA/rMq Jrv0QVXuHo1Mo2UXhs5EEjbFcF0tBpgy/FudRYdtAfAqZOGM4TyIdPJmrEEU1Q9mGaG4 Ho2oK+n+6dnIlNJGy8zXrU3YT1q6Og1jNU1/KI/e2e0zXLd+DU2BoOoKTY3dBcG1d5FX u5Qw== X-Received: by 10.205.14.69 with SMTP id pp5mr16320633bkb.14.1380496189312; Sun, 29 Sep 2013 16:09:49 -0700 (PDT) Received: from [192.168.178.21] (p3E9E68D2.dip0.t-ipconnect.de. [62.158.104.210]) by mx.google.com with ESMTPSA id on10sm10547105bkb.13.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 29 Sep 2013 16:09:48 -0700 (PDT) Message-ID: <5248B33C.9070208@googlemail.com> Date: Mon, 30 Sep 2013 01:09:48 +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> In-Reply-To: <5248AF6F.4040405@libertytrek.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Archives-Salt: f171f4ae-ace9-4713-bbbc-2f38e263030c X-Archives-Hash: 4df0926af51259c7d0def0d7465c266b Am 30.09.2013 00:53, schrieb Tanstaafl: > 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 : ~ > # > > Is this the official gentoo way now? Will a new/fresh virgin install > have /var/portage instead of /usr/portage? > > I can eliminate almost 8GB by moving portage and its storage > directories... > > I don't recall seeing a news item about that... > > 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. > > But, is there some official gentoo docs online explaining how to do this? > > Something more to think about... > > Also - is there any kind of maintenance I shoudl be doing on > /usr/portage to clean old cruft out? Or does portage maintain it already. > > :) > > df -h Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf /dev/root 59G 33G 24G 58% / devtmpfs 7,8G 0 7,8G 0% /dev tmpfs 1,6G 712K 1,6G 1% /run shm 7,8G 1,1M 7,8G 1% /dev/shm cgroup_root 10M 0 10M 0% /sys/fs/cgroup /dev/sda1 197M 17M 181M 9% /boot/efi /dev/sde1 110G 82G 23G 79% /home/energyman tmpfs 1,0G 3,4M 1021M 1% /tmp zfstank/data 3,6T 1,9T 1,8T 52% /mnt/data zfstank/var 100G 16G 85G 16% /var zfstank 1,8T 256K 1,8T 1% /zfstank and I put PORTDIR into /var ages ago. I hate 'moving targets' like PORTDIR in a static place like /usr. 7,8G /var/portage 6,5G /var/packages but seriously, if seperate /usr is so important for you - running genkernel really IS easy...