Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2002 23:10:48 -0700
From:      "Crist J. Clark" <crist.clark@attbi.com>
To:        current@freebsd.org
Subject:   Mystery Disk Usage
Message-ID:  <20020823061047.GB82200@blossom.cjclark.org>

next in thread | raw e-mail | index | archive | help
I'm seeing something strange on a CURRENT system from mid-July.

  # df /usr
  Filesystem  1K-blocks   Used  Avail Capacity  Mounted on
  /dev/ad0s1e   1014863 782488 151186    84%    /usr

There are no mounts above /usr, but,

  # du -sk /usr
  281557  /usr

And there do not appear to be any processes holding open unlinked
inodes that would make up for the difference,

  # fstat | fgrep /usr
  root     awk          274   wd /usr     214446 drwxr-xr-x    2048  r
  root     awk          274 text /usr       8042 -r-xr-xr-x  112004  r
  root     fgrep        273   wd /usr     214446 drwxr-xr-x    2048  r
  root     fgrep        273 text /usr       9385 -r-xr-xr-x   52612  r
  root     fstat        272   wd /usr     214446 drwxr-xr-x    2048  r
  root     fstat        272 text /usr       7939 -r-xr-sr-x   14120  r
  root     csh          245   wd /usr     214446 drwxr-xr-x    2048  r
  root     su           244   wd /usr     214446 drwxr-xr-x    2048  r
  root     su           244 text /usr       9437 -r-sr-xr-x   10916  r
  cjc      csh          238   wd /usr     214446 drwxr-xr-x    2048  r
  cjc      sshd         237 text /usr     246971 -r-xr-xr-x  142196  r
  root     sshd         235 text /usr     246971 -r-xr-xr-x  142196  r
  root     getty        234 text /usr     135364 -r-xr-xr-x   21780  r
  root     getty        233 text /usr     135364 -r-xr-xr-x   21780  r
  carl     setiathome   221   wd /usr      41796 drwxr-xr-x     512  r
  carl     setiathome   221 text /usr     222282 -r-xr-xr-x  299008  r
  carl     setiathome   221    6 /usr      41797 -rw-r--r--       0  w
  smmsp    sendmail     201   wd /usr     175142 drwxrwx---     512  r
  smmsp    sendmail     201 text /usr     182566 -r-xr-sr-x  581700  r
  root     sendmail     198   wd /usr     135100 drwxr-xr-x     512  r
  root     sendmail     198 text /usr     182566 -r-xr-sr-x  581700  r
  root     sshd         195 text /usr     246971 -r-xr-xr-x  142196  r
  root     cron         193   wd /usr      47788 drwxr-x---     512  r
  root     cron         193 text /usr     246999 -r-xr-xr-x   31300  r
  root     cron         193    3 /usr     135318 -rw-r--r--       4 rw
  root     timed        187 text /usr     247072 -r-xr-xr-x   38180  r
  root     syslogd      182 text /usr     247068 -r-xr-xr-x   30540  r
  root     syslogd      182    9 /usr      47627 -rw-r--r--   21938  w
  root     syslogd      182   10 /usr      47649 -rw-------    3850  w
  root     syslogd      182   11 /usr      47655 -rw-r--r--   15197  w
  root     syslogd      182   12 /usr      48074 -rw-r-----     874  w
  root     syslogd      182   13 /usr      47794 -rw-r--r--       0  w
  root     syslogd      182   14 /usr      47716 -rw-------   85681  w
  root     syslogd      182   15 /usr      47630 -rw-r--r--  1113434  w
  root     syslogd      182   16 /usr      47628 -rw-------   65449  w
  root     syslogd      182   17 /usr      47627 -rw-r--r--   21938  w
  root     ipmon        154    4 /usr      47630 -rw-r--r--  1113434  w

What am I missing? Where are my other 500K of disk?
-- 
Crist J. Clark                     |     cjclark@alum.mit.edu
                                   |     cjclark@jhu.edu
http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

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




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