From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079067215915.tru64-unix-managers.marc@archive.invalid> From: Dan Kirkpatrick Date: Wed, 11 Aug 1999 16:22:57 +0000 To: tru64-unix-managers Subject: SUMMARY: disk usage discrepancy X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079067215915 Thanks for the responses... SUMMARY: given as (reached from its) arguments. 'df' counts the amount of space used in the filesystem. The obvious difference is in any files used by some running process (= still existing on disk) but already deleted (= not reachable from any directory) and unlinked. This is typical of /var/tmp where many temporary files have had their names removed while the file is still in use (*). The most likely cause is one or more large files that are open, but unlinked. Another is in any directories in that file system which are used as mount points for other file systems, because that will make their "local" entries inaccessible. (we are nfsmounting/sharing /var/spool/mail). >Can someone explain the following discrepancy? > >root> du -s -k /var >409716 /var > >root> df -k . >Filesystem 1024-blocks Used Available Capacity Mounted on >/dev/rz2a 993527 723205 170969 81% /var > >409716kb is nowhere near 723205kb > >Am I missing something obvious? > >Thanks, >Dan -------------------------------------------------------------------------- Dan Kirkpatrick dkirk@phy.syr.edu Computer Systems Manager Department of Physics Syracuse University, Syracuse, NY http://www.phy.syr.edu/~dkirk Fax: (315) 443-9103 --------------------------------------------------------------------------