Jira Attachments on linux ext2 and ext4

Sridhar Nimmagadda July 15, 2012

Hi,

I have jira installed in linux(RHEL 5) with ext3 file system, i have to import a project with >100,000 attachments, i am not able to bring it up on linux because ext3 filesystem has 32000 subdirectories limit and ext4 filesystem has 64000 subdirectories limit.

do I have an alternative other that moving to windows (NTFS) which has no practical limit.

thanks

Sridhar

2 answers

1 accepted

1 vote
Answer accepted
Sridhar Nimmagadda October 9, 2012

With RHEL6.1 and ext4 filesystem you can create any number of subdirectories

0 votes
Andy Brook [Plugin People]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 15, 2012

Ext4? http://en.wikipedia.org/wiki/Ext4

Increasing the 32,000 subdirectory limit

In ext3, a directory can have at most 32,000 subdirectories. In ext4, this limit increased to 64,000. You can increase this limit, by using the "dir_nlink" feature (but the parent's link count will not increase). To allow for larger directories and continued performance, ext4 turns on Htree indexes (a specialized version of a B-tree), by default. This feature is implemented in Linux 2.6.23. In ext3, you can use Htrees, by enabling the dir_index feature.

Suggest an answer

Log in or Sign up to answer