From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HhFtl-0002FY-IW for garchives@archives.gentoo.org; Fri, 27 Apr 2007 02:09:26 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l3R282o6016748; Fri, 27 Apr 2007 02:08:02 GMT Received: from mail-ihug.icp-qv1-irony6.iinet.net.au (ihug-mail.icp-qv1-irony6.iinet.net.au [203.59.1.224]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l3R20rtg006192 for ; Fri, 27 Apr 2007 02:00:55 GMT Received: from 203-59-216-218.dyn.iinet.net.au (HELO moriah.localdomain) ([203.59.216.218]) by mail-ihug.icp-qv1-irony6.iinet.net.au with ESMTP; 27 Apr 2007 10:00:44 +0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApkZALD2MEbLO9jaUGdsb2JhbACBPIV+iEsBASo X-IronPort-AV: i="4.14,458,1170604800"; d="scan'208"; a="654910055:sNHT171494532" Received: from localhost (localhost [127.0.0.1]) by moriah.localdomain (Postfix) with ESMTP id 942B57FDDC7 for ; Fri, 27 Apr 2007 10:00:41 +0800 (WST) X-Virus-Scanned: amavisd-new at localdomain Received: from moriah.localdomain ([127.0.0.1]) by localhost (moriah.localdomain [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NS5rUjIsWj7r for ; Fri, 27 Apr 2007 10:00:39 +0800 (WST) Received: from [192.168.50.73] (unknown [192.168.50.73]) by moriah.localdomain (Postfix) with ESMTP id 45ECB1A280 for ; Fri, 27 Apr 2007 10:00:39 +0800 (WST) Subject: Re: [gentoo-user] Reducing disk usage From: "W.Kenworthy" To: gentoo-user@lists.gentoo.org In-Reply-To: <200704261738.16205.volker.armin.hemmann@tu-clausthal.de> References: <49bf44f10704260759g214dbb00o40c674ca7167cdd2@mail.gmail.com> <200704261738.16205.volker.armin.hemmann@tu-clausthal.de> Content-Type: text/plain Date: Fri, 27 Apr 2007 10:00:38 +0800 Message-Id: <1177639238.28386.49.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 Content-Transfer-Encoding: 7bit X-Archives-Salt: c2ab6663-763f-4962-b8c9-945a4def08a4 X-Archives-Hash: 3d29a2d905be00fcfc1edebd3328152a Watch this one! I ended up with a seriously broken system after running localepurge - make sure you have your locale sorted out first! But it can save quite a lot of space - pity the system was dead in the water ... reiserfs is more space efficient than other filesystems like ext2/3 (depending on a lot of things ... YMMV) -O3 - saves peanuts overall rm -rf /usr/src/linux* - dangerous, lokk in there first and only remove what you are not using (i.e., leave your current kernel, plus one other "good" version as a backup - the number of times Ive had to roll back ... :) rm -rfv /usr/portage/distfiles - after thinking about if you need to keep these versions, consider if redownloading them wont be a problem (or write them out to DVD/CD etc. There are also a couple of distfile cleaner programs - see the forums. If you have another machine, look into http-replicator - highly recommended. rm -rfv /var/tmp/portage - this can all go - often cruft like crashed OO builds end up here - can be huge. run `du /|sort -rn|less` and see where your biggest files/directories are and see if they can go. In real tight situations, NFS can help by putting /usr/portage/distfiles, /var/tmp/portage, etc on other machines with more diskspace. I have found this to be very flakey at times depending on kernel versions, system loads, etc. Huge builds like OO rarely finished without a crash or two in the build process :) Use the -doc useflag and rebuild - this can save over a GB on a large systems there have been a number of threads over the years on saving space - search the forums. BillK BillK On Thu, 2007-04-26 at 17:38 +0200, Hemmann, Volker Armin wrote: > On Donnerstag, 26. April 2007, Grant wrote: > > I've found myself with a full hard disk and no obvious choices for > > reducing usage. Are there any not-so-obvious ways to free up hard > > disk space? > > > > - Grant > > localepurge > > rm -rf /var/tmp/ > > using reiserfs > > stop using -O3 > > rm -rf /usr/src/linux* -- gentoo-user@gentoo.org mailing list