From owner-freebsd-questions Wed Feb 16 9:12:50 2000 Delivered-To: freebsd-questions@freebsd.org Received: from builder.freebsd.org (builder.FreeBSD.ORG [204.216.27.24]) by hub.freebsd.org (Postfix) with ESMTP id 51AC237B50D for ; Wed, 16 Feb 2000 09:12:48 -0800 (PST) (envelope-from support@vpm.com) Received: from vpm.com (spunky.vpm.com [209.60.152.2]) by builder.freebsd.org (Postfix) with ESMTP id DA70D132D6 for ; Wed, 16 Feb 2000 09:12:11 -0800 (PST) Received: from movies (port-st43.cwo.com [209.63.55.53]) by vpm.com (8.9.3/8.9.3) with ESMTP id JAA03700 for ; Wed, 16 Feb 2000 09:13:07 -0800 (PST) Message-Id: <4.2.0.58.20000216085019.01e9b3e0@mail.vpm.com> X-Sender: staff@mail.vpm.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Wed, 16 Feb 2000 09:12:39 +0000 To: freebsd-questions@freebsd.org From: VPM Support Subject: df/du reporting different results on FBSD3.4 In-Reply-To: <000401bf7849$2fef7070$0300000a@katana> References: <200002160507.AAA20741@smtp-out1.bellatlantic.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Strange things are happening that I'm hoping I can get some answer to. I recently upgraded from 3.1 to 3.4. This morning my /var partition (996MB) was at 109% capacity when I did a df. When I did a du -s /var it reported only 68MB. In addition to this I could NOT delete the files and free up any space on the partition. It remain constant or grew. "Something" was writing to the disk and do not know what. A check of running processes (ps -auxww) did not reveal any culprits. As a result of all this mail was not being delivered and for all I know even being received. My resolution was to copy all files over to another partition called /logs which was empty and had 817MB free. I made a new directory called /var1. I then edited the /etc/fstab file to reflect that the /logs partition was now /var and the current /var partition was now /var1 and then rebooted. This solved the immediate problem of no disk space on /var and mail started to flow. Crisis solved for now. But then I issue a du command and a df command and check the space on /var. The results are different. Anyone know why? The results are shown below. bash# du -s /var 67832 /var bash# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da0s1a 540783 55688 441833 11% / /dev/da1s1f 817743 76710 675614 10% /var /dev/wd0s1f 1504911 655263 729256 47% /u2 /dev/wd1s1e 3789838 2552875 933776 73% /u1 /dev/da1s1e 1215695 884354 234086 79% /usr /dev/da0s1e 996319 1 916613 0% /var1 procfs 4 4 0 100% /proc Thanks, Mark VPM Support support@vpm.com VPM Internet Services (800) 321-0221 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message