[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: empty directories need disk space



basti wrote:
> on different servers I have cache folders with a lot of small files. Now
> all the files are delete but the folder "need" 151 MB.
> Whats gonig on here? What is the problem? How can I fix? Delete and
> create would be impracticable.

With ext2, ext3 and ext4 directories can only grow.  They never
shrink.  If you take the file system offline and run 'e2fsck -D -f' on
them then the fsck will shrink them.  But it is an offline operation.

> --- /home/somedir/cache/baseall/basecache
>   151.0MiB [##########]

In this day and age 151M of data seems too small to try to recover.

Bob

Attachment: signature.asc
Description: Digital signature


Reply to: