[LU-1388] Maximum Number of Files per Directory Created: 08/May/12  Updated: 08/May/12  Resolved: 08/May/12

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 1.8.7
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Roger Spellman (Inactive) Assignee: Peter Jones
Resolution: Duplicate Votes: 0
Labels: None
Environment:

1.8.x
2.1.x


Severity: 4
Rank (Obsolete): 6403

 Description   

Both the 1.8 and 2.1 manuals say the following in section 33.8.

Maximum Number of Files or
Subdirectories in a Single Directory
Lustre uses the ext3 hashed directory code, which has a limit of about 25 million files.
On reaching this limit, the directory grows to more than 2 GB depending on the
length of the filenames. The limit on subdirectories is the same as the limit on regular
files in all later versions of Lustre due to a small ext3 format change.

Is this still accurate? Isn't Lustre using ext4 by default, so shouldn't the limit be higher?

What is the limit now for 1.8.7 and 2.1.x ?

Thanks.



 Comments   
Comment by Liang Zhen (Inactive) [ 08/May/12 ]

for 1.8.7 and 2.1.x, the limit is still same with ext3/ext4.
ldiskfs of 2.2 can support larger directory (4-level htree which can support over a billion files under directory), but we need make some changes to e2fsprogs before you can use it.

We don't have plan to backport the ldiskfs patch from 2.2 to 1.8.x yet.

here is the tracking ticket: http://jira.whamcloud.com/browse/LU-1365

I guess we can just close this one and use LU-1365?

Comment by Peter Jones [ 08/May/12 ]

duplicate of LU-1365

Generated at Sat Feb 10 01:16:11 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.