tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Dan Kirkpatrick <dkirk () suhep ! phy ! syr ! edu>
To: tru64-unix-managers
Subject: SUMMARY: disk usage discrepancy
Date: Wed, 11 Aug 1999 16:22:57 +0000	[thread overview]
Message-ID: <96079067215915.tru64-unix-managers.marc@archive.invalid> (raw)

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
--------------------------------------------------------------------------

                 reply	other threads:[~1999-08-11 16:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox