Date: Wed, 3 Apr 2002 10:45:32 -0800 (PST) From: Cecilia Cabrera <ccabrera@scooby.uba.ar> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/36701: "df" shows a status (wrong) that differs from "du"'s status Message-ID: <200204031845.g33IjW946621@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204031845.g33IjW946621>