Re: Max file size on ext3?
From: Matti Aarnio
Date: Tue Mar 30 2004 - 13:23:44 EST
On Tue, Mar 30, 2004 at 08:11:51PM +0200, R. J. Wysocki wrote:
> 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...)
> Rafael J. Wysocki,
> [tel. (+48) 605 053 693]
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/