From owner-freebsd-bugs Wed Apr 3 10:50:10 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D03C237B41F for ; Wed, 3 Apr 2002 10:50:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g33Io0P47169; Wed, 3 Apr 2002 10:50:00 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9319A37B41A for ; Wed, 3 Apr 2002 10:45:32 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g33IjW946621; Wed, 3 Apr 2002 10:45:32 -0800 (PST) (envelope-from nobody) Message-Id: <200204031845.g33IjW946621@freefall.freebsd.org> Date: Wed, 3 Apr 2002 10:45:32 -0800 (PST) From: Cecilia Cabrera To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/36701: "df" shows a status (wrong) that differs from "du"'s status Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36701 >Category: misc >Synopsis: "df" shows a status (wrong) that differs from "du"'s status >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 03 10:50:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Cecilia Cabrera >Release: 4.4-RELEASE >Organization: Universidad de Buenos Aires >Environment: FreeBSD valhala.uba.ar 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Sep 18 11:57:08 PDT 2001 murray@builder.FreeBSD.org:/usr/src/sys/compile/GENERIC i386 >Description: The daily output's Disk status showed that the /var used space increased daily. This isn't usally so, since we have logs, it increases 1-2 % daily for a couple of days and then (when ziped) decreases back to the original size. When running df -k or df -h we got this result too, something like this: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 1372527 928151 334574 74% / /dev/ad0s1e 372079 110213 232100 32% /var procfs 4 4 0 100% /proc but when doing: #du -ks /var: 65982 /var (which doesn't match!!) <--- this is the one that's right Not knowing how to solve this, we used the "solution windows": rebooted. Now they're ok, they both show: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 1372527 928357 334368 74% / /dev/ad0s1e 372079 66073 276240 19% /var procfs 4 4 0 100% /proc #du -ks /var/ 66070 /var/ >How-To-Repeat: just sit and wait, it happended a couple of times. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message