From owner-freebsd-questions@FreeBSD.ORG Sat Jul 17 19:37:19 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 6875216A4CE for ; Sat, 17 Jul 2004 19:37:19 +0000 (GMT) Received: from bsdhacker.org (h71.52.102.166.ip.alltel.net [166.102.52.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id E143043D2F for ; Sat, 17 Jul 2004 19:37:18 +0000 (GMT) (envelope-from uidzero@one-arm.com) Received: from localhost (localhost [127.0.0.1]) by bsdhacker.org (Postfix) with ESMTP id 8D081DD; Sat, 17 Jul 2004 14:35:32 -0500 (CDT) Received: from bsdhacker.org ([127.0.0.1]) by localhost (server.bsdhacker.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 43704-04; Sat, 17 Jul 2004 14:35:30 -0500 (CDT) Received: from [192.168.0.2] (bsd.bsdhacker.org [192.168.0.2]) by bsdhacker.org (Postfix) with ESMTP id 86CD782; Sat, 17 Jul 2004 14:35:30 -0500 (CDT) Message-ID: <40F97FF9.9010308@one-arm.com> Date: Sat, 17 Jul 2004 14:37:29 -0500 From: uidzero User-Agent: Mozilla Thunderbird 0.7.1 (X11/20040703) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Schuller , FreeBSD-Questions References: <200407171644.44473.peter.schuller@infidyne.com> In-Reply-To: <200407171644.44473.peter.schuller@infidyne.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at bsdhacker.org Subject: Re: Root fs full -> free space always below 0 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: Sat, 17 Jul 2004 19:37:19 -0000 Peter Schuller wrote: >Hello, > >so during a portupgrade on my laptop the root fs, with soft updates enabled, >became full. So I removed a bunch of stuff to make a few gigs available. I >checked and df reported more than a gig of free space - so I re-ran >portupgrade. > >Then I noticed it was full again, with df showing a negative amount of free >space. > >I removed even more stuff, and rebooted just incase there were more blocks to >be freed. > >After the reboot df showed a negative amount of space again. So I removed even >more data (rm -rf /usr/ports/distfiles) and now I had 115 meg free df >claimed. I then re-ran df in quick succession a few times and watched >diskspace rapidly decrease to a negative 600 meg or so (note: the decrease >was perhaps 150 meg/second, so it cannot have been a process writing data to >disk in the background). > >After a couple more reboots and a manual fsck in single user mode I still have >the same problem (on both CURRENT and 5.2.1-RELEASE kernels). > >What to do? > Have you tried editing your ports-supfile and commenting out the "src-all" and the Chinese, German, etc... ports? Just make sure you have all the other ports uncommented. That will save you a lot of space, unless you need them. Michael -- Michael D. Whities uidzero@one-arm.com http://www.one-arm.com -- There are four colors of hats to watch for: Black, White, Grey, and Red. The meanings are: Cracker, Hacker, Guru, and Victim.