[H-GEN] Out of disk space errors?
David Duffy
david at audiovisualdevices.com.au
Wed May 18 20:46:25 EDT 2005
Robert Brockway wrote:
>On Sun, 15 May 2005, David Harrison wrote:
>
>>Has anyone seen this behaviour before? Short of a reboot (which I'm trying to
>>
>>
>
>Yes, it is a function of how Unix uses files. If you remove a file the
>space is only freed once the process holding the file exits. Figure out
>which daemon or other process was using the files and stop and restart
>them.
>
>The best option is to use fuser or lsof before deleting the file to see
>who has it.
>
>You may be able to examine /proc to see who is holding the files.
>
>A reboot works only because it stop the proceses involved.
>
Related to this, I have a question. I recently ran out of space on my
Debian box.
Running df indicated heaps of room left but when I used the "file
properties" via
my Windows box to get the size of all files, it indicated that one
directory tree
that had thousands of tiny clipart files in it was hogging about 20
times as much
disk space than what the files really added up to in raw sizes. I gather
that this is
to do with cluster sizes and the files being much smaller than them. I
deleted that
whole directory and it now shows 22% space used and the problem is gone.
Is there any way to store heaps of very small files without wasting space?
David...
--
___________________________________________
David Duffy Audio Visual Devices P/L
U8, 9-11 Trade St, Cleveland 4163 Australia
Ph: +61 7 38210362 Fax: +61 7 38210281
Our Web Site: www.audiovisualdevices.com.au
___________________________________________
More information about the General
mailing list