SUMMARY: Incorrect disk utilization reported by 'df'

From: Christopher Knorr <cknorr_at_trapsystems.com>
Date: Thu, 15 Dec 2005 17:02:59 -0500

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.
Received on Thu Dec 15 2005 - 22:03:40 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT