Re: BIG files & file systems

From: Albert D. Cahalan (acahalan@cs.uml.edu)
Date: Fri Aug 02 2002 - 12:26:15 EST


Matti Aarnio writes:

> It depends on many things:
> - Block layer (unsigned long)
> - Page indexes (unsigned long)
> - Filesystem format dependent limits
> - EXT2/EXT3: u32_t FILESYSTEM block index, presuming the EXT2/EXT3
> is supported only up to 4 kB block sizes, that gives
> you a very hard limit.. of 16 terabytes (16 * "10^12")

You first hit the triple-indirection limit at 4 TB.
http://www.cs.uml.edu/~acahalan/linux/ext2.gif

> - ReiserFS: u32_t block indexes presently, u64_t in future;
> block size ranges ? Max size is limited by the
> maximum supported file size, likely 2^63, which is
> roughly 8 * "10^18", or circa 500 000 times larger
> than EXT2/EXT3 format maximum.

The top 4 st_size bits get stolen, so it's 60-bit sizes.
You also get the 32-bit block limit at 16 TB.

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



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:20 EST