From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S2Mhs-0000G4-VD for garchives@archives.gentoo.org; Tue, 28 Feb 2012 13:03:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2C85FE097A; Tue, 28 Feb 2012 13:02:55 +0000 (UTC) Received: from mx.virtyou.com (mx.virtyou.com [178.33.32.244]) by pigeon.gentoo.org (Postfix) with ESMTP id ADAD3E0918 for ; Tue, 28 Feb 2012 13:01:52 +0000 (UTC) Received: from weird.wonkology.org (xdsl-78-35-136-25.netcologne.de [78.35.136.25]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx.virtyou.com (Postfix) with ESMTPSA id C325CDC04C for ; Tue, 28 Feb 2012 14:01:51 +0100 (CET) Date: Tue, 28 Feb 2012 14:01:50 +0100 From: Alex Schuster To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Freeing up disk space problem!! Message-ID: <20120228140150.2b35b864@weird.wonkology.org> In-Reply-To: References: X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; 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: 04731f82-749f-4bcd-ad23-cbb53aa2bb38 X-Archives-Hash: 76e039890286b09f611d96e51f1a5daf trevor donahue writes: > So here's the thing. When I use gentoo for a long time, even without > updating the current pack of installed software (emerge -uD world), I am > left without disk space... In situations like this I start deleting > /var/tmp/*, /tmp/*, /usr/portage/distfiles/*, maybe do even a > revdep-rebuild to fix something, but even then I'm left with no more > then 100 mb, which obviously is not enough ... Use eclean-dist and eclean-pkg (in app-portage/gentoolkit) to delete your distfiles. If you instantly need more space, reduce the amount of reserved space for the superuser, which is 5% as default: tune2fs -m 2 /dev/your/partition Don't reduce it to 0, the lower this value is, the more fragmentation you will get. > So this time I googled a bit and I deleted all the /usr/share/doc/ and > this left me with 2.5 gb of space (wow). > > So the questions are ... in cases like this, what should be done? what > is storing this much space? logs? You need to find out for yourself. I sometimes simply do a du -mx --max-depth=1 / to see which directory has what amount of data in it. Repeat for interesting directories like /usr/share/doc, and you will see what takes big space. Add a '| sort -n' to get sorted output. Or better use sys-fs/ncdu which is interactive. If you prefer something graphical, there are many alternatives: Baobab in gnome-extra/gnome-utils kde-base/filelight k4dirstat in kde-misc/kdirstat Konqueror -> View -> View Mode -> File Size View (or something like that in English) jdiskreport in sys-fs/jdiskreport-bin Wonko