tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Christopher Knorr <cknorr@trapsystems.com>
Subject: SUMMARY: Incorrect disk utilization reported by 'df'
Date: Thu, 15 Dec 2005 17:02:59 -0500	[thread overview]
Message-ID: <BF1459AB04AFE8498BE2E85D7C8C9D4C206937@mail1.hopsdc.com> (raw)

PROBLEM:	The 'df' command is showing our disks are 99+% used, but
we look at the actual amount of space used (via ls -l) it shows FAR
less.

ANSWER:	Our database application deletes files quite often. No problems
were being seen with this -- the delete (ultimately a low-level UNIX
delete) was returning success codes.

HOWEVER, for reasons we don't know yet, the files were open at the time
of the deletion. Using 'lsof' I noticed this. Once we restarted our
application (which did low-level closes on the UNIX files) the 'df'
output got significantly better.

One other note:

HP told us that, when using AdvFS, the vdf command should be used to
show disk utilization, not df. I'm starting to see that this is the
case. vdf seems to be reporting correctly, whereas df, although better,
is not 100% accurate.




                 reply	other threads:[~2005-12-15 22:02 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