mkfs.ext4 failing with "Invalid argument while creating root dir" when block size is greater than 4KB on Red Hat Enterprise Linux 6
Issue
-
mkfs.ext4 fail with below message:
# mkfs.ext4 /dev/mapper/VOLGROUP00-LOGVOL00 mke2fs 1.41.12 (17-May-2010) Filesystem label= OS type: Linux Block size=2097152 (log=11) Fragment size=2097152 (log=11) Stride=1 blocks, Stripe width=1 blocks 81920 inodes, 76798 blocks 3839 blocks (5.00%) reserved for the super user First data block=0 2 block groups 65528 blocks per group, 65528 fragments per group 40960 inodes per group Superblock backups stored on blocks: 65528 Writing inode tables: done ext2fs_mkdir: Invalid argument while creating root dir
Environment
- Red Hat Enterprise Linux (RHEL) 6.1
- Including e2fsprogs-1.41.12-7.el6
- Physical block size reported by the storage system is larger than 4KB
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
