Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2002 11:56:51 -0400
From:      Daniel Frazier <dfrazier@magpage.com>
To:        freebsd-stable@freebsd.org
Subject:   bug in df?
Message-ID:  <3D820AC3.3020502@magpage.com>

next in thread | raw e-mail | index | archive | help
greetz all,

we brought our production mail server up to stable the other day and
I've noticed something wierd.  df is inaccurately reporting the disk
space utilization on the /usr filesystem.

trinity:~# uname -a
FreeBSD trinity.magpage.com 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #0:
Fri Sep  6 02:10:09 EDT 2002     mike@trinity.magpage.com:/usr/obj/us
r/src/sys/IPF2  i386

trinity:/usr# df -h
Filesystem      Size   Used  Avail Capacity  Mounted on
/dev/amrd0s1a   484M    97M   349M    22%    /
/dev/amrd0s1f   9.5G   8.6G   155M    98%    /usr
/dev/amrd0s1e    24G   8.2G    14G    38%    /usr/local
/dev/amrd0s1g    31G    22G   6.2G    78%    /var
procfs          4.0K   4.0K     0B   100%    /proc
alaska:/home1    27G    18G   7.0G    72%    /home1

trinity:/usr# du -h -d 1
8.2G    ./local
  11M    ./bin
7.8M    ./include
  29M    ./lib
9.7M    ./libdata
  17M    ./libexec
6.5M    ./sbin
  69M    ./share
296M    ./src
380M    ./ports
1.0K    ./compat
1.5M    ./games
315M    ./obj
2.4M    ./home
  21M    ./sup
  12M    ./tmp
3.0K    ./X11R6
  39K    ./doc
9.4G    .

as you can see /usr's usage is reported as being at 8.6G(98%), however
du shows 9.4G, 8.2 of which is in the /usr/local filesystem.  What
gives?  Is this a bug in df?  or a bug in stable maybe?

-- 
----------------------------------------------------------------------
Daniel Frazier  <dfrazier@magpage.com>   Tel:  302-239-5900 Ext. 231
Systems Administrator                    Fax:  302-239-3909
MAGPAGE, We Power the Internet           WWW:  http://www.magpage.com/

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
         - Benjamin Franklin, Historical Review of Pennsylvania, 1759.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D820AC3.3020502>