The maximum number of files under a folder

Theodore Tso tytso at
Thu Mar 13 17:23:18 UTC 2008

On Thu, Mar 13, 2008 at 12:48:50PM -0400, John Nelson wrote:
> i think not more than 5k files without dir_index on. The max limit of 
> subfolders is 32k

There is no limit to the number of files in a folder, except for the
fact that the directory itself can't be bigger than 2GB, and the
number of inodes that the entire filesystem has available to it.  Of
course, if you don't have directory indexing turned on, you may not
like the performance of doing directory lookups, but that's a
different story.

						- Ted

More information about the Ext3-users mailing list