Re: ext4 and extremely slow filesystem traversal
"Theodore Ts'o" <[email protected]> Wed, 13 Mar 2013 16:52:10 -0400
| Newsgroups | gmane.comp.file-systems.ext3.user |
|---|---|
| Message-ID | <[email protected]> |
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