delete problem

Steven W. Orr steveo at syslang.net
Sat Apr 14 02:56:08 UTC 2007


On Saturday, Apr 14th 2007 at 05:25 +0300, quoth eng.waleed:

=>I create files on the hard until it give message it is full and then delete
=>them again and the space became available, strange Issue
=>
=>----- Original Message ----- From: "eng.waleed" <walleed222 at hotmail.com>
=>To: "For users of Fedora" <fedora-list at redhat.com>
=>Sent: Saturday, April 14, 2007 1:21 AM
=>Subject: Re: delete problem
=>
=>
=>> no they are not used
=>> ----- Original Message ----- From: "alan" <alan at clueserver.org>
=>> To: "For users of Fedora" <fedora-list at redhat.com>
=>> Sent: Saturday, April 14, 2007 1:12 AM
=>> Subject: Re: delete problem
=>> 
=>> 
=>> > On Fri, 13 Apr 2007, Richard England wrote:
=>> > 
=>> > > eng.waleed wrote:
=>> > > > hi
=>> > > > I try to delete files from full space FS but the space does not be
=>> > > > available after  delete some files , please advice
=>> > > > BR
=>> > > How were they deleted?  If you used Nautilus, then they may still be
=>> > > there. You needed to empty the "trash" for the disk space to be freed.
=>> > 
=>> > If the files are still being used by another application, they may not
=>> > delete either.
=>> > 
=>> > /sbin/lsof will give you a list of open files and what has them opened.

There are two things that make storage not free up.
1. The file has hardlinks. You can tell by looking at ls -l
-rw-r--r--  1 steveo steveo   56 Apr  9 15:06 doc.txt

The "1" means that only one name points to those blocks of storage.

2. If multiple channels are open on a file and the file is deleted then 
the storage won't free up till the last channel on that file is closed.

Link count or open count.




More information about the fedora-list mailing list