[Fedora] Re: Alternatives to du

alan alan at clueserver.org
Tue Apr 10 16:27:50 UTC 2007


On Tue, 10 Apr 2007, Alan Cox wrote:

>> 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

I think you meant "coroner case". ]:>

-- 
"Invoking the supernatural can explain anything, and hence explains nothing."
                   - University of Utah bioengineering professor Gregory Clark




More information about the fedora-list mailing list