ext4 and extremely slow filesystem traversal

Theodore Ts'o tytso at mit.edu
Wed Mar 13 20:52:10 UTC 2013


On Wed, Mar 13, 2013 at 09:49:20PM +0100, Vincent Caron wrote:
> On 13/03/2013 21:33, Theodore Ts'o wrote:
> > Wow.  You have more directories than regular files!  Given that there
> > are no hard links, that implies that you have at least 2,079,271
> > directories which are ***empty***.
> 
>   Awful, isn't it ? I knew directories were abused, but didn't know that
> 'e2fsck -v' would display the exact figures (since I never waited 5+
> hours to scan the whole filesystem). Nice to know.

To be clear, that's at least two million directories assuming that all
of the other directories have but a single file in them(!).  In reality
you probably have a lot more than 2 million empty directories....

    	     	    	     	  - Ted




More information about the Ext3-users mailing list