* SUMMARY: Incorrect disk utilization reported by 'df'
@ 2005-12-15 22:02 Christopher Knorr
0 siblings, 0 replies; only message in thread
From: Christopher Knorr @ 2005-12-15 22:02 UTC (permalink / 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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-12-15 22:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-15 22:02 SUMMARY: Incorrect disk utilization reported by 'df' Christopher Knorr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox