From owner-freebsd-questions@FreeBSD.ORG Sat Apr 23 18:59:14 2005 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 3F31A16A4CE for ; Sat, 23 Apr 2005 18:59:14 +0000 (GMT) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2D5343D48 for ; Sat, 23 Apr 2005 18:59:13 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 4D0AD5E63; Sat, 23 Apr 2005 14:59:13 -0400 (EDT) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19485-07; Sat, 23 Apr 2005 14:59:12 -0400 (EDT) Received: from [192.168.1.3] (pool-68-161-53-96.ny325.east.verizon.net [68.161.53.96]) by pi.codefab.com (Postfix) with ESMTP id 2C6115E41; Sat, 23 Apr 2005 14:59:09 -0400 (EDT) Message-ID: <426A9AFB.2030603@mac.com> Date: Sat, 23 Apr 2005 14:59:07 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ryan Winograd References: <426A95FC.5030001@houston.rr.com> In-Reply-To: <426A95FC.5030001@houston.rr.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com cc: freebsd-questions@freebsd.org Subject: Re: Phantom Files, Filesystem Full 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, 23 Apr 2005 18:59:14 -0000 Ryan Winograd wrote: > I was editing a conf file in /etc and, when i tried to write the file vi > told me it couldn't save because the filesystem is full! I ran df and, > sure enough, the / fs has 245M of 258M used: > > Filesystem Size Used Avail Capacity Mounted on > /dev/ad0s1a 248M 245M -17M 108% / > > This was certaintly a surprise, because all my data is located on other > partitions, so i ran du -h -d1 / to find the culprit, but i still > couldn't find what is using up all my / disk space! What can i do to > find out where all my disk space has gone?!?! I suspect that running "du -hxd 1 /" would be more helpful, BTW. Anyway, it would help to know what other filesystems you have (ie, is /tmp on root, or /var?). Regardless, a good place to check is whether /root has grown out-of-control-- logging into X + KDE or GNOME, running apps like Mozilla which create big user profiles, for example, although trying to run "perl -MCPAN" or many others things could also do it. Otherwise, you might have files which have been deleted but are still being held by a process using that space. If something was generating a huge logfile which you'd already deleted, try restarting it and/or syslogd. For that matter, try rebooting the system and seeing whether you get more space afterwards. -- -Chuck