filesystems - Mounting ext4 mounts as ext2 in linux 4.4.0 [RHEL] -


commands executed

mkfs .ext4 -f /dev/xxx0

mke2fs 1.42.9 (28-dec-2013) filesystem label= os type: linux block size=4096 (log=2) fragment size=4096 (log=2) stride=0 blocks, stripe width=0 blocks 524288 inodes, 2097152 blocks 104857 blocks (5.00%) reserved super user first data block=0 maximum filesystem blocks=2147483648 64 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group superblock backups stored on blocks:         32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632  allocating group tables: done writing inode tables: done writing superblocks , filesystem accounting information: done 

mount -o dax /dev/xxx0 /mnt/ext4-xxx0

mount output

/dev/xxx0 on /mnt/ext4-xxx0 type ext2 (rw,relatime,seclabel,block_validity,barrier,dax,user_xattr,acl) 

dmesg output

[ 2917.044866] ext4-fs (xxx0): dax enabled. warning: experimental, use @ own risk [ 2917.044869] ext4-fs (xxx0): mounting ext2 file system using ext4 subsystem ... ... [ 2917.045459] ext4-fs (xxx0): mounted filesystem without journal. opts: dax 

which subsequently results in failure of fallocate, ext2 not supported fos ext2.

any suggestions/solution appreciated.

provide type ext4 while mounting. or else take default type (or) type mentioned in /etc/fstab.

# mount -o dax -t ext4 /dev/xxx0 /mnt/ext4-xxx0 

Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -