Re: Clearing Disk Space
- From: Lew Pitcher <lpitcher@xxxxxxxxxxxx>
- Date: Thu, 01 Nov 2007 11:32:34 -0700
On Nov 1, 1:42 pm, Dan Espen <dan...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Patrick T <ptu...@xxxxxxxxxxxxxxxxxxxx> writes:
Hi - I arrived at work this morning to find out that one of our drives
has reached 100% I've been trying to move files off the system to an
archive disk elsewhere, but moving the files doesn't seem to do
anything. I've also tried to rm files as well and it still doesn't
change anything. I would assume running rm on fairly large files that
reside on this filesystem should free up some space, but no luck. I
also tried running 'sync' to see if maybe that would help but still
nothing. It seems like no matter what I do, the disk space just
doesn't clear up (and I am positive I am removing files from the
correct location).
That's usually a sign of a process writing to disk while you are removing
files. As you free up space it starts using it up again.
More to the point, it is a sign that some process still has one or
more of the 'deleted' files open. Linux does not release the filespace
allocated to a file until all links have been removed and all readers
close the file.
Ideally programs should check to see whether their writes are succeeding.
Few do.
.
- Follow-Ups:
- Re: Clearing Disk Space
- From: Patrick T
- Re: Clearing Disk Space
- References:
- Clearing Disk Space
- From: Patrick T
- Re: Clearing Disk Space
- From: Dan Espen
- Clearing Disk Space
- Prev by Date: Re: rewrite video .avi files?
- Next by Date: Re: Cloning a disk using dd
- Previous by thread: Re: Clearing Disk Space
- Next by thread: Re: Clearing Disk Space
- Index(es):
Relevant Pages
|