From owner-freebsd-questions@FreeBSD.ORG Fri Mar 30 16:11:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 241BF16A400 for ; Fri, 30 Mar 2007 16:11:35 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from qsmtp3.mc.surewest.net (qsmtp.mc.surewest.net [66.60.130.145]) by mx1.freebsd.org (Postfix) with SMTP id 0829713C45D for ; Fri, 30 Mar 2007 16:11:35 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: (qmail 31911 invoked from network); 30 Mar 2007 09:11:34 -0700 Received: by simscan 1.1.0 ppid: 31874, pid: 31875, t: 5.8310s scanners: regex: 1.1.0 attach: 1.1.0 clamav: 0.84/m:42/d:2665 spam: 3.0.3 Received: from unknown (HELO blacklamb.mykitchentable.net) (66.205.146.210) by qsmtp3 with SMTP; 30 Mar 2007 09:11:28 -0700 Received: from [192.168.1.3] (bigdaddy.mykitchentable.net [192.168.1.3]) by blacklamb.mykitchentable.net (Postfix) with ESMTP id 433A01648AA; Fri, 30 Mar 2007 09:11:27 -0700 (PDT) Message-ID: <460D36AF.9050406@mykitchentable.net> Date: Fri, 30 Mar 2007 09:11:27 -0700 From: Drew Tomlinson User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: josh.carroll@psualum.com References: <460D212F.6080203@mykitchentable.net> <8cb6106e0703300828x6da0177dy6329f5009c9c0bb5@mail.gmail.com> In-Reply-To: <8cb6106e0703300828x6da0177dy6329f5009c9c0bb5@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on qsmtp3.surewest.net X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL autolearn=no version=3.0.3 Cc: FreeBSD Questions Subject: Re: Help Finding Disk Drive Usage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Mar 2007 16:11:35 -0000 On 3/30/2007 8:28 AM Josh Carroll said the following: >> So why does du report only 2.0 GB of usage while df reports over 6 GB? >> Where has my storage gone? Or do I not understand proper usage of du? > > > If you removed files that still had open file handles (e.g. from > /var/log), they are likely still allocated and showing up in df, but > not du since they're not on the filesystem anymore. Restart any > daemons that you removed log files for, and the space will "show up". > Or a simple reboot should fix things. Thanks for your reply. It appears that I had pf do some NAT logging to /var/log/alias.log. Although I deleted that file, I had not restarted pf. A 'pfctl -d' followed with a 'pfctl -e' and a little time seems to have restored my disk space according to df.. blacksheep# df -h Filesystem Size Used Avail Capacity Mounted on /dev/da0s1a 721M 98M 565M 15% / devfs 1.0K 1.0K 0B 100% /dev /dev/stripe/user 6.4G 2.0G 3.9G 34% /usr devfs 1.0K 1.0K 0B 100% /usr/var/named/dev Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com