Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: ccteakle@brolga.cc.uq.oz.au (Chris Teakle)
Subject: Re: Problem with advfs on DUnix 3.2
Date: 1996/08/22	[thread overview]
Message-ID: <4vh76c$3ve@hobyah.cc.uq.oz.au> (raw)
In-Reply-To: 4vevuq$21a@sci3.sri.ucl.ac.be


nina@fynu.ucl.ac.be (Alain Ninane - FYNU) writes:

>I had a problem with an advfs file system this morning.
>The `df -k' command reported that the file system was full
>(7 blocks available out of 1000000) while a `du -s -k' on
>it reported only 464825 blocks used.

This sort of thing can happen when some process holds open a large file
that has since been unlinked. The space is still consumed as far as df
is concerned, but is invisible to du or ls. It's released as soon as
the process closes the file or exits.

A common example of where it can be a problem is with a news server old
history file (which may be over 100Mb in size) which has been rm'ed after
news expiry, but is still held open by some reader process.

Identifying such a process shouldn't be too hard using "lsof /filesystem".
If you don't have lsof then look at:
	ftp://vic.cc.purdue.edu/pub/tools/unix/lsof
(Congrats to Vic Abell - lsof is a great tool!)

----
Chris Teakle
Prentice Centre, University of Qld



      parent reply	other threads:[~1996-08-22  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-21  4:00 Problem with advfs on DUnix 3.2 Alain Ninane - FYNU
1996-08-21  4:00 ` Richard A. Muirden
1996-08-22  4:00 ` Chris Teakle [this message]
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