Re: File BlockSize

Alan Cox
2002-02-12T14:24:24Z

> Is there any way I can have 8K block sizes in ext2, reiserfs or ext3.

Buy an Alpha 8)

> I am trying to install Oracle on Linux with 8K DB_Block_size.
> But it gives me a Block size mismatch saying that the File BlockSize is only
> 4K
>
> Maybe, there is a kernel patch available which enables Linux to create 8K
> file blocks.

With current kernels the maximum block size of a file system you can mount
is the page size of the architecture. Generally people limit to 4K to avoid
file systems that only work with some machines.

Going to a block size bigger than page size causes all sorts of fun with
allocation failures if there are not two pages free adjacent to one another
when allocating, and isn't really worth the cost.

Alan