Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a bunch of RHEL/OEL Apache VMs (on ESX 3.5) hardware load-balanced into a little http file farm. I need to expand the dataset they're serving from 1TB to 10TB and although I can use OCFS2 and LVM to make it actually work I'm a bit worried about running into any limitations that I'm currently aware of. In particular I'm worried about LUN sizes that LVM is happy to deal with and also the number of files OCFS2 will support in a directory and also per volume. I've looked around in the obvious places but does anyone have any practical experience of this area?

Thanks in advance.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Supposedly, there is no such limit. The index is supposed to handle any number of files up to the maximum available blocks, even if they are all in the root.

However, if I remember correctly, the allocation bitmap is fixed to 2^20 bytes. So a single OCFS2 filesystem can only contain 8,388,608 files.

The maximum volume size for OCFS2 is 16 TiB on 32-bit and 4 PiB on 64-bit platforms.

The maximum logical volume size for LVM2 is 16 TiB on 32-bit platforms, and 8 EiB on 64-bit platforms.

share|improve this answer
    
Thank you, thank you very much. –  Chopper3 Nov 12 '09 at 21:51
1  
Don't mention it, sorry you had to wait two months for an answer. –  Roy Nov 12 '09 at 21:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.