Red Hat Bugzilla – Bug 49986
mkfs.ext2 does not support an 8192 (8k) block size
Last modified: 2007-04-18 12:35:08 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
Description of problem:
Hi, I have a fresh RH 7.1 (2.4.2-2smp i686) install on a Compaq DL360 with
the embedded Smart Array controller.
I have partitioned the remainder of my disks with fdisk and rebooted. I
now need to setup my extra disks and filesystems with an 8k block size for
use with an Oracle database.
If I use mkfs.ext2 -b 8192 /dev/ida/c0d0pN it says 8192 is a bad block
I can successfully use mkfs.ext2 -b 4096 /dev/ida/c0d0pN.
I can also successfully use mkfs -V /dev/ida/c0d0pN which uses a 4k
filesystem blocksize by default.
Steps to Reproduce:
1.mkfs.ext2 -b 8192 /dev/<put your partition here>
Actual Results: mkfs.ext2: bad block size - 8192
No filesystem is created.
Expected Results: It should have created a new 8k block ext2 filesystem.
I suspect this is not RedHat specific, as I get the exact same problem
with SuSE 7.2 on the same hardware. you may have to check with the
Only up to 4K blocksize are supported.
Florian La Roche