Re: max ext2 fs size

From: Matti Aarnio (matti.aarnio@sonera.fi)
Date: Fri May 19 2000 - 13:10:19 EST


On Fri, May 19, 2000 at 12:21:32PM +0100, Riley Williams wrote:
> Hi Matti.
> >>>> What is maximum EXT2 filesystem size ?
> > No. That is maximum FILE size, not FILESYSTEM.
>
> > In theory the EXT2 filesystem max size is 4G * blocksize.
> > ( 4 * 10^9 * 4 * 10^3 = 16 * 10^12 = 16 TB for 4k blocks. )
>
> I understand that on architectures with 8k pages, ext2 supports
> 8k blocksize. If so, you can double that and set the limit at
> 32 TB on such systems.

Yes. I was fairly carefull to use generic term "blocksize",
and then speak of one particular size (4k).

"man mke2fs" tells us:

       -b block-size
              Specify the size of blocks in bytes. Valid block
              size vales are 1024, 2048 and 4096 bytes per block.
              If omitted, mke2fs block-size is determined by the
              file system size and the expected usage of the
              filesystem (see the -T option).

So yes, 8k is possible in theory, but utilities don't allow it.

> > Practicalities begin to hit at various places:
>
> One practicality being the scarcity of 32 TB drives, I would
> presume...

No problem, have couple of layers of RAID controllers, things grow
all the sudden... For 32 TB one needs now about thousand disks
at the storage racks, 500 disks in 4Q2000, latter even less..

> Best wishes from Riley.
> * Copyright (C) 2000, Memory Alpha Systems.

/Matti Aarnio <matti.aarnio@sonera.fi>

-
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/



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:17 EST