Once upon a time, Corey Kovacs <[email protected]> said:
> Kevin, thanks for the explanation. This coincides perfectly which what I am
> seeing.
> 
> Next question is, is there a way to clean up the TOC?

On ext* (and in fact, most Unix filesystems), directories never shrink.
The only way to clean it up is to move everything remaining to a new
directory and remove the old directory.  E.g. something like:

$ cp -al huge_directory foo && mv huge_directory old && mv foo huge_directory 
&& rm -rf old

As for the performance issue: are you really using ext2 and not ext3?
Newer versions of ext3 use directory hashing to speed up large directory
accesses (so that directory growth does not impact performance much).
-- 
Chris Adams <[email protected]>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to