I've done that:
mkfs.ext4 -j -b 8192 /dev/sda3
Now I'm trying to mount it with:
sudo mount -t ext4 /dev/sda3 foo
But I'm getting this error:
mount: wrong fs type, bad option, bad superblock on /dev/sda3
What's the problem?
As I know, such huge block is not supported on x86 platform. The problem is: ext*fs is based on generic VFS framework and it can't work when block size is greater than page size (4096 on x86). On Itanium and other exotic architectures with > 4KB memory pages (but not on x86/x86_64 with 2MB or 4MB pages) such blocksize may work. The same problem in linux is with ufs2 with fragment size > 4096.
Citing answer from "Andreas Dilger"
For UFS2 there is an explicit check for
Basically you need not to set so huge blocksize for ext4, if extents are enabled. Extents are very like huge blocks for huge files. With extens you will have more performance and less fragmentation, but they are unsupported (not backward compatible) in older Linux kernels or some older drivers for third OSes, like Windows.