[Fedora] Re: Alternatives to du
Alan Cox
alan at lxorguk.ukuu.org.uk
Tue Apr 10 16:26:52 UTC 2007
> this is exactly my problem I believe. I have a 4TB RAID SAN and the
> problem directory holds well over a million small files. Even a
> directory under that directory, du takes almost 40 minutes to total up 74GB.
The directory code in ext2 and ext3 isn't designed for a million files in
a single directory. Its a bizzare corner case. If you split the files
into subdirectories (eg by a hash) you'll get far saner numbers
More information about the fedora-list
mailing list