Re: Help! Too many links - #define EXT2_LINK_MAX 32000 ?

From: Chris Mason (mason@suse.com)
Date: Sun May 07 2000 - 20:51:02 EST


On Sun, 7 May 2000, Manfred Spraul wrote:

> apmail@modperlhelp.com wrote:
> >
> > OK, I ran into unexpected brick wall with our fast growing internet
> > service internettrash.com
> >
> Can you use symlinks?
> There's a limit of 32000 subdirectories in each directory, but AFAIK
> there's virtually no limit on the number of files in a directory.
>
> But ext2 is slow with thousands of entries in one directory, you should
> definitively use subdirectories and mod rewrite.
>
> Or try reiserfs, they have optimized their filesystem for lots of
> entries in one directory.
>
ReiserFS is still limited by the 16 bit link count for directories, so you
can't have more than around 65,000 subdirectories with the same parent.

-chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:21 EST