RE: EXT3 and large directories

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

 



Is this a bug or by design? Would there be a better filesystem to use
for my situation?

Matt D.

-----Original Message-----
From: Andreas Dilger [mailto:adilger@xxxxxxxxxxxxx] 
Sent: Wednesday, October 04, 2006 7:43 PM
To: Matt Dodson
Cc: ext3-users@xxxxxxxxxx
Subject: Re: EXT3 and large directories

On Oct 04, 2006  16:33 -0500, Matt Dodson wrote:
> I have an ext3 filesystem that has several directories and each
> directory gets a large number of files inserted and then deleted over
> time. The filesystem is basically used as a temp store before files
are
> processed. The issue is over time the directory scans get extremely
slow
> even if the directories are empty. I have noticed the directories can
> range in size from 4k - 100M even when they are empty.  Is there a way
> to fix this without recreating the directories or bringing the
> filesystem offline? 

No way to fix this w/o offline e2fsck -fD.  ext3 doesn't shrink
directories
when deleting files.

Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.


_______________________________________________
Ext3-users mailing list
Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux