Disappearing disk space
Larry Campbell
campbell at maynard.UUCP
Thu Sep 5 13:23:11 AEST 1985
I've been getting the same few suggestions repeatedly in response to
my original question, so here's what I should have posted earlier --
a summary of hypotheses people have offered that have not panned out:
(Synopsis: VENIX/86 system mysteriously loses many thousands of blocks
of disk space which later mysteriously come back. Latest
discovery is that deleting /usr/lib/news/history frees up the
space, even though that file claims to be fairly small.
VENIX/86 is a V7 port; news software here is 2.10.2.)
Several people have suggested a temporary file that gets unlinked
but not closed. Nope, reloading doesn't free up the space.
Another suggestion was a filesystem mounted on a nonempty directory.
Very plausible, but not the case here.
A third suggestion was holes in a file (lseek past EOF). I wrote a
test program to try this out, and only succeeded in getting du and
quot to think that the file occupied MORE blocks than it really did.
My problem is the reverse -- that du and quot think the filesystem has
lots of space, but it really doesn't.
Since du seems to believe the EOF pointer (st_size field of stat(2)),
it's occurred to me that perhaps /usr/lib/news/history is somehow
getting blocks allocated past EOF. I can't think of a way to make
that happen, though. Any suggestions?
--
Larry Campbell decvax!genrad
The Boston Software Works, Inc. \
120 Fulton St. seismo!harvard!wjh12!maynard!campbell
Boston MA 02109 / /
ihnp4 cbosgd
ARPA: campbell%maynard.uucp at harvard.arpa
More information about the Comp.unix.wizards
mailing list