From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 02:01:24 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E63016A4CE for ; Tue, 6 Jul 2004 02:01:24 +0000 (GMT) Received: from ppsw-0.csi.cam.ac.uk (ppsw-0.csi.cam.ac.uk [131.111.8.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id C46B643D31 for ; Tue, 6 Jul 2004 02:01:23 +0000 (GMT) (envelope-from rtb27@cam.ac.uk) Received: from rtb27.robinson.cam.ac.uk ([131.111.217.214]:49403) by ppsw-0.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.150]:465) with esmtp (SSLv3:RC4-MD5:128) (Exim 4.34) id 1BhfGk-0003cj-Lc; Tue, 06 Jul 2004 03:01:14 +0100 From: Richard Bradley To: Dan Nelson Date: Tue, 6 Jul 2004 02:59:08 +0100 User-Agent: KMail/1.5.4 References: <200407060229.03972.rtb27@cam.ac.uk> <20040706013649.GN6574@dan.emsphone.com> In-Reply-To: <20040706013649.GN6574@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200407060259.08128.rtb27@cam.ac.uk> X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ X-Cam-AntiVirus: No virus found X-Cam-SpamDetails: Not scanned cc: freebsd-questions@freebsd.org Subject: Re: /rescue is huge!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2004 02:01:24 -0000 On Tuesday 06 July 2004 2:36 am, you wrote: > In the last episode (Jul 06), Richard Bradley said: > > I recently tried to add a user to my FreeBSD box, but was amazed to > > find that the / partition was full! I had a look, and the culprit is > > the "/rescue" folder, holding 135 statically linked binaries of > > nearly 4Mb each, giving a folder size of 491Mb! > > Check the inode number of each file in /rescue (ls -li /rescue). > You'll notice they're all the same, which means they're all hardlinks > to the same file. "du /rescue" should report under 4MB. > > Your space is probably being taken up somewhere else. > That's very strange if true, because since deleting the "/rescue" folder, the used space on / has gone from 550Mb+ to 129Mb. I can't check the inodes now, as I have `rm`ed them all! Rich