I used Gparted to resize a ext4 partition but it fails. This is the command:
% resize2fs -p /dev/sdb5
resize2fs 1.42.13 (17-May-2015)
resize2fs: Filesystem has unsupported read-only feature(s) while trying to open /dev/sdb5 Couldn't find valid filesystem superblock.
I've been searching about this problem and I found similar issues in CentOS and Redhat for which it is recommended to use resize4fs (ext4). However this is not available for Ubuntu 16.04.
How could I tackle this problem?
resize4fs
. It appears that you are using a newer ext4 feature in which case, you need to use a newer release than 16.04 to resize it.