Max file size on ext3?
Can you tell me, please, what the file size limit on ext3 is (should be, if any)?
Signature · 7 lines
Rafael J. Wysocki, SiSK [tel. (+48) 605 053 693] ---------------------------- For a successful technology, reality must take precedence over public relations, for nature cannot be fooled. -- Richard P. Feynman
Quoted 2 lines · R. J. Wysocki
Can you tell me, please, what the file size limit on ext3 is (should be, if any)?
Same as with EXT2.
In theory with 4k block size:
(4096/4)^3 * 4096 = 4 000 GB = 4 TB
(plus a bit more, but that is minor detail)
Your application must use LFS extensions, e.g.
open("filename", O_LARGEFILE, ..)and your "ulimit -f" must be "unlimited", otherwise you will encounter 2 GB limit of original ABI.
Another limitation that may come and bite you, is underlying block device capabilities. Prior to 2.6 kernels any block device can not exceed 1 TB size. (Or 2 TB, depending...)
Quoted 4 lines
Signature · 3 lines
Rafael J. Wysocki, SiSK [tel. (+48) 605 053 693]
/Matti Aarnio
Quoted 3 lines · R. J. Wysocki
Can you tell me, please, what the file size limit on ext3 is (should be, if any)?
Depends upon the block size.
Block size file size
1 kb 16 GB
2 kb 256 GB
4 kb 2048 GB
8 kb 2048 GB
Linux 2.4 limits single block device sizes to 2 TB.
Extracted from some information by haversain-ga on google.
Cheers,
Dick Johnson
Penguin : Linux version 2.4.24 on an i686 machine (797.90 BogoMips).
Note 96.31% of all statistics are fiction.