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?