问题
I am considering moving my ext3 partition to ext4 in order to overcome the 32000 subdirectory limit. I have seen two different numbers thrown around about the limits of ext4, both from reputable sources:
Limit of 64,000:
- ext4.wiki.kernel.org
- SO ServerFault
Unlimited:
- Kernel Newbies
- Kernel.org
- SO SuperUser
What is the correct answer, and how can I determine the correct answer from the ext4 source?
回答1:
The limit is 64000. Until you enable the file system feature flag dir_nlink
http://man7.org/linux/man-pages/man5/ext4.5.html
http://www.ispexperts.com.np/?p=797
来源:https://stackoverflow.com/questions/22775011/what-is-the-maximum-number-of-subdirectories-allowed-in-ext4