tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY (Why df command is not showing free space)
@ 1998-01-20 17:15 Warren, John H.
  0 siblings, 0 replies; only message in thread
From: Warren, John H. @ 1998-01-20 17:15 UTC (permalink / raw)
  To: tru64-unix-managers

Thank you to all who responded.

I copied a new file into /usr, df showed 100%
Removal of file did not reflect any new free space

Problem:
It was a file that was opened by a
process  DU will only release the space
(i.e. df will show it) when the process closes the last file
descriptor referencing the file.

So a tip: instead of 'rm logfile' do a 'cp /dev/null logfile'.
(Thanks Rainer Freis [freis@santix.de])

I did a lsof (list open files), on the directory I was working in, and
killed
the process that this command reported, and my free space showed up!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-01-20 17:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-01-20 17:15 SUMMARY (Why df command is not showing free space) Warren, John H.

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