What is the maximum number of subdirectories allowed in Ext4? [closed]

杀马特。学长 韩版系。学妹 提交于 2019-12-10 12:42:28

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!