From: alan@nabeth.cxo.cpqcorp.net (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: Deleted 14 Gb file space not returned to df -k
Date: Tue, 10 Sep 2002 19:26:38 GMT [thread overview]
Message-ID: <OHrf9.48$uZ4.732265@news.cpqcorp.net> (raw)
In-Reply-To: 3c672d5.0209091642.3ca22154@posting.google.com
In article <3c672d5.0209091642.3ca22154@posting.google.com>, thomsonj@fliway.com (Jeremy Thomson) writes:
>
>This is my first posting to comp.unix.tru64 so please excuse me if the
>answer to this question is on a FAQ somwhere.
For what it is worth, there are few versions of Tru64 UNIX still in
wide use and all support at least two local file systems. It would
be useful to know the operating system version and the file system
being used.
>
>We ran out of disk space & finally identified a runaway zip file that
>had no
>end of file thus kept on unzipping till the disk space was used up.
>I have rm'ed the file but the space freed does not show in the df -k
>command.
Did you stop the process? Removing a file's name doesn't cause
the space to be freed if something has the file open or there are
other names for the file (hard links). As someone else suggested
use lsof (or fuser) to see if the file is still open.
>I betcha a reboot will give our space back but thats not a conveniant
>thing to do.
Killing the process will be sufficient. A reboot will certainly
do that, but it is more than necessary.
>We will suffer along with 512Mb free but that will only keep us going
>a day or so.
>Any ideas?
The file still being open is the usual cause of space apparently
not being freed when a file is removed. If you're using UFS I
can't think of any other cause for the symtom. AdvFS is another
matter.
I'm told that AdvFS is dependent on its quota system to keep track
of the space being used. If you're not using the quota system (even
if it isn't enforcing them), it seems to be quite easy to get the
actual space usage out of sync with what the file system thinks is
being used. This symtoms shows up a difference in space usage
between df(1) and what the file systems tools think is in use;
showfdmn. Running quotacheck on the domain may be enough to fix
it.
>
>Thanx in advance,
>Jeremy Thomson
>
--
Alan Rollow alan@nabeth.cxo.cpqcorp.net (previously .dec.com)
next prev parent reply other threads:[~2002-09-10 19:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-10 0:42 Deleted 14 Gb file space not returned to df -k Jeremy Thomson
2002-09-10 3:09 ` David E. Konerding
2002-09-10 7:57 ` Emmanuel Choquet
2002-09-10 10:02 ` Quarter Horseman
2002-09-10 13:29 ` Simon Millard
2002-09-10 19:26 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
2002-09-10 22:21 ` Jeremy Thomson
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