Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Aug 2007 18:16:57 +0100
From:      "Jamie Penman-Smithson" <jpenman.smithson@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Mystery of increasing disk usage
Message-ID:  <42acc2230708031016r726acd1em5d292c949c9d13d7@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I'm having big problems trying to pin down the cause of spiralling
disk usage on a partition.

du -sh shows that /usr is using 5.9 GB:
$ du -shL /usr
5.9G    /usr

However, df shows:

Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ad4s1f     47G     43G    131M   100%    /usr
[...]

It seems to be eating 3 MB roughly every 4-5 minutes. However,
repeated uses of du don't show any increased usage. It only appears in
df.

defiant:/usr$ du -cksmxL * | sort -rn
6042    total
3015    home
965     obj
777     local
770     jail
376     share
36      lib
32      X11R6
28      bin
19      libexec
15      sbin
15      include
1       tmp
1       ports
1       openssl
1       libdata
1       games
1       compat

My first thought is that the du binary is compromised, but I thought
that I may be missing something blindingly obvious.

Thanks,

-- 
-Jamie L. Penman-Smithson <jpenman.smithson@gmail.com>



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