vote up 0 vote down star

Now, I have any 20,000 files in single directory. How many maximum files per directory on CentOS 64bit ext3?

flag

migrated from stackoverflow.com

2 Answers

vote up 3 vote down

The number of files in a directory is limited primarily by the maximum file size, divided by the size of a directory entry. As the maximum file size is in the terabytes range, there is no practical limit on a directory size. Depending on what ext3 features you use, performance may degenerate as the directory grows larger.

There is a limit of 32000 subdirectories.

link|flag

Your Answer

Get an OpenID
or
never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.