Re: What is max size of ext2fs?

ralf@uni-koblenz.de
Sun, 31 Jan 1999 10:08:22 +0100


On Sat, Jan 30, 1999 at 06:26:07PM -0500, Gregory Maxwell wrote:

> NO, this is CERTANTLY WRONG.
>
> I dont know the exact numbers (it was posted a bit back, do a search)
>
> But it depends on the Block size chosen (default is 1k but upto 4k is easy
> on x86 on 8k on alpha I recall) and the arch (32 vs 64 bit).
>
> 1TiB might be the lowest limlt (1k,32bit) but there is no reason not to
> format such a FS with 4k blocks.

There are different limits. We've got a limit for the size of block
devices and a limit given by the structure of ext2. The latter is given
by the 32bit pointers used in inodese and indirect block pointer blocks
etc. 32bit pointers == 4GiBlocks, 4GiBlocks * blocksize is therefore
the limit. The common blocksize is 1kb, so the ext2 limit is 4TB.

Ralf

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/