Re: Clearing Disk Space
- From: Patrick T <ptully@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 01 Nov 2007 12:01:10 -0700
On Nov 1, 2:32 pm, Lew Pitcher <lpitc...@xxxxxxxxxxxx> wrote:
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.
Yea, but i even reboot the system after deleting a bunch of stuff. I
also ran a ps -ef |grep "ava" to see if anything was using that files
system and didn't show anything. I do have samba running which I will
disable now and see if that helps? But if I rebooted the system after
deleting a bunch of files shouldn't it show the difference (especially
since these were fairly siginificant files - size wise)?
.
- Follow-Ups:
- Re: Clearing Disk Space
- From: Bill Marcum
- Re: Clearing Disk Space
- References:
- Clearing Disk Space
- From: Patrick T
- Re: Clearing Disk Space
- From: Dan Espen
- Re: Clearing Disk Space
- From: Lew Pitcher
- Clearing Disk Space
- Prev by Date: Re: Cloning a disk using dd
- 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):