resize2fs: Filesystem has unsupported feature(s) while trying to open

Tried to use resize2fs on a logical volume after expanding it and gave the error that couldn’t find a valid filesystem superblock and filesystem has unsupported features.

root@linux:~ # resize2fs /dev/mapper/vg00-tmpvol
resize2fs 1.39 (29-May-2006)
resize2fs: Filesystem has unsupported feature(s) while trying to open /dev/mapper/vg00-tmpvol
Couldn’t find valid filesystem superblock.

Check if the filesystem is ext4

root@linux:~ # mount | grep tmpvol
/dev/mapper/vg00-tmpvol on /tmp type ext4 (rw)

Use ext4 version of the tools: tune4fs, resize4fs

Advertisement