13

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:

Unlimited:

What is the correct answer, and how can I determine the correct answer from the ext4 source?

Community
  • 1
  • 1
meawoppl
  • 2,714
  • 1
  • 23
  • 30

1 Answers1

11

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

JerryJJ
  • 126
  • 1
  • 4
  • 1
    In the (second) link that you are referencing, I's saying that it's 65,000 and not 64.000. Maybe it changed since 2014 but I'd rather update the accepted answer. – Slim Aloui Sep 23 '20 at 09:29